Commit graph

1600 commits

Author SHA1 Message Date
yenatch
6cb394ebde
Merge pull request #26 from huderlem/exportpic
Add ability to export map image
2018-03-04 22:07:18 -05:00
Marcus Huderle
6112b279c8 Add 'export map image' action to File menu 2018-03-04 18:49:33 -08:00
yenatch
d667a0caad
Merge pull request #25 from huderlem/grid
Add map grid toggling
2018-03-04 21:37:48 -05:00
Marcus Huderle
eeaa347f17 Add checkbox to toggle grid lines 2018-03-04 17:15:30 -08:00
Marcus Huderle
47ce60cbe1 Display grid lines on map editor 2018-03-04 16:14:09 -08:00
yenatch
6bb945d798
Merge pull request #24 from huderlem/coords
Display hovered map tile and block info
2018-03-04 15:12:59 -05:00
Marcus Huderle
2dfcab7a47 Allow collision and elevation tiles to handle hover events individually 2018-03-04 10:49:44 -08:00
Marcus Huderle
4f838b979c Display hovered block selection in status bar 2018-03-04 10:19:03 -08:00
Marcus Huderle
f81ab6994a Display hovered tile coords and block in status bar 2018-03-04 00:09:34 -08:00
yenatch
470fc92fba
Merge pull request #23 from huderlem/items
Populate items, flags, and vars in dropdown menus
2018-03-03 21:03:13 -05:00
Marcus Huderle
af4dc34eba Evaluate C define expressions using postfix evaluation, and rename 'asm' to 'parseutil' 2018-03-03 17:09:05 -08:00
Marcus Huderle
d87d5e6f00 Remove the reverse song constant lookup 2018-03-03 12:20:59 -08:00
Marcus Huderle
669c81b50b Populate flag and var dropdown menus with their respective constants 2018-03-02 21:59:24 -08:00
Marcus Huderle
2bc949612d Populate hidden item dropdown menu with item constants 2018-03-02 19:56:23 -08:00
Marcus Huderle
38360de140 Update map object filepath 2018-03-02 19:55:55 -08:00
yenatch
ce49e788ec
Merge pull request #20 from huderlem/maps
Support adding new maps
2018-02-18 17:14:54 -05:00
Marcus Huderle
b39f44c6d0 Small cleanup 2018-02-18 10:32:30 -08:00
Marcus Huderle
c61b8a9b18 Save map constants header based on the current map group data 2018-02-18 09:43:29 -08:00
Marcus Huderle
e4c5d53ffd Maintain master and working copies of data structures, to enable saving single maps at a time 2018-02-17 22:11:47 -08:00
Marcus Huderle
17e5892cd4 Save map groups file 2018-02-17 16:36:19 -08:00
Marcus Huderle
43e15dfb0e Save collateral files when creating a new map 2018-02-17 16:07:19 -08:00
Marcus Huderle
bcc74b4461 Add newly created map into global mapAttributes map 2018-02-17 15:16:42 -08:00
Marcus Huderle
a9d71d15f8 Save all map attributes to _assets file 2018-02-17 14:50:20 -08:00
Marcus Huderle
50fc906971 Parse all map attributes from _assets into memory 2018-02-17 13:00:15 -08:00
Marcus Huderle
5c0f628f0d Build new maps in memory, rather than immediately writing to files 2018-02-15 20:15:25 -08:00
Marcus Huderle
40a0fbee02 Load and save the gMapAttributes array 2018-02-15 18:38:19 -08:00
Marcus Huderle
f6cb002592 Write files on add map functionality. Still need to address gMapGroups 2018-02-14 22:31:23 -08:00
Marcus Huderle
3fcad085c3 Add new map to group that was selected (UI functionality only) 2018-02-14 20:33:55 -08:00
Marcus Huderle
794b814c47 Add right-click context menu for map groups 2018-02-13 21:01:42 -08:00
yenatch
7f761a5051
Merge pull request #3 from huderlem/maps
Fix map connections, warps, and map event saving
2018-02-12 21:53:19 -05:00
Marcus Huderle
d7700b1791 Fix crash that was caused by out-of-bounds metatile tiles 2018-02-12 16:20:41 -08:00
Marcus Huderle
631dac5839 Add Qt Creator .autosave files to .gitignore 2018-02-12 13:53:38 -08:00
Marcus Huderle
9274796d65 Support bg_secret_base_event 2018-02-12 13:47:50 -08:00
Marcus Huderle
c3d0769967 Support bg_hidden_item_event 2018-02-12 13:29:45 -08:00
Marcus Huderle
22722f09c7 Support coord_event_weather 2018-02-12 13:12:47 -08:00
Marcus Huderle
7594fbf3ed Only write out a map event label if there are actually events to write for its section. Otherwise, you end up writing invalid labels to file, such as '0x0'. 2018-02-12 09:21:44 -08:00
Marcus Huderle
0e268f9ede Fix warp map destinations (both loading and saving) 2018-02-12 09:20:18 -08:00
Marcus Huderle
d7756865a9 Fix map connections.
Since map constants can be inferred from map names, but not the other
way around, create a mapping between map constants and map names and use
that to find the connected map.
2018-02-12 08:44:03 -08:00
yenatch
0452156372
Merge pull request #2 from huderlem/filepaths
Fix songs and map obj gfx
2018-02-12 01:10:27 -05:00
Marcus Huderle
a38528afa3 Fix filepaths for map object gfx data 2018-02-11 19:25:25 -08:00
Marcus Huderle
07fa705b03 Fix reading map obj gfx constants 2018-02-11 19:20:29 -08:00
Marcus Huderle
26d4f234aa Fix reading songs 2018-02-11 19:05:55 -08:00
Marcus Huderle
67e5b40b4b Add .gitignore 2018-02-11 17:36:03 -08:00
yenatch
9faf7f245a
Merge pull request #1 from huderlem/history
Fix/Improve History
2018-02-11 20:31:10 -05:00
Marcus Huderle
dfc990f0da Add a current() method to History, so that consumers don't need to worry about bounds checking. 2018-02-11 17:21:33 -08:00
yenatch
91008b9f76 readme 2018-02-11 14:34:12 -05:00
yenatch
4ecdaa0617 field_map_obj.c moved 2018-02-11 14:34:12 -05:00
yenatch
8d42df5e33 add behavior/radius fields 2018-02-11 14:34:12 -05:00
yenatch
11212dc640 lots of changes 2018-02-11 14:34:09 -05:00
yenatch
2246ead5a8 Initial commit 2016-09-29 02:35:29 -04:00