Commit graph

33 commits

Author SHA1 Message Date
Kaphotics
7b380cd0aa Refactoring
Minor fixes to coding style

PGT fixed default OT name from pk4HeX to PKHeX. Yay for replace all
"pk"-"pk4" case insensitivity.
2016-02-11 23:42:42 -08:00
Kaphotics
f296154d30 Refactoring
Merging declaration and assignment outside of form constructor.

Alert user if they tried to set Eon Ticket to X/Y.
2016-02-11 00:43:44 -08:00
Kaphotics
d2214f4fa1 Refactoring 2016-02-10 00:33:42 -08:00
Kaphotics
2d4d973689 Refactoring
lines--
2016-01-31 23:15:54 -08:00
Kaphotics
ea000cc95d Avoid invalid cast errors
Should only use Util.getIndex when a BindingSource is set with a
retrievable value. The method will now throw an exception instead of
handling it to let the programmer know that the wrong fetch method was
used.
2016-01-21 22:55:20 -08:00
Kaphotics
c768124591 More refactoring
Removed a lot more unneeded parenthesis.
2016-01-17 17:07:19 -08:00
Kurt
bd5a1c7db3 Use string method instead of control based 2016-01-09 12:46:13 -08:00
Kurt
52ea545b29 Remove more parenthesis
No functional change, just src clarity.
2016-01-05 18:16:58 -08:00
Kurt
c9d0db23ac Refactoring
Increase flexibility, use game personal data and structure to clearly
define what is going on.

Helps for implementing future games.
2015-11-25 22:20:09 -08:00
Kurt
101c0ad80f Minor bugfixes and cleanup
Added an Edited property for the save
blank slot (encrypted) is initialized once and can be used elsewhere
instead of constantly being recreated for no reason.
Fixed having 32 boxes for non-saves

All SAV editing forms now set the Edited flag when saving->close.
2015-10-24 16:33:44 -07:00
Kurt
661052bcf9 Refactoring of Save File Usage
Probably breaks a thing or two... time to get testing after this new
commit.

Wrapping the stored 'savefile' into an object which handles its use
allows a clearer separation of function and easier maintenance or future
updates.

May eventually move all get/sets for each form to allow property
fetching from any window, all logic handled within the class.
2015-10-23 20:13:32 -07:00
Kurt
d4ea56cfd6 Heavy refactoring
Remove numerous inter-form dependencies, remove hard-coded offsets,
update a few spots to use better programming practices.

Should increase the readability of PKHeX's source code.
2015-09-20 20:34:09 -07:00
Kurt
21878fb724 Fix chopping off EV bits 2015-08-06 20:16:07 -07:00
Kurt
b56edf1fec Continued Refactoring
Should be good now, a lot of silly stuff removed.
2015-03-11 21:44:12 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
1630b38e50 Community Improvements 2015-02-06 18:30:35 -08:00
Kurt
6f516a23d1 Cleaning & Minor Improvements/Additions 2015-01-31 20:40:35 -08:00
Kurt
4d53c00668 Code cleanup
Removing the majority of Public usage of methods within the main cs form
2014-12-23 23:29:57 -08:00
Kurt
e44cac062b Translation method input update 2014-12-19 20:19:41 -08:00
Kurt
d3d7b33d8a Multilanguage Upgrades
Nuked Box IO, it was inferior relative to the functions that were added
afterwards.
2014-12-14 16:50:15 -08:00
Kurt
f2883845a4 Fix Secret Base Flags
Should be 100% now.
2014-12-14 12:36:44 -08:00
Kurt
17f1b6ee68 Further code cleanup 2014-12-14 10:31:53 -08:00
Kurt
64ada71f84 Multilang + Cleanup
Converted the EncounterType and Games to translatable resources, and
created a method for dynamic combo lists. Still more to clean up!
2014-12-13 23:18:27 -08:00
Kurt
c1fa685752 Manual Merge 2014-12-11 22:36:39 -08:00
Kurt
981965899a Standardization 2014-12-11 21:45:01 -08:00
Kurt
a99ddf11bf Round of refactoring and improvements 2014-12-10 22:50:40 -08:00
Kurt
ea8c6d299a Various updates for next version
Added about-shortcuts and fixed a few things including secret base
flags.
2014-12-05 18:14:04 -08:00
Kurt
583ae001ae Gender & other unicode toggle option 2014-12-03 17:26:12 -08:00
Kurt
e3094044ba Fixes 2014-11-29 21:28:48 -08:00
Kurt
fc09860490 Added secret base flag ctr edit and relevant fixes 2014-11-28 01:44:43 -08:00
Kurt
b49d97350c Continued updates.
No concrete change...
2014-11-24 23:21:08 -08:00
Kurt
b48cc758bb Overall Imrpovements 2014-11-24 19:53:10 -08:00
Kurt
817538e208 Added a basic secret base editor 2014-11-23 14:23:40 -08:00