Commit Graph

23 Commits

Author SHA1 Message Date
Kurt
6b678ac704 Add snap to grid for field items, upgrade handle extensions: delete tile
Setting a field item with the snap active will align it to the major gridlines. This will prevent the user from setting un-interactable objects (rocks, trees) unintentionally.

Having the auto-handle extension tiles will now delete all associated tiles when issuing a delete command on an extension tile, rather than just deleting the extension tile.
2020-05-16 12:03:21 -07:00
Kurt
a4b4a3c24a Add water flower button
control: all water states
shift: all map (instead of current viewport)

Closes #230
2020-05-16 11:30:25 -07:00
Kurt
b0870c865a Add design tile clear button for terrain editor
not visualized, but still exposed for mass clear

Closes #208
2020-05-13 12:43:04 -07:00
Kurt
6fe7e4e53a Add road tile detail copy
Copies only the road portion of the terrain tile, not the ground detail.
Closes #203
2020-05-12 15:22:39 -07:00
Kurt
5a22c0e58a Add missing terrain event handlers 2020-05-12 10:34:56 -07:00
Kurt
6ae1c9724b add click-drag on acre picturebox to move the viewport
hold control to drag the viewport faster

does not move items; that would probably have to be a toggle -- if ever implemented
2020-05-10 14:13:45 -07:00
Kurt
6dc5e0c362 Uncheck acre snap by default for reticle placement 2020-05-10 12:20:38 -07:00
Kurt
8beb1c426c Add view option to read root instead of a clicked extension
enabled by default

viewing an extension will calculate where the root node is (based on the extension values) and load it instead, only if the item ID matches. bounds check to be 100% safe from ppl placing random/bad extension tiles
2020-05-09 22:09:36 -07:00
Kurt
000da2cbb6 Misc tweaks
Fix bottom acre row labeling for MapAcre stuff
Don't close png dropdown on checkbox click
Don't change map reticle position on map right click (only left click)
2020-05-09 20:11:22 -07:00
Kurt
826ba00fcd Allow toggling png export
why not; I guess if you don't want the items/reticle and want dat clean "here's my terraforming work"
2020-05-09 17:32:15 -07:00
Kurt
a12278d148 Add outside/field template tracker editing 2020-05-09 17:13:31 -07:00
Kurt
74bf1d4cef Merge acre editor into field item editor 2020-05-09 17:03:58 -07:00
Kurt
8661f7c0cc Use Item Editor instead of property grid
Closes #151
2020-05-08 13:27:29 -07:00
Kurt
203a7c1627 Add more removal options
- remove flowers
- remove shells
- remove branches

Closes #163

rename plazaX/Y to match internal field name
2020-05-05 17:17:59 -07:00
Kurt
3ec69afe6b Show terrain tile type, add slider for transparency adjust 2020-05-02 23:57:43 -07:00
Kurt
adf9b43bc0 Add transparency slider for buildings 2020-05-02 23:25:14 -07:00
Kurt
4690cfe167 Refactoring: Field Item Editor + buildings/terrain
Extracts logic from the building & terrain & field item editors for reuse / separation of concerns

Have FieldItemEditor select between Items & Terrain so that you can change the popup menu mode (view set delete)

Not sure how I want to show the terrain names...
2020-05-02 20:05:09 -07:00
Kurt
1dbf1e9338 Put all "remove {X}" into dropdown button list
Clamp hover coordinates to sane values
2020-05-02 15:52:44 -07:00
Kurt
ef065f889b Add checkbox to toggle auto-extension behavior, clamp map bounds 2020-05-02 14:41:32 -07:00
Kurt
c25cd262d4 Add automatic delete/set of extension tiles from root
Setting a root tile: will fill in the extension tiles
Deleting a root tile: will delete all extension tiles (it assumes extension tiles are valid)

Add checkbox to prevent overwriting tiles that aren't none (eg if you set a 4x4 and it'd overlap with a 2x2, the program would play a sound indicating that the requested operation was disallowed).

Closes #136 -- multi-select with the current drawing setup isn't really feasible. Bulk set/delete addresses the underlying request.
2020-05-02 00:20:44 -07:00
Kurt
33b9e7f170 Show terrain map behind field item view
Adds a transparency slider to have the field items fade so you can see the underlying terrain tile.

Not really optimized (allocates every time), but it should be fine for now.

Make the None item transparent, so that the entire map bleeds through (clear clarity).
2020-04-28 21:08:57 -07:00
Kurt
c9a86cbff9 Add program translation
jp/en/zh -- only english has been translated (duh)
keep in mind this translates the text in the program, not the internal flag names.

not sure if other languages need to be supported; from PKHeX's experience, only spanish is updated (besides jp/zh), as most users speak english or are fine using the program in english.

pls localize villager names and item names for non-english :P -- preferrably automated from raw game dumps
2020-04-21 14:26:18 -07:00
Kurt
59c0c27737 Move sub-editors to separate folders by type
Don't cherrypick this commit; won't compile (next commit will work)
2020-04-18 11:09:32 -07:00