Commit graph

420 commits

Author SHA1 Message Date
Cuyler36
3ba9c42d06 FurnitureItemEditor: Implement flood fill
Also added the IEquatable tag to the Furniture class.
2018-08-17 22:02:01 -04:00
Cuyler36
fd74e58b6d Simplify Item & derived classes logic 2018-08-17 21:49:09 -04:00
Cuyler36
098caf6dba GetBuildingCount pass building array with in keyword
We don't modify it directly, so this should save on some resources.
2018-08-17 05:57:14 -04:00
Cuyler36
44c6b2316d Move Building class to its own file 2018-08-17 05:38:20 -04:00
Cuyler36
6ae051e019 Right click color select in Pattern Editor 2018-08-16 09:12:09 -04:00
Cuyler36
ba1aacd688 Fix replace message box grammar 2018-08-16 01:31:27 -04:00
Cuyler36
75957df029 Refactor checksum classes into separate files
Also make them use a common interface, IChecksum<T>.

Added tests for each checksum type.

May switch from IList<byte> to IEnumerable<byte> at some point to remove the ToArray calls.
2018-08-15 22:55:15 -04:00
Cuyler36
073b765ee5 Checksum.cs changes
- Switched hardtyped byte[] parameterts to IList<byte> in preparation for switching actual type passed to the function.

- Use in keywords for arrays to increase performance

- Document code
2018-08-15 11:43:07 -04:00
Cuyler36
432f76330d [N64]: Only byteswap if needed
Some emulators don't save the savedata as byteswapped
2018-08-15 10:52:49 -04:00
Cuyler36
9ccd37362e [N64/GCN/iQue]: Add missing item ids & correct item colors 2018-08-15 09:10:01 -04:00
Cuyler36
2accdf60ae Fix island refresh bug 2018-08-15 03:28:09 -04:00
Cuyler36
33bb28ab41 [N64/GCN/iQue]: Fix stump names
For some reason they were called chopped trees.
2018-08-15 00:40:06 -04:00
Cuyler36
c9b70fc233 Fix town tooltip text 2018-08-15 00:37:00 -04:00
Cuyler36
6208eaf77f Small typo fix 2018-08-14 01:42:33 -04:00
Cuyler36
e3fa570065 Update selected acre highlight on box enter
Fixes a bug that would occur after loading default items.
2018-08-14 01:40:18 -04:00
Cuyler36
c68904887e Include .dat for 3DS Save Files 2018-08-13 23:35:23 -04:00
Cuyler36
62bad02dcb More memory optimizations 2018-08-13 23:28:47 -04:00
Cuyler36
9b04ba450c [N64/GCN]: Lower RAM usage
Calling the resource multiple times creates multiple instances of it.
2018-08-13 23:16:47 -04:00
Cuyler36
142a869a6e Fix crash when switching between NL/WA and other games 2018-08-13 22:28:53 -04:00
Cuyler36
4710919f57 [NL/WA]: Finish house editor
Also fixed a bug with ordinance saving in Welcome Amiibo.
2018-08-13 22:23:51 -04:00
Cuyler36
b469eb7acc Fix island highlight 2018-08-13 21:00:51 -04:00
Cuyler36
96a053fadf New HouseEditor Control
For ease of use, also deduplicates a ton of code.
2018-08-13 20:54:55 -04:00
Cuyler36
48d74db38c Style modifications 2018-08-13 16:52:10 -04:00
Cuyler36
630d94de7e Replace item improvements
Now sets the item type correctly & a messagebox is displayed telling the user the amount of items replaced.
2018-08-13 02:50:32 -04:00
Cuyler36
69fcbb5bf1 Update Release Versions to C# 7.3 2018-08-13 01:05:54 -04:00
Cuyler36
6eb6379ccd Explicity state use C# 7.3
Appveyor doesn't like it when I set it to use the latest version.
2018-08-13 00:55:03 -04:00
Cuyler36
de07352e04 Allow necessary packages for appveyor to build 2018-08-13 00:53:04 -04:00
Cuyler36
4c02941970 Upgrade to .NET 4.7 & C# 7.3 + Changes
- Now using the latest .NET version (4.7) & the latest C# version (7.3)
- Replaced old data conversion methods with new extension methods
- Created a unit test project & the first tests (more to come at a later date)
2018-08-13 00:49:35 -04:00
Cuyler36
1519cbbd42 Convert text files to UTF-8 & fixes
Converted necessary text files to UTF-8 so all characters would show correctly.

