Commit Graph

86 Commits

Author SHA1 Message Date
Kurt
aa970f1eab Add main (land) event flag editing
Can turn easter on/off, ha
maybe when they patch in new events ahead of time, we can turn them on early?
2020-04-20 11:31:00 -07:00
Kurt
d21b99978a Add player & villager house dump/load
share your house, but not your toothbrush!
2020-04-19 16:23:59 -07:00
Kurt
5d51cf65df rename some classes to match internal naming 2020-04-19 15:26:20 -07:00
Kurt
4fa77c9242 Minor unused additions
add some villager stuff
add outside acre template id
add mainfield template id
2020-04-19 15:26:09 -07:00
Kurt
0e437bd5d1 Extract villager editing to separate control 2020-04-19 12:12:29 -07:00
Kurt
31dd3e04bc Update Villager.cs 2020-04-19 11:27:58 -07:00
Kurt
aff52ce842 Make building structure explicit layout, add unk->usage
9c0648c0b7/savefile/save_schema_120_109_pseudoC.h (L967)
2020-04-19 11:27:26 -07:00
Kurt
2e64f0b109 Add villager flag editor + moving out state toggle 2020-04-18 11:11:25 -07:00
Kurt
be0a456067 Decrypt savefile in-place (less allocation)
Each player and main.dat is ~11MB of allocation to read; old would read & decrypt into separate array = 22MB * (1 + playerCount). Cutting this in half reduces the amount of allocation and keeps stuff off gen2 LOH
2020-04-17 14:00:34 -07:00
Kurt
14bbc73481 Verify sizes on load 2020-04-15 10:14:48 -07:00
Kurt
d89a7245e0 Add more field item mass-editing buttons
Closes #75
2020-04-14 15:20:08 -07:00
Kurt
2210f6e6fc Add Building List Dump/Import
Doesn't include plaza; if you're sharing details, just share the coordinates via text.
2020-04-13 16:53:38 -07:00
Kurt
0fbae15dd6 Clarify turnip times 2020-04-12 20:32:41 -07:00
Kurt
da955be606 Show X on buried items root 2020-04-11 11:57:28 -07:00
Kurt
95df4e9c53 Default to internal name if empty
Closes #69
2020-04-11 09:52:55 -07:00
Kurt
3ab70d593f Add remove plants / remove all 2020-04-10 12:50:08 -07:00
Kurt
9d2010a285 Extract shared interface 2020-04-09 11:43:30 -07:00
Kurt
a87cb512a6 Show all properties of field items
TIL that you can prefix FieldOffset with "field" so that you can have it be a getter/setter (interfaces! properties!)
2020-04-09 10:49:10 -07:00
Kurt
6df2fc1b04 Add remove weeds/holes 2020-04-09 09:41:21 -07:00
Kurt
b0fa8c93f3 Add FieldItemDefinition fetch 2020-04-09 09:27:48 -07:00
Kurt
8ac4dc4d0e Add hover to show item name 2020-04-07 15:37:26 -07:00
Kurt
91f8881808 Add Field Item viewer
Layer 1 only, no tile mutation capability for now. Can still move things around / delete.
2020-04-07 15:25:34 -07:00
Kurt
92e4c9b8f7 Visualization fixes 2020-04-07 13:40:49 -07:00
Kurt
25a162c187 Add more fielditem manipulation logic
32x32 because we have 2x2 metatiles -- items can be placed at half-coordinates relative to tile coordinates.
2020-04-07 11:25:27 -07:00
Kurt
2ce535c67c Refactoring
Move sprite resources to subfolder for organization
Add FieldItem class (replaces MapItem), might work in a field item editor (similar to building editor)
2020-04-07 10:19:58 -07:00
Kurt
6ecf659d5e Add special handling for diy recipe 2020-04-06 20:11:35 -07:00
Kurt
5293ec594a Refactoring
Rename some variables
2020-04-06 14:57:37 -07:00
Kurt
0f28da8b2f Extract some grid logic to its own class
Name it more clearly so that the intent is there
2020-04-06 14:37:40 -07:00
Archit Date
bcd8e422ec Merge branch 'master' of https://github.com/kwsch/NHSE 2020-04-06 15:02:43 +08:00
Archit Date
8014991dee add 1.1.4 support
just a revision bump
2020-04-06 15:02:29 +08:00
Kurt
fc3276ca99 Add plaza coordinates to building editor
How exactly to plot the coordinates???
2020-04-05 12:04:28 -07:00
Kurt
92959fba6a Fix wallet offset
e2b4c6ac49
ty @Cuyler36 for letting me know the correct offset
2020-04-04 15:53:28 -07:00
Kurt
b71b040a3a Remove unused logic, add test case 2020-04-04 15:47:57 -07:00
Kurt
8b324651e1 Enhance building editor (show map & value names) 2020-04-04 13:16:45 -07:00
Kurt
62e514f879 Add structure enums 2020-04-04 00:10:54 -07:00
Kurt
8516df6116 Unlock terrain viewport from acre snapping
Add checkbox to flip between snap / no-snap
2020-04-03 20:34:32 -07:00
Kurt
12ee9e0bab Add EventFlagsPlayer editing 2020-04-03 18:36:26 -07:00
Kurt
ea5482cfc9 Verify encrypted ints on read
throw an exception if corrupt
2020-04-03 17:44:44 -07:00
Kurt
8202ce1da6 Fix dump/import tiles 2020-04-03 13:33:49 -07:00
Kurt
8b3c650eff Add Terrain editor
most complex editor yet

could be better if I did PictureBox'es instead of buttons, so I could put an image instead of just color

ppl will have to document more on what each terrain looks like, maybe could show a pic of each terrain tile?
2020-04-03 12:12:21 -07:00
Archit Date
76430aa49e add 1.1.3 support 2020-04-03 14:27:12 +08:00
Kurt
c7a366a4c7 Add field item metadata
add dumpers to dump project
2020-04-02 15:38:37 -07:00
Kurt
f3d291e681 Merge flag2 back in to count
ok sciresm u happy now
2020-04-02 15:38:08 -07:00
Kurt
99e4f59d2f Add Outside Acre editing
what a busy form (so many controls)

Has option to import/export bytes so people can share their exterior acre layouts
2020-04-02 10:42:40 -07:00
Kurt
e70d2b71d8 Add some map item code
no functions, just exploration
2020-04-02 08:08:05 -07:00
Archit Date
469e876446 add support for v1.1.2 2020-04-02 19:04:12 +08:00
Kurt
c9c30d76ee Add turnip exchange edits
values assumedly get updated every sunday, and only take effect when you restart the game (or pass over a time threshold?)
stonks
2020-04-01 20:39:00 -07:00
Kurt
0baac3751f Minor clean 2020-04-01 19:51:10 -07:00
Kurt
d080668b19 Add EasterEgg kind, update recipe list 2020-04-01 11:53:54 -07:00
Kurt
828b560e5e Extend recipe max for v1.1
the whole array is probably 0x100 bytes (max recipe ID 0x800), but we can clamp things by only reading a certain amount

(dump RecipeCraftParam.bcsv and add the bunny craftables to the recipe list...)
2020-04-01 10:44:30 -07:00