Commit graph

420 commits

Author SHA1 Message Date
Cuyler36
0b76c33a2a Finish code refactoring
Since a massive amount of code changed, some things likely broke. Please be cautious when testing this!
2018-08-03 16:01:45 -04:00
Cuyler36
4e2d477621 Refactor Save.cs
Although I'll be switching to 'generation' based save subclasses, I decided to go ahead and do this since it won't be until at least 0.5.0 release.

This changed a lot of code minimally, so it may have broken some things.
2018-08-02 21:48:56 -04:00
Cuyler36
da09b11a69 Refactor House code
Split House class into its own file, House.cs, and grouped house stuff in a folder
2018-08-02 21:10:44 -04:00
Cuyler36
fb2236cc8f Refactor Pattern.cs
May split PatternData into its own file at some point
2018-08-02 01:18:17 -04:00
Cuyler36
7879981224 Refactor Items
Split Item & ItemData classes into their own files, and grouped them in the same folder.

Also refactored the code & improved performance.
2018-08-01 03:31:58 -04:00
Cuyler36
28746e21bb Refactor AcreData.cs
Split Acre & Inherited classes into their own file Acre.cs.

Also refactored the code quite a bit for readability.
2018-08-01 03:14:22 -04:00
Cuyler36
4c9a208bdd Move PlayerRelation.cs to Villagers Folder
It's part of the villagers' data, so it should be there.
2018-08-01 02:58:10 -04:00
Cuyler36
ccd6c27e54 Refactor Player.cs
Separated PlayerInfo & Player into separate files, & put them under their own folder.
2018-08-01 02:57:15 -04:00
Cuyler36
94a6ba6ce7 Slight refactor of Utility.cs 2018-07-31 23:45:37 -04:00
Cuyler36
7a0646a908 [DnMe+]: Implement Villager name editing
I have to add a new save type for my translation soon, as this only supports the original's 6 character long names.
2018-07-31 18:36:32 -04:00
Cuyler36
39bacaa530 Implement new VillagerControl 2018-07-31 17:28:26 -04:00
Cuyler36
c36520baa1 Add new VillagerControl Control
A new all-in-one control for editing villagers.
2018-07-31 16:16:25 -04:00
Cuyler36
f6206d625c Add ImportDlcVillager method
Will be implementing importing DLC villagers soon
2018-07-31 02:58:55 -04:00
Cuyler36
fcfc0fe913 Fix typo 2018-07-30 23:43:42 -04:00
Cuyler36
30505a9000 [DnMe+]: Add DLC Villager Ids to villager list & make it it's own file 2018-07-30 23:26:31 -04:00
Cuyler36
d91ca979eb Remove unused includes in VillagerData 2018-07-29 22:55:29 -04:00
Cuyler36
92b3950804 Refactor Villager, SimpleVillager, & VillagerData classes
They're now in separate source files, and have their own subfolder.
2018-07-29 22:48:56 -04:00
Cuyler36
2f5a22259f Remove unused function in StringUtility 2018-07-29 21:44:15 -04:00
Cuyler36
08eedde610 Refactor StringUtility 2018-07-29 20:28:09 -04:00
Cuyler36
812462cb04 Only initialize Caravan ComboBoxes if Welcome Amiibo is detected
Lowers process start memory
2018-07-29 18:12:13 -04:00
Cuyler36
edbc338168 Update variable name
It's called "Name ID" internally by Animal Crossing.
2018-07-29 12:17:30 -04:00
Cuyler36
7709bb9b41 Fix ReadByteArray bug 2018-07-29 11:00:33 -04:00
Cuyler36
4361e032c7 More optimizations
Trying to avoid if-else statements where I can
2018-07-29 10:55:45 -04:00
Cuyler36
3e4ab86b52 Change Chinese Animal Forest to "Animal Forest iQue" for Japanese
In preparation for Japanese support
2018-07-29 10:38:00 -04:00
Cuyler36
37f615573e Use switch statement for Get_Acre_Image
Slight optimization
2018-07-29 10:20:30 -04:00
Cuyler36
02d9b064e8 [N64, GC, iQue]: Use & mask for acre id instead of modulus 2018-07-29 10:11:14 -04:00
Cuyler36
67c211af71 [N64, GC, iQue]: Fix TreeView Node Acre Selection
Needed to check the base acre id rather than the acre id + height value.
2018-07-29 09:59:35 -04:00
Cuyler36
aee875f87a Fix Birthday Date Glitch
By setting "Not Set" as the first entry in the combo box, less arithmetic needs to be done to get the actual month & day.
2018-07-28 21:55:51 -04:00
Cuyler36
460230e452 [GC]: More mail framework 2018-07-28 21:09:41 -04:00
Cuyler36
23b8c717d1 Auto-update villager house coordinates & start Mail/Messageboard classes
[N64, GC, iQue]: When you change a villager without a house, a prompt will now show telling you to place a house where you want their house to be. If no house is found, it'll set it to the value that tells the game to select a random sign to place their house on.
2018-07-28 20:19:46 -04:00
Cuyler36
e67838908e Add status label control on bottom of form
This will show non-critcal messages. More will be added at a later date.