Also fixed a minor bug introduced in a previous commit.
2018-08-12 17:41:04 -04:00
Cuyler36
d706364caa More optimizations 2018-08-11 18:50:21 -04:00
Cuyler36
ea36105203 More changes
- DnMe+/AFe+ have their own item color set
- New town map cell glow highlight
- Optimized town map move method
- Minor bugfixes
2018-08-11 18:07:20 -04:00
Cuyler36
9ddae4cfb5 [DnMe+/AFe+]: Fix item ids
They were changed from Animal Crossing.
2018-08-11 02:31:39 -04:00
Cuyler36
5aad7d94f4 Make other forms dialogs & center them 2018-08-10 19:22:48 -04:00
Cuyler36
4cd3b5e2e3 Implement Item Color Editor
If a save file is open, you'll have to reload it to update the colors.
2018-08-10 19:08:41 -04:00
Cuyler36
fcd4503827 More item improvements
- Further improved item name method
- Switched all item strings to an enum to reduce calculation speed
- Simplified logic in building method
2018-08-10 01:43:48 -04:00
Cuyler36
d837d23bdf Improve item name retrieval method
This correctly handles furniture & non-furniture items for games other than New Leaf.
2018-08-10 00:40:16 -04:00
Cuyler36
1ae3ef029e Fix fqrand implemetation
Forgot to subtraact 1.0f from it.
2018-08-09 00:04:43 -04:00
Cuyler36
36271a9ba1 Fix crash when value entered is out of range 2018-08-08 23:52:25 -04:00
Cuyler36
6005d870a6 [DnMe+/AFe+]: Add DLC villager houses 2018-08-08 21:21:38 -04:00
Cuyler36
750993d83d Fix Animal Forest iQue Checksum Calculation & Begin Undo/Redo framework 2018-08-08 21:17:01 -04:00
Cuyler36
2cb240820e Set default filter to all supported files 2018-08-08 13:52:11 -04:00
Cuyler36
1802bf8bc3
Merge pull request #39 from Jhynjhiruu/patch-3
Add system specific filters when selecting save files
2018-08-08 13:48:42 -04:00
Jhynjhiruu
b4edcb3c12
Update MainForm.Designer.cs 2018-08-08 17:34:13 +01:00
Cuyler36
5833d8a1ab Fix DLC Button Text Clipping 2018-08-06 17:42:58 -04:00
Cuyler36
4baa4b3538 [DnMe+/AFe+]: Update villager info when importing DLC villager
Their name, catchphrase, personality, and shirts are now all set to their defaults.

Also some misc changes & bugfixes.
2018-08-06 14:03:57 -04:00
Cuyler36
e4f8a944b7 [DnMe+/AFe+]: Implement DLC Villager Importing
DLC villagers can now be imported from their yaz0 compressed files. Also split the Animal Forest e+ fan translation into its own save type to allow for the longer villager names.
2018-08-04 17:47:47 -04:00
Cuyler36
c324d80b86 Update town & acre picturebox resize mode without needing to restart program 2018-08-04 12:38:04 -04:00
Cuyler36
574e02180c Fix DebugManager initialization
Whoops
2018-08-03 22:51:00 -04:00
Cuyler36
3b0aced1b7 DebugManager.cs cleanups 2018-08-03 19:41:38 -04:00
Cuyler36
ae8617a46e Misc refactoring cleanups
I missed a few things
2018-08-03 17:18:14 -04:00