Commit Graph

10 Commits

Author SHA1 Message Date
Josh (vector_cmdr)
4426404f2d
Fix Load All Patterns Ownership (#756)
Added Personal for IVillagerOrigin in place of current pattern index for Load All.

Moved ContainsTransparentPixels to ImageUtil.
2026-02-20 22:55:55 +11:00
Josh (vector_cmdr)
dc7292a5d3
Fetch PlayerID for Patterns (#755)
Changed check of current pattern slot player ID to check of current player ID for pattern overwrites.
2026-02-20 11:30:12 +11:00
Josh (vector_cmdr)
18995c7299
Fix: Pro Pattern Import (#750)
I beefed the UsageCompatibility addition by accidentally deleting the exception catch when cleaning up some comments and thus killed the WritePatternPRO method lol. Absolute unit of a goose.

Took the opportunity to moved the compat to the other data manip in the buttom methods instead of the load methods.
2026-02-14 01:59:05 +11:00
Josh (vector_cmdr)
41841e5bfb
Feat: Post Box Editing (#744)
Feature:
Adds support for postbox.dat via Post Box Editor and accompanying components:
- Add Mail class.
- Add PostBox class and corresponding offset classes.
- Add wrap suppression option to ItemEditor.
- Add wrapping and box dictionary to ItemWrapping class.
- Add new language strings associated with forms and types.

Fix:
Resolved overwrite for bad dumps on all imports by adding UsageCompatibilityOffset and UsageCompatibility() added to Design classes. Transparent pixel check method added to PatternEditor and LoadPattern() altered to write the correct compatibility bytes based on type and transparency.
2026-02-10 01:32:16 +11:00
Kurt
fa3f0e3cc8
Update to .NET 10 (#683) 2026-01-13 16:02:58 -06:00
Kurt
6fb4569ce3 Design Patterns: Load orders by filename, export prompts for filename format
Closes #512
2021-10-16 16:38:33 -07:00
Emil B
083eae90f2
Change pattern system (#504)
To make dumping/loading designs match other dumping/loading buttons (terrain, acre and so on)
+ clicking on "Dump/Load Design" will draw a context menu with 4 options (2 if it's only one design pattern e.g. town flag).
+ when loading designs, I made the Listbox with the design names repopulate (update names) and select the user-selected design instead of going to index = 0;
+ when loading all designs I open a prompt to update "values" or not, instead of by default updating them.
+ fixed file name of dumped singular pro designs to .nhpd instead of .nhd lol
2021-09-06 10:31:11 -07:00
Kurt
1c4df60920 Add pattern bulk import
#443
Pattern names don't update on the left side (even for single-imports), don't bother for now. Just save & reopen the editor.
2021-01-22 23:14:14 -08:00
Kurt
ce47a76e1b Use actual final scale rather than allowing zoom upscale
clear pixel boundaries, no fuzz
2020-05-14 11:04:22 -07:00
Kurt
4efbb00b4e Add pro design r/w 2020-04-23 17:09:52 -07:00