Commit graph

47 commits

Author SHA1 Message Date
Kaphotics
0ceec780a1 Wondercard window bugfixes
Import wc6 fixed, dropping folder fixed (now also refreshes the view and
adds the wondercard ID)
2016-03-19 15:50:01 -07:00
Kaphotics
2e0a06034c Add Full Size WC6 importing 2016-03-13 10:54:33 -07: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
35465b837e Minor refactoring
Load used WC even if dismissed, i/o for main display operates by passing
PK6 instead of byte[]
2016-01-24 10:19:30 -08:00
Kaphotics
0a7f10140c WC Editor Tweaks
Don't auto-load first wondercard (prevents "GIFT USED?" spam)
Simplify img preview, also add 30% opacity for used gifts to indicate
status.
2016-01-23 10:16:07 -08:00
Kaphotics
c768124591 More refactoring
Removed a lot more unneeded parenthesis.
2016-01-17 17:07:19 -08:00
Kaphotics
0b89682a64 Refactoring
Now have win10, new vs, new resharper, new c# tricks
2016-01-17 13:27:24 -08:00
Kurt
52ea545b29 Remove more parenthesis
No functional change, just src clarity.
2016-01-05 18:16:58 -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
beaddf47fe Clean wonder card filename suggestion
Removes illegal filename characters. " " " " "
2015-12-29 10:36:32 -08:00
Kurt
d102da0e6c Tweak setting logic and size references
Acting on a slot will now work on set/delete
2015-12-19 16:25:32 -08:00
Kurt
0c2d2ac049 Add drag rearrangement of Wonder Cards 2015-12-18 22:17:01 -08:00
Kurt
5baff6fb8f Tweak ListBox interaction
Redefine text instead of clearing and regeneration.

I like this method of manipulation much better; got rid of the old list
box and added a contextmenu to the Received List.

Also added Drag&Drop support.
2015-12-18 22:04:01 -08:00
Kurt
e2a176aac6 Clear empty wc6 slots, show current action slot
Like the main window, indicate which slot the user has
viewed/set/deleted.

Cards with cardID=0 are removed (none existing)
2015-12-18 20:48:47 -08:00
Kurt
e4e662e2f2 Wonder Card update
Added preview display for all Wonder Cards; consistency in calling them
Wonder Cards.
2015-12-17 21:15:40 -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
22e0e7ee79 Add used wondercard detection 2015-09-12 21:32:30 -07:00
Kurt
252d40293a Use the PKX sprite fetch method instead
Should be always up to date now.
2015-04-30 00:01:17 -07:00
Kurt
225302c149 Double hotfix!
Wondercards with unknown items (null -> load unknown); block Eon Ticket
Fix language auto-loading
2015-04-05 10:48:18 -07:00
Kurt
9928bc1e14 Easier wondercard opening 2015-03-31 17:58:23 -07: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
677378d198 Image String Tweak to imply it's a wondercard. 2015-03-10 22:32:03 -07:00
Kurt
0e05742a1f Add Wondercard QR
Main form string fixes to accompany the WC updates.
2015-03-10 21:18:35 -07:00
Kurt
bf7cd278cc Refactoring
Refactoring complete (for now).
2015-03-10 18:44:51 -07:00
Kurt
e056c59457 Don't add bitflags >= 2048 2015-02-07 18:10:16 -08:00
Kurt
43b1afec3f Bugfixes 2015-01-31 15:59:23 -08:00
Kurt
96874a826b Overwrite Wondercard Flags instead of ORing.
Fixed some misc stuff too, main change @ line 200.
2015-01-11 08:10:56 -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
981965899a Standardization 2014-12-11 21:45:01 -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
742a41e7f3 Add Drag&Drop and name terminator fix 2014-12-10 15:24:34 -08:00
Kurt
f9e2fe2f0b Wondercard updates 2014-11-28 20:52:05 -08:00
Kurt
af66cc96a6 Adding in Eon Ticket Support
Dem magic numbers.
2014-11-28 20:43:00 -08:00
Kurt
fc09860490 Added secret base flag ctr edit and relevant fixes 2014-11-28 01:44:43 -08:00
Kurt
16c71cbd8f Fix Item wondercard viewing 2014-11-26 23:06:35 -08:00
Kurt
21eccb0dad Preliminary ORAS Support 2014-11-21 15:34:10 -08:00
Kurt
a462db6089 ORAS Reorganization 2014-10-09 19:59:57 -07:00
Kurt
244273aa22 Utility Consolidation
Moved various functions in.
2014-08-31 13:32:04 -07:00
Kurt
f5f766f962 Restructuring source arrangement 2014-08-01 10:33:12 -07:00
Renamed from SAV_Wondercard.cs (Browse further)