Also, set GCN generation's default seed to the environment tick, as that's what the parameterless Random constructor does.
2018-07-27 03:19:01 -04:00
Cuyler36
c78a470943 Remove height data when checking if acre is unique 2018-07-27 02:55:46 -04:00
Cuyler36
80d3c33e78 Update generator variable names 2018-07-27 02:51:11 -04:00
Cuyler36
09eedd42c1 Convert Generation to use IGenerator Interface
This will help clarify each generation's generator & enforces rules.
2018-07-26 22:21:29 -04:00
Cuyler36
7d337b97e2 [GC]: Fix Police Station, Wishing Well, & Museum not being generated
This should now mimic the GC town generation 1:1
2018-07-26 22:06:07 -04:00
Cuyler36
44f5222ea3 [GC]: Fix Three Layer Town Generation
Since the array wasn't copied before, it overwrote the original which led to an endless loop.
2018-07-26 19:16:32 -04:00
Cuyler36
75c1b59fb7 [Generator]: Allow a seed to be supplied
Seeds are a signed 32 bit integer, so valid values are between -2,147,483,648 and 2,147,483,647.
2018-07-26 18:56:48 -04:00
Cuyler36
5be28461c8 [GC]: Finish Acre Generation Code 2018-07-26 17:42:34 -04:00
Cuyler36
db29e7812c Spawn Cliff-River & Waterfall acres properly 2018-07-25 16:46:30 -04:00
Cuyler36
8235398c73 [GC]: Implement Accure Cliff & River Generation
Working on the rest of the code to finish up GC town generation.
2018-07-25 16:09:49 -04:00
Cuyler36
300fc70721 Fix Wild World Date Saving & Bugs
Fixed Date Saving in WW, Dressers in WW & NL, and Catchphrases in WW.
2018-07-24 16:47:37 -04:00
Cuyler36
6b2885e5d6 Merge branch 'master' of https://github.com/Cuyler36/ACSE 2018-07-24 16:45:08 -04:00
Cuyler36
d2d15a1be4 Fix Wild World Birthday Decoding/Encoding 2018-07-24 16:24:27 -04:00
Cuyler36
01f239fac0
Merge pull request #36 from Jhynjhiruu/patch-1
Fix README Spelling Error
2018-07-23 15:37:57 -04:00
Jhynjhiruu
a498644547
Update README.md 2018-07-23 20:33:11 +01:00
Cuyler36
529df43c79 Add more access modifiers & misc fixes 2018-07-20 13:50:25 -04:00
Cuyler36
6bb8d25fa7 Add readonly modifiers 2018-07-20 13:43:05 -04:00
Cuyler36
e3778ba0ca Add constructor arguments to Save classes 2018-07-20 13:25:26 -04:00
Cuyler36
069e3571a5 Change SaveBase constructor to cleanup compiler warnings 2018-07-20 13:22:14 -04:00
Cuyler36
67ce1faa96 Add Cancel Option when Closing Form & Changes Made + ItemEditor Bugfix 2018-07-20 09:48:36 -04:00