Closes#190
I checked one of my more recent save files and noticed that bits for remake indexes 2,000+ were set. Not sure why there's 8000 remake sets allocated... Maybe they're using the data there for other unlocks / values. Dunno!
Replace '8' with ItemRemakeInfo.BodyColorCountMax for documentation clarity
10_0000th bit of Flag0 is to indicate if an item was dropped rather than placed (dropped clothing vs clothing on display)
treat dropped items and buried item sizes as 2x2 (1.0x1.0) rather than their placed sizes
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
Different means of expression for the 8 byte item structure's FreeParam
Will be expanding the ItemEditor so that it has a checkmark to toggle Extension Item editing behavior.
Removes IHeldItem as there's no need to abstract it.
#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...?
Similar to main's adaption in a prior commit, let's use the relative offsets.
adds total nook miles earned to editor
fixes the off-by-one indexing for achievement list
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.
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
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...