Commit Graph

58 Commits

Author SHA1 Message Date
Kurt
b319defe75 Initial changes
not working yet, need save disassembly for correct offsets and need to update strings
2020-09-29 18:49:18 -07:00
berichan
cba0abda72
ItemRemakeInfo: Ensure body values are compiled correctly. (#384)
* ItemRemakeInfo: Ensure body values are compiled correctly. Add x86 option for debugging only

* remove useless line
2020-08-22 16:27:08 -07:00
Kurt
ae3742ad1f Avoid infinite loop if an invalid extension tile is set 2020-08-05 14:47:49 -07:00
berichan
9872d8278d
Updated specs, de list and menuicon (#368) 2020-07-30 18:11:33 -07:00
Kurt
da06fd4c46 Interim parse update and load/save
Offsets are placeholder for now until cylindricalearth is updated with the new offset parse
2020-07-29 19:21:20 -07:00
berichan
edcd6b7f17
Added MenuIcon for all items (#354) 2020-07-18 16:04:53 -05:00
Kurt
c0d916f0c6 Update some stuff (not saves) 2020-07-02 20:38:24 -05:00
Kurt
4db8435e7b Add Clear options to delete only certain types
Closes #304
2020-06-08 22:28:04 -07:00
Kurt
eccc762998 Add support for importing 08 (8byte) cheats
Closes #303
2020-06-08 10:55:06 -07:00
Kurt
ed53d331d9 Relabel W1/W2 as w1/w2 (recessive)
Closes #296
2020-06-05 20:09:10 -07:00
Kurt
084542d367 xmldoc
tried to split off some grid stuff because rooms don't need to know about acres; whatever
2020-05-23 13:08:14 -07:00
Kurt
832a6717f8 Add extra wrapping flags
0x40 shows the item ID instead of present
dunno what 0x80 does, if anything.
2020-05-19 09:13:44 -07:00
Kurt
f05f59736b Abstract Flag1 for wrapping in GUI
MessageBottle uses Flag1 for different purposes
2020-05-18 11:29:38 -07:00
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
3061442f77 Add localized color name display
Closes #223
2020-05-15 13:08:47 -07:00
Kurt
46d4f4e8c1 Wrapping paper clarifications
wrapping paper is 0-15, and the array is 16 entries. just add.
2020-05-11 22:07:27 -07:00
Kurt
ff5acf2b9c Remap field item sprite to held item if available
Also adds tree shake drop hint for tooltip
2020-05-10 20:26:56 -07:00
Kurt
71089b0103 Set body customization flags on give all
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
2020-05-10 08:54:45 -07:00
Kurt
6a87f9d874 Add more item flags
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
2020-05-09 22:06:22 -07:00
Kurt
7f58513d29 add weed to kind translation
why not
2020-05-08 15:24:27 -07:00
Kurt
d68b8b2fbf Fix oak tree color on field item map 2020-05-08 15:01:10 -07:00
Kurt
a6f88a048b Translate item kind from FieldItem
only trees and flowers are really necessary (for editing values)
2020-05-08 13:24:13 -07:00
Kurt
a9810c7d03 Merge Field Item back into Item
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.
2020-05-08 12:20:24 -07:00
Kurt
f6aab41872 Remove extra ' in comment 2020-05-07 20:34:22 -07:00
Kurt
e9a6861349 Add design source / choice for item
s32 remake {

s32 body:3
s32 source:2
s32 pattern:8
s32 unused:19

}
2020-05-07 17:01:19 -07:00
Kurt
50c401d0c1 Update ItemRemakeCommonPatternCategory.cs 2020-05-07 15:42:16 -07:00
Kurt
f78b0d892d Add remake pattern data
Need to figure out how it is stored.
It must override fabric values somehow. If you have custom fabric items, please share data on discord :P
2020-05-07 15:35:32 -07:00
Kurt
7d975a9ea9 Differentiate field item colors
Closes #159
2020-05-03 20:17:36 -07:00
Kurt
b884973919 Refactoring
abstraction++
2020-05-03 19:24:16 -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
4128cc00f6 Add item size metadata 2020-05-01 23:10:04 -07:00
Kurt
ac718d90af Don't consider flower seeds as flowers (gene expression) 2020-05-01 19:47:01 -07:00
Kurt
f71854ac5f Add more flower flags
click on the Days label to set all flags, hold alt to clear all flags instead.
2020-04-29 18:54:28 -07:00
Kurt
ccc28e4f1d Add more flower value editing 2020-04-29 11:35:23 -07:00
Kurt
b3629e9049 Name f8 watered 2020-04-25 14:51:48 -07:00
Kurt
b133cc72cb Add flower flags
Closes #117
2020-04-25 14:24:52 -07:00
Kurt
9b7ff912b8 Add give all art for received items 2020-04-24 10:30:04 -07:00
Kurt
ce28880379 Update reference lists
fish: adds in water egg, lul
2020-04-22 20:38:05 -07:00
Kurt
e9f9e51f15 Add load from cheat code import option
Hold control when clicking Load to instead read from clipboard. If no text is found, the program will ask for a file to load instead.

Closes #90
2020-04-22 08:32:13 -07:00
Kurt
d89a7245e0 Add more field item mass-editing buttons
Closes #75
2020-04-14 15:20:08 -07:00
Kurt
da955be606 Show X on buried items root 2020-04-11 11:57:28 -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
92e4c9b8f7 Visualization fixes 2020-04-07 13:40:49 -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
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
e70d2b71d8 Add some map item code
no functions, just exploration
2020-04-02 08:08:05 -07:00