Commit Graph

352 Commits

Author SHA1 Message Date
Kurt
797cd0e16d Update FieldItemEditor.cs 2020-05-12 15:23:25 -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
755a7d773b fix villager house dump/load
also copy npc values when importing player house; unknown function since most ppl have only 1 player house
2020-05-12 07:36:37 -07:00
CXM
f62f5c422f
fix zhs translate (#200) 2020-05-11 23:18:25 -07:00
Kurt
4792d675eb Don't update map hover coordinates on mouse-button down
right click drag on map should do nothing, and now does nothing
2020-05-11 23:18:07 -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
50b364ee20 Update translations per updated player hous eeditor 2020-05-11 22:23:12 -07:00
CXM
a48465d4b9
update strings & update zhs translate (#199) 2020-05-11 22:21:41 -07:00
Kurt
0f451141c9 Add player house placed-item / flag editor 2020-05-11 22:20:39 -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
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
6330674c45 Add house flag metadata 2020-05-11 17:46:08 -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
14e9bfac8c Show more details for message bottle
Change some control padding to 0's for alignment visual
2020-05-10 16:32:58 -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
2bde85aa59 Misc appearance tweaks
many-customize-option items can have too many displayed options; just increase the size / scroll bar the editor

yay "wooden simple bed"
2020-05-10 12:49:23 -07:00
Kurt
6dc5e0c362 Uncheck acre snap by default for reticle placement 2020-05-10 12:20:38 -07:00
Kurt
1c2af21361 Show item sprite in item editor
no markup of ancillary values, just the image
2020-05-10 12:19:24 -07:00
Kurt
4d1bff3869 Visually indicate dropped items instead of placed items 2020-05-10 11:27:47 -07:00
Kurt
a801b1854f Allow editing villager cached pattern
Closes #191
2020-05-10 09:56:26 -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
cca03ea27a Fix import size check
Closes #188
2020-05-09 22:28:48 -07:00
Kurt
dd92b9ea73 Update FieldItemEditor.cs 2020-05-09 22:11:40 -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
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
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
d1b7032b79 Save background and foreground (full map picture)
yay pretty
2020-05-09 17:25:42 -07:00
Kurt
a12278d148 Add outside/field template tracker editing 2020-05-09 17:13:31 -07:00
Kurt
ce427bd698 Remove deprecated editors 2020-05-09 17:05:38 -07:00
Kurt
74bf1d4cef Merge acre editor into field item editor 2020-05-09 17:03:58 -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
fd81b2cb61 Convert OutsideAcreList to enum 2020-05-09 14:56:11 -07:00
Kurt
9523376a9c Add tailor/flag design pattern editing
Closes #184
2020-05-09 12:28:43 -07:00
Kurt
0085c453d4 Add custom picker for specialty fruit
Closes #181
2020-05-09 10:58:19 -07:00
Kurt
6eff348fa5 Disconnect on form close too
same as 39205c975e
2020-05-09 10:35:14 -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
c1e7f2dc28 Move tile color to core 2020-05-09 00:13:19 -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
d566eb9972 Add player detail / fg
fg = field goods? probably not, but a good enough guess for now

kinda overflowing on player editables; get chucked to a sub-editor.

Closes #164
2020-05-08 20:52:32 -07:00
Kurt
86da243405 Add birthday & fg
#164
2020-05-08 20:34:18 -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
8661f7c0cc Use Item Editor instead of property grid
Closes #151
2020-05-08 13:27:29 -07:00
Kurt
6a00cb22b4 Add extension tile property manipulation 2020-05-08 13:27:15 -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