Commit graph

40 commits

Author SHA1 Message Date
Kaphotics
6ddaa036d4 Update database to load formats correctly 2016-06-27 22:20:31 -07:00
Kaphotics
44fd5ca07c Update database viewer with Format filter
Filters reorganized into tablelayoutpanel for tight appearance.
2016-06-27 21:16:46 -07:00
Kaphotics
68f144e040 Re-add PKM property verification
Item/move/species (didn't add Ball and Version) being imported from a
.pkm or forcefully input now requires the user to OK before it is set to
the save.

EX: Hyperspace Fury isn't in X/Y, drag from another instance of the
program with OR/AS loaded and a Hyperspace Fury move... the user will be
alerted of the incompatibility and will be allowed to continue (and fix,
if desired).
2016-06-20 23:02:26 -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
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
5fb65c5ba7 Only screen gen6 for legality
Main window only checks legality for gen6, Database currently ignores
this restriction and runs the check anyway (unnecessary).
2016-03-30 18:54:36 -07:00
Kaphotics
eec754256a Lambda
Slick.
2016-03-22 20:30:48 -07:00
Kaphotics
c89e3a84c1 Allow menu strip to stay open on chk click
Allows the user to click multiple options in Set to SAV and Database
filters without having the options disappear on click.
2016-03-22 20:14:11 -07:00
Kaphotics
894ff48734 Database view scroll override
Allow scrolling within panel (instead of while mouse is over the
VScrollBar.
Since the updateScroll method isn't called by adjusting the value
directly (ie, not a scroll event) we just update the boxes manually.
2016-03-18 19:33:09 -07:00
Kaphotics
3c7cab83d1 Add legality filtering to database search 2016-03-15 21:10:33 -07:00
Kaphotics
5b87114a2a Bugfix Invalid Checksum alert
PK6 Object may be modified in parent form, resulting in invalid checksum
errors if the same PK6 is reloaded.

Solved by not passing object, pass raw data.
2016-03-12 09:12:51 -08:00
Kaphotics
da862c2ae5 Remove "Cancel" option where not necessary 2016-02-09 15:35:56 -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
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
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
aa7af78cd9 Change minimum logic
0-5 -> add pk has a max scroll of 0 not 1
2015-12-19 16:32:22 -08:00
Kurt
d325028bec Tweak set/delete/view logic
Better incorporates colored slots and final states after actions are
performed.

When setting, the database list will scroll to the absolute end
possible.
2015-12-19 16:29:44 -08:00
Kurt
62eddb6aec Misc fixes 2015-11-21 19:27:50 -08:00
Kurt
426eda5a46 Use SAV's BoxData property to load data 2015-11-15 22:03:58 -08:00
Kurt
eb22a46290 remove debug stuff
oops
2015-11-15 08:20:17 -08:00
Kurt
f3ea73787b Add alt/shift click
Shift click setting is not accessible without the hotkey, not going to
add it as a Right Click Menu.

Main had to expose more methods (to access info from tabs); standardized
all references to the database path as well.
2015-11-14 19:41:39 -08:00
Kurt
dc5fc1f175 Add deletion method for database tool
Can delete files from database folder, or save file.

Easy way to filter crap out to delete, yay.
2015-11-14 18:17:54 -08:00
Kurt
f867697caa Close
Close
2015-11-13 19:04:42 -08:00
Kurt
75be21bac2 Improved search filters
Automatically ignore bad sanity/species
Allow user to select Box&/Database as their search source.
2015-11-13 18:31:01 -08: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
633d4e040b Add export option for (filtered?) results.
It might be wise to just ball up all the results (as decrypted) to speed
up form loading (by just having to read one file instead of >1000 at a
time).

Maybe just scoop up all the files into the database and filter dupes,
but no way to remove stuff....
2015-10-12 17:12:20 -07:00
Kurt
d17a322bca Hide ESV on filter reset
Misbehaved depending on state before reset. This should do the trick.
2015-10-12 00:12:21 -07:00
Kurt
1c663a8600 Add Indicator label & fix focus issue
Indicator will now tell the source of the file last viewed
Focus fix pairs with the main form adding the focus argument to the
method; the window will no longer lose focus (ie, pass focus to the Main
form)
2015-10-12 00:10:40 -07:00
Kurt
805300a41d Implement Create Data Report
Required adding a pre-filtered method to the report form in order to
process data.

Probably gonna end up with stupid identifiers stretching everything, but
at least it shows where everything is. Best to export to a csv table
anyway.
2015-10-10 18:29:02 -07:00
Kurt
03900d1414 Code cleanup (reordering)
Additionally, Resetting Filters will reset the newly added Generation
ComboBox.
2015-10-10 10:28:24 -07:00
Kurt
be2e95b1c8 Add Generation filter
When the SelectedIndex of the Version ComboBox is changed, the
Generation index will be set to zero (and vice versa) to prevent
conflicting search criteria.
2015-10-10 10:18:55 -07:00
Kurt
0e194ec861 Allow subfolders to be accessed when loading 2015-10-10 10:02:32 -07:00
Kurt
0b42980119 Reset last slot viewed on search 2015-10-09 06:34:26 -07:00
Kurt
07bf3b2312 Fix search -> scrollbar interaction
Setting the value doesn't trigger the fill update; manually update
regardless of scroll position.
2015-10-08 20:18:42 -07:00
Kurt
8ef03eaccd Database sanity checking before opening 2015-10-08 17:40:36 -07:00
Kurt
d9073cea98 Finish first iteration of Database & Search
Should surpass the search options of Pokécheck ;)

Quite easy to add extra search options too!
2015-10-07 20:19:34 -07:00
Kurt
c1bb9d5cec Add database view skeleton
future?
2015-10-05 18:51:52 -07:00