Commit graph

70 commits

Author SHA1 Message Date
Kaphotics
67e7d3edaf Simplify control finding for translation
Figured I'd rewrite this to remove the gotos
2016-06-30 22:36:54 -07:00
Kaphotics
6378eb7f56 Current progress
Still a few milestones left to hit before official release.
2016-06-19 21:22:43 -07:00
Kaphotics
ffa044d4db Fix String->Int conversion with spaces in middle
Replace instead of trim, then trim.
2016-05-10 22:21:23 -07:00
Kaphotics
027e0e19b1 Refactoring 2016-04-18 18:21:50 -07:00
Kaphotics
707285cf0d Improve form centering, cleanup
Center database/report forms on load; doesn't happen by default as there
is no parent assigned when it is called by Show().

Add a form->form centering method, cleaned up the code behind the 16byte
hex seed fields.
2016-04-15 16:11:46 -07:00
Kaphotics
be63fe7b7f Simple Refactor
Simple :)
2016-04-06 22:52:55 -07:00
chenzw95
b5ce2fcfcc Trim underscores in Util.ToInt32 and Util.ToUInt32
Addresses Mono bug 12241.
2016-04-04 21:38:12 +08:00
Kaphotics
c426089c07 Add Move Legality Checker
Note that this is a first iteration feature; there are known edge cases.
This feature is merely to assist the user by highlighting moves that are
outside of the typical moveset.

Levelup/Eggmove/Tutor/TMHM are used in the logic.
2016-02-17 07:54:59 -08:00
Kaphotics
d2214f4fa1 Refactoring 2016-02-10 00:33:42 -08:00
Kaphotics
091f5c10d2 Simplify getStringList method calls
No need to go to List and back to array.
2016-02-09 15:27:24 -08:00
Kaphotics
64d29e3278 Remove unnecessary braces 2016-02-05 22:10:08 -08:00
Kaphotics
2d4d973689 Refactoring
lines--
2016-01-31 23:15:54 -08:00
Kaphotics
8469d04417 Refactoring
Polishing polish
2016-01-26 21:04:17 -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
f8f0d76793 Cleanup
Simplified cbItem a little.

Check for null input, then null selected value; catch only happens if
the method is fed something irregular.
2016-01-21 22:40:59 -08:00
Kaphotics
c768124591 More refactoring
Removed a lot more unneeded parenthesis.
2016-01-17 17:07:19 -08:00
Kaphotics
dd83330191 Implement ContextMenuStrip translation 2016-01-17 15:35:02 -08:00
Kaphotics
0b89682a64 Refactoring
Now have win10, new vs, new resharper, new c# tricks
2016-01-17 13:27:24 -08:00
Kurt
508a23d386 Clean Utility Methods
Rewrote LayerImage & ChangeOpacity to be faster (graphics & lockbits
instead of manual pixel by pixel changing)
Removed control based string conversion methods
Used linq to parse hex instead of Numerics
2016-01-09 12:46:15 -08:00
Kurt
e56b6652dd Improve toolstrip item finding
Search within menustrip, not just looking within the top items.
2016-01-02 20:22:35 -08:00
Kurt
3147d8b1df pk2pk Refactoring
Transition from modifying byte arrays to just having objects mediate the
conversion.

Farewell pk2pk!

The PK# objects can convert up to the next generation through their own
methods; doing this required having class structures for all generations
:)
2015-12-27 21:26:07 -08:00
Kurt
1bb07b5998 Add pgf skeleton & supports
Untested and not intended to be correct; just establishing the framework
for now.
2015-12-22 21:14:50 -08:00
Kurt
8a2e7f3f74 Fix ternary null input
Having a ternary result in null creates a new param of []{ null },
instead of a true null.
2015-11-25 18:28:21 -08:00
Kurt
5b3623caa5 Remove use of Regex 2015-09-23 22:44:15 -07:00
Kurt
9e64212a33 Revert e8b7b14 Commit
Needs to trim at the first index of a null terminator; not all empty
characters at the end.

Revenge of the Trash Bytes 😆
2015-09-18 16:33:37 -07:00
Kurt
84586f2da9 Fix untrimmed showdown set 2015-09-04 18:50:14 -07:00
Kurt
e8b7b14efa Simplify \0 trimming 2015-08-08 21:44:52 -07:00
Kurt
6e9afc032e Undo https switch; the used apis don't use it
They worked just fine previously, just reverting.
2015-07-26 10:02:30 -07:00
Spanti Nicola (RyDroid)
d656058524 Minor changes 2015-07-21 00:52:11 +02:00
Kurt
b906491d2f Refactoring, QR operations -> method 2015-03-13 19:59:51 -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
25e71d39a9 Box Data Report Bugfix
3DSRegion and Game Language should now have the correct index text.
2015-02-02 21:51:08 -08:00
Kurt
1bd0065754 Bugfixing and Loading Status 2015-01-31 10:36:06 -08:00
Kurt
2051859d3b Newline Fix part2
Didn't save changes before committing.
2015-01-30 22:32:50 -08:00
Kurt
8f43cf458c Newline Fix
Good going, GitHub.
2015-01-30 20:36:41 -08:00
Kurt
7c40b00b54 ram2sav pre commit 2015-01-26 22:05:04 -08:00
Kurt
5eaf603c3b Code cleanup
Seems like every time I go through the code I find more of my newb code.
2015-01-02 17:07:29 -08:00
Kurt
664fc1cf60 SaveDataFiler folder path sorting first
Reported by Slashmolder that sometime windows glitch causes screwy
loading (date related) so we now just sort again just in case - still
backwards iterating.
2014-12-29 21:40:21 -08:00
Kurt
60b264d9b0 Misc changes
Nonsensical, really.
2014-12-22 22:39:22 -08:00
Kurt
7d02b4065e Simplification of Translation Method
Removing redundant input.
2014-12-19 20:18:12 -08:00
Kurt
b2100bcd00 Translation fixes 2014-12-18 18:59:30 -08:00
Kurt
f091fa5ca9 Simplifying Code and fixing ball population 2014-12-17 17:04:57 -08:00
Kurt
567c4100a3 Cleanup for release 2014-12-15 20:08:43 -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
17f1b6ee68 Further code cleanup 2014-12-14 10:31:53 -08:00
Kurt
cc6b2aeda1 Adding Country/Subregion Multilanguage
Big thanks to Slashmolder for the location files and SciresM for parsing
them down to text files.
2014-12-12 22:58:34 -08:00
Kurt
84fd7f4da9 Removing some redundancy 2014-12-10 23:00:25 -08:00
Kurt
a99ddf11bf Round of refactoring and improvements 2014-12-10 22:50:40 -08:00
Kurt
b8ca1b11c2 SaveDataFiler detection loop fix
Thank you SoujiSeta for pointing this one out!
2014-11-29 21:29:40 -08:00