summaryrefslogtreecommitdiff
path: root/pokemontools/map_editor.py
AgeCommit message (Collapse)Author
2016-08-24Fix most Python 3 compat issues with futurize --stage1Eevee (Lexy Munroe)
2014-10-02map_editor: Fix automatic graphics decompression.yenatch
2014-10-02Fix the map editor.yenatch
The map editor can now be invoked in ipython: import extras.pokemontools.map_editor as ed app = ed.init() Then <app> can be modified on the fly to make up for lacking functionality. Also see app.map.crop(). Now works with all maps in both Red and Crystal. The version defaults to Crystal. To use with pokered, invoke from the command line: python extras/pokemontools/map_editor.py red Or in ipython: import extras.pokemontools.map_editor as ed app = ed.init(version='red') Also displays connections, but they're unaligned.
2014-02-06Merge branch 'kanzure/master' into merge-old-commitsyenatch
Conflicts: pokemontools/map_editor.py
2013-12-29map_editor: allow saving new maps + save file dialogyenatch
saves to newmap.asm by default
2013-12-23map_editor: read rgb macros instead of binary data for palettesyenatch
also fix tileset graphics handling
2013-11-30map_editor: to_png got renamedyenatch
2013-11-19return constants after parsingBryan Bishop
2013-11-17remove two unused methods from map_editor.pyBryan Bishop
2013-11-17call it button_new instead of newBryan Bishop
"new" is sometimes a reserved keyword and it would be nice to not use that name.
2013-11-17clean up more imports in map_editor.pyBryan Bishop
2013-11-17also import TclError into map_editor.pyBryan Bishop
2013-11-17replace print with python loggingBryan Bishop
2013-11-17use explicit import of Tkinter componentsBryan Bishop
2013-11-17fix up map_editor.py extra newlinesBryan Bishop
2013-11-17only set global constants for evalBryan Bishop
Although I am not sure that using eval is a good idea in the first place... it should go away.
2013-11-17factor out global configs in map_editor.pyBryan Bishop
2013-11-17move import statements to top of map_editor.pyBryan Bishop
2013-11-17tabs to spaces in map_editor.pyBryan Bishop
This is to maintain consistency in python source code formatting in the project.
2013-11-17fix configuration import line in map_editor.pyBryan Bishop
2013-09-26Merge branch 'yenatch/map-editor' into masterBryan Bishop
Conflicts: pokemontools/crystal.py Fixes #40.
2013-09-26map_editor: create any pngs that don't exist yetyenatch
2013-09-26map_editor: skip any nonexistent tiles in map renderingyenatch
2013-09-26map_editor: more flexible macro handlingyenatch
makes less assumptions about the structure of a header
2013-09-26Revert "tabs to spaces (pep8)"Bryan Bishop
This reverts commit 9bea14db798eedcb262d17562a37b1f337fb67eb. Conflicts: pokemontools/map_editor.py
2013-09-26refactor a global constant to be set in __init__Bryan Bishop
2013-09-26put the tk loop into __main__Bryan Bishop
2013-09-26minor formatting fixBryan Bishop
2013-09-26tabs to spaces (pep8)Bryan Bishop
2013-09-26use config instead of configurationyenatch
this was kind of overzealous
2013-09-15map_editor: red: read tileset gfx filenames from sourceyenatch
2013-09-14barely-working map editoryenatch
works with both pokecrystal and pokered version is crystal by default