Commit graph

744 commits

Author SHA1 Message Date
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
e70fa13d12 Cleanup & Bugfix
int offsetTime = Main.SAV.SuperTrain + 0x10;
did not match the offset read from ( + 0x8)
2016-01-21 22:38:26 -08:00
Kaphotics
c17cea9211 Redesign Trainer Info Editor 2016-01-20 22:45:48 -08:00
Kaphotics
061309ccd6 AdventureStart -> LastSaved
Misattributed
2016-01-20 21:25:33 -08:00
Kaphotics
17b2e4ea30 Disable Map Editing on failure to show map
Lumiose City's odd coordinate format can't be properly kept by the
NumericUpDowns; disabled in the case where coordinates are irregular
(%.5!=0).
2016-01-20 21:08:33 -08:00
Kaphotics
a8a89c3bb2 5bit day
0-31, should fit all possible dates.
2016-01-20 20:40:52 -08:00
Kaphotics
025b5a3c52 Add Adventure Start to editables
With that I'm pretty unhappy with the large form; might tabulate the
view in later commits.
2016-01-20 20:38:21 -08:00
Kaphotics
33baac4fff Add Adventure Start Attributes
So many different ways to store the same thing...
12bit year
4bit month
4bit day
2016-01-19 07:50:05 -08:00
Kaphotics
89368e384e Target C# 6.0 2016-01-18 18:21:25 -08:00
Kaphotics
71b86e6d6f +Ref lang_it
Forgot.
2016-01-17 18:21:32 -08:00
Kaphotics
15cd87baf5 Add audible confirmation of filter reset 2016-01-17 17:11:32 -08:00
Kaphotics
c768124591 More refactoring
Removed a lot more unneeded parenthesis.
2016-01-17 17:07:19 -08:00
Kaphotics
40da8f79ad Add ContextMenuStrip translation strings
Added italian translation file (en->it, added ContextMenuStrip
translations)
2016-01-17 16:51:22 -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
251664f1bf Update changelog
Keep current.
2016-01-15 23:59:37 -08:00
Kurt
0e021b42c6 Fix CTRL/ALT held during nickname update
Only should fire when sent from L_Species. (sure I could hard code it
sender as Label == L_Species but nah)

Thanks Joedor.
2016-01-14 21:05:05 -08:00
Kurt
5915b38ee6 Export From->To
Thanks Favna
Fixes issue #69
2016-01-12 20:18:44 -08:00
Kurt
6e29ad20d6 Update changelog
Forgot to store the total download count before publishing the latest
release.
2016-01-11 21:19:01 -08:00
Kurt
c0e67d0879 Remove deleted shortcuts
They're directly accessible in the main ribbon.
2016-01-10 11:29:29 -08:00
Kurt
8a979d66b9 Update changelog 2016-01-09 13:35:04 -08:00
Kurt
c1b9345658 Update shortcuts 2016-01-09 13:18:54 -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
bd5a1c7db3 Use string method instead of control based 2016-01-09 12:46:13 -08:00
Kurt
f9fa461955 Lock UI
Prevent movement in designer
2016-01-09 12:46:10 -08:00
Kaphotics
8fea0d06d1 Merge pull request #67 from chenzw95/master
Fix feelings not being saved correctly in Memory Editor
2016-01-08 08:25:56 -08:00
chenzw95
674418cd06 fix pokemon feelings not being saved correctly 2016-01-08 15:30:09 +08:00
Kurt
f6121b8111 Recalculate level for report
Info is not present in box pk6 files, needs to be recalc'd

Thanks Blassie098!
2016-01-07 08:13:06 -08:00
Kurt
df5cbbd5b7 Fix Z coord saving
Reference the Z numericUpDown instead of the map's.
2016-01-06 23:01:48 -08:00
Kurt
5bace04b0e Update translation file
add a few more fields
2016-01-06 22:35:19 -08:00
Kurt
52ea545b29 Remove more parenthesis
No functional change, just src clarity.
2016-01-05 18:16:58 -08:00
Kurt
adcf59f5f5 Remove redundant parenthesis
No functionality change
2016-01-04 22:43:22 -08:00
Kaphotics
d0bdbffaf0 Update README.md 2016-01-03 15:35:19 -08:00
Kurt
10aa58078a Tweak filename detection
Fixes crash with one character executable name. Used command line
argument 0 to detect filename instead of Process.GetCurrentProcess()

System.Media added to using, no more System.ETC within the main form.
2016-01-03 10:47:44 -08:00
Kurt
8352611042 Split save exporting to multi-option
Alt modifierkey not playing nice.

To be conformed with shortcuts/languages in a later commit.
2016-01-02 22:31:04 -08:00
Kurt
98b1a536d0 Add Main Window CTRL-# Shortcuts
CTRL-O: Open
CTRL-S: Export PK6
CTRL-E: Export SAV
CTRL-Q: Quit

CTRL-D: Open Database
CTRL-R: Open Box Report
CTRL-B: Open About PKHeX
2016-01-02 20:23:25 -08:00
Kurt
7d2c853ffd UI Improvements
Moved a lot of shortcut/button functions to the main menu; should be
much neater in terms of presentation.

Split up Box Load/Dump.
Tweaked the Translation function in Util to properly find every
menustrip items.
Translation files updated with new Menu layout.

Also made the form always launch in max size, thus removing the 'Toggle
Box Interface' option.
2016-01-02 20:22:53 -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
1351af480e Check for null QR wonder card data
Happens on bad URL in clipboard -> no data returned.
2016-01-01 22:03:41 -08:00
Kurt
872f2a940c Fix Egg-Set bugs
Thanks StarFisherX!
2016-01-01 21:18:23 -08:00
Kaphotics
ace267d554 Reorganize EV output
Thanks Wanderer1391!
2016-01-01 19:45:03 -08:00
Kurt
6b801e9434 Update shortcuts listing
These are a pain to conform to easy-to-understand standards ;)
2015-12-30 16:03:58 -08:00
Kurt
06cd71b58b Add ORAS Demo support
Likely going to regret doing this; but this sets the groundwork for
enabling partial support for future games.
2015-12-29 22:03:27 -08:00
Kurt
af1ab5a8e3 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Resources/text/changelog.txt
2015-12-29 10:39:48 -08:00
Kurt
a5e9ba0e06 Update changelog 2015-12-29 10:37:40 -08:00
Kurt
bc3f8cb06c Update changelog 2015-12-29 10:36:41 -08:00
Kurt
beaddf47fe Clean wonder card filename suggestion
Removes illegal filename characters. " " " " "
2015-12-29 10:36:32 -08:00
Kurt
b9af9deac8 Fix conversion issues
pk5->pk6 conversion was missing Gender/AltForm definition.
2015-12-29 10:28:24 -08:00
Kurt
aa7974e158 Rearrange src, speed up encryption
No need to shuffle 11*, just have the precomputed final shuffle values
and redirect.
Rearrangement removes PKX/PGT interaction (now only refers to past gen
code base)
2015-12-28 19:00:10 -08:00