Commit Graph

32 Commits

Author SHA1 Message Date
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
3061442f77 Add localized color name display
Closes #223
2020-05-15 13:08:47 -07:00
Kurt
d96be66022 Add description for unused reaction entries
https://pastebin.com/iD9SrFNf
ty idk
2020-05-15 11:39:13 -07:00
Kurt
71be1fc419 Enum visiting NPCs
magic numbers no more
ty irc guy
2020-05-14 22:31:20 -07:00
Kurt
ffa0d3612b Add island visitor editor
Make daily NPCs show up reliably!
2020-05-14 09:12:38 -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
56c1cc31da Add additional property accessors for room
unused in logic
2020-05-13 12:17:10 -07:00
Kurt
d22ac35f73 Add Museum Editor
game stores all donation types in the same array (chunked into date[], item[], playerID[]); no dedicated indexes for a donation, so no empty slots, and all donation types are intermixed (based on donation date)
2020-05-12 22:55:26 -07:00
Kurt
902dd90dc9 Remove hardcoded map dimension properties
we can refer to MaxWidth/MaxHeight instead
2020-05-11 23:13:40 -07:00
Kurt
f50071c0be Rework houses to expose more details 2020-05-11 22:20:21 -07:00
Kurt
60faecdc69 Refactoring
move files, abstract some logic for later reuse
2020-05-11 22:14:27 -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
801db3e130 Add exterior acre pixel dumper, show exterior acres on Field Item editor
980KB -> 12KB when compressed, seems legit

just an array of tile definitions (32x32 style), sequential acres (undefined acres are all zeroed)

tiles aren't displated as granular as possible, only sets as 16x16 tiles instead of larger 32x32, but it should be a good enough color hint to people for editing

big thanks to ninji for the color mapping in his disassembly and the pbc->tile parse
2020-05-09 16:15:37 -07:00
Kurt
60f3fa84a3 Add more misc edits
Closes #179
Not allowing people to import a jpeg.
2020-05-09 09:39:35 -07:00
Kurt
56fd88cabb Use combobox for airport color w/color names
Closes #180 ty @MirayXS for the list of color IDs
2020-05-09 08:36:06 -07:00
Kurt
07e393177f add initial exterior acre pixel calculation
no functional changes to NHSE
2020-05-09 08:31:46 -07:00
Kurt
d5a53de265 Add airport color r/w
Closes #176
if anyone wants to document which value = which color, pls report back
2020-05-08 21:01:22 -07:00
Kurt
86da243405 Add birthday & fg
#164
2020-05-08 20:34:18 -07:00
Kurt
8e4e0a92f8 Add reaction list editor
#167

If you're adding reactions, you should probably set FillReactionList in player flags to 44 so that the game knows to not give you more reactions...?
2020-05-07 22:13:31 -07:00
Kurt
8d695cd8ed Add reaction list
ty @Lusamine
2020-05-07 21:41:14 -07:00
Kurt
f9d9103039 Add reaction list get/set
pls gib ui soon :)

need to translate these values (byte) -> reaction names (enum)
2020-05-07 19:37:48 -07:00
Kurt
6a98054149 Add hemisphere get/set
ty @rydoginator
2020-05-07 18:06:31 -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
4a49caf6da Add layer2->layer1 check (isSupported), add logic for isActive
isActive: indicates if the tile is animated (eg: bonfire has fire or is extinguished)
isSupported: layer2 tile checks beneath it (layer1) to see if there's something to hold it up on that layer (sanity check)

Dunno how to handle the isActive set-on-save. I saw there was an isActive flag in my plaza, assumedly left there from a radio or something. NHSE does not change flag state at this time.
2020-05-03 16:29:28 -07:00
Kurt
928e699168 misc performance improvements
Preallocate the terrain-building objects and reuse

changed:
- grid alternates with a slightly-darker to help indicate the larger 2x2 tile grid.
- put plaza & buildings behind the gridlines
2020-05-02 23:02:37 -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
34c9742bce Split many-struct defines into separate files 2020-05-01 22:06:28 -07:00
Kurt
8fefa220e5 Add simplistic bulletin board editor
Closes #144
Need to understand the Image format before a full-blown editor could be made.
2020-05-01 20:17:23 -07:00
Kurt
7c7a4fe86f Allow mutating the player house item (door, etc) 2020-05-01 19:28:24 -07:00
Kurt
b203cd782a Fix bbs structlayout, Add getter for bulletin 2020-04-30 23:42:34 -07:00
Kurt
ca0545809c Add bulletin board logic 2020-04-30 23:12:58 -07:00
Kurt
3a68919325 Add Last Saved Time, display at top of window 2020-04-21 11:17:34 -07:00