Commit Graph

439 Commits

Author SHA1 Message Date
Kurt
fd7ecadf4e Add Gym/E4 type randomization filter 2015-11-22 10:14:20 -08:00
Kurt
ad9262d967 Allow Mega Form Randomization 2015-11-22 10:00:58 -08:00
Kurt
aa3d4a12b5 Fix thread tracking 2015-11-21 16:44:03 -08:00
Kurt
61eb0810a1 Add random megas option in RSTE 2015-11-21 13:49:00 -08:00
Kurt
4f54e5018b Minor cleanup
Should do for now.
2015-11-21 13:34:34 -08:00
Kurt
6f1d303a31 Add checkbox for team->6ct expansion
Only for tagged special trainers.
2015-11-21 13:32:17 -08:00
Kurt
5ecb2f595d Compile tweak
Reference loop variable not other form
2015-11-21 11:28:15 -08:00
Kurt
2db39b0866 Tweak input for map
Don't access, only assign
2015-11-21 09:31:49 -08:00
Kurt
a9a6962b88 Fix Map dumping 2015-11-20 08:48:19 -08:00
Kurt
04c614e7c0 Update changelog 2015-11-18 20:42:52 -08:00
Kurt
39bd990d62 Add base/entity selection for map export 2015-11-18 20:40:59 -08:00
Kurt
61ea5ad156 Refactoring & Bugfix
SelectedValue requires an int to properly load the index.
2015-11-18 20:29:43 -08:00
Kurt
4df6db2e67 Don't close form if user is (un)packing
To prevent incomplete unpacks/repacks; if they say yes to the abort, the
form will close and all r/w actions will cease.
2015-11-16 22:32:27 -08:00
Kurt
09433f412e Export map image on double click 2015-11-16 22:00:58 -08:00
Kurt
2969de5b5b Fix improper reference 2015-11-16 22:00:47 -08:00
Kurt
39ca38849e Fix possible memory overuse
Mini detection would read all of the file in; no please no.

Don't check for mini if above 10MB.
2015-11-16 21:48:28 -08:00
Kurt
efd4f12e81 Slight speedup/separation of methods 2015-11-16 21:01:44 -08:00
Kurt
9619e4febf Don't draw image by pixel
Just copy in the raw pixel data.
2015-11-16 20:53:38 -08:00
Kurt
abf2b60c5d Add reset macros to restore original data 2015-11-15 20:11:08 -08:00
Kurt
efb5054490 Unlock overworld count edits
Raw editing is sufficient; fixed a bug with the NPC raw, changed warp
coordinate modifying to +/- 18 with the updown arrows, had the NPC ID
show up in red if it didn't match the entity ID.
2015-11-15 19:59:25 -08:00
Kurt
189847d739 Enable RAW editing
Also moved map viewing code to the proper form
2015-11-15 12:05:16 -08:00
Kurt
4df9757f5e fix saving
save the actual new binary
2015-11-15 10:22:33 -08:00
Kurt
59107f50e7 Add sound to alert user the file has been altered 2015-11-14 21:55:55 -08:00
Kurt
196ad7c1b9 Add command line launch instructions
supply filepath, followed by language (optional)
2015-11-14 21:53:29 -08:00
Kurt
1386064cd5 Fix 0th entry not saving
heh
2015-11-14 21:46:52 -08:00
Kurt
06fdcf49e3 Disable adding/removing overworlds
If a user adds an overworld, there is no way to enter the non-editable
data. Best to just leave it this way for now so that tweaks to existing
overworlds can be vetted first before more is unlocked.
2015-11-14 21:09:02 -08:00
Kurt
1ec2519946 Enable Zone saving!
Cleaned up a bunch too.
2015-11-14 21:04:48 -08:00
Kurt
9cd414e0fa Cleaning up + add ZD write method
Added region wraps, class is getting pretty large.
2015-11-14 21:00:53 -08:00
Kurt
44a9f81705 Reconfiguration
Preparing for saving after edits; have to separate out methods.
2015-11-14 09:56:39 -08:00
Kurt
c28053cfd0 Minor updates
dump zd, remove uneeded controls, add parsing for matrix 2nd file (still
no idea the purpose)
2015-11-14 08:29:59 -08:00
Kurt
faa7afc881 Add zonedata coordinate to map
Also made the focus-scroll not steal focus if the form itself doesn't
have it.
2015-11-13 21:10:21 -08:00
Kurt
1275d80c1a Further improvements
Removed obsolete download from thread
Added coordinates(?) for ZoneData
2015-11-13 20:50:35 -08:00
Kurt
66cd56ce7e Add scrolling to map view 2015-11-13 20:48:45 -08:00
Kurt
9e1107278a Add bypass for criteria not found
ie, no dark types in gen 1 -> abort and take anything (will take a close
BST match if rSmart).
2015-11-12 20:58:15 -08:00
Kurt
7ee27b258a Fix individual decompression 2015-11-12 08:04:19 -08:00
Kurt
4485202ebb Dispose of mapView on exit
Actually fixes the 'wait for all forms to close'
2015-11-12 07:55:40 -08:00
Kurt
df29c01bab Update changelog counts
purged downloadable versions from the thread for simplicity
2015-11-11 22:20:05 -08:00
Kurt
05a9f57973 Add matrix slicing 2015-11-11 21:57:32 -08:00
Kurt
c4925e3db5 Minor tweaks
Return bitmap over image
2015-11-11 21:49:39 -08:00
Kurt
e3127e6988 Name buttons 2015-11-11 21:10:18 -08:00
Kurt
ff7aa131b5 Fix controls not being turned off
Also fixed an edge case where an incapable mega evolution would yield a
divide by zero error (megastones.Length == 0 -> % divs by 0.
2015-11-11 21:07:27 -08:00
Kurt
68f855964f Add note comment 2015-11-11 21:06:44 -08:00
Kurt
7e856f0051 Close map view on OWSE exit 2015-11-11 20:47:37 -08:00
Kurt
b6573a1de7 Store unaltered image
If I somehow want to reload entities from OWSE without regenerating the
map image.

Entity images are a little more opaque. 40%->66%
2015-11-11 19:22:34 -08:00
Kurt
fd41cd3e5e Further map visualization improvements
now stretching furniture/warps/triggers; warps are no longer using their
absolute coordinates (0.5 -> 0.0) for visual appeal.
2015-11-11 19:16:17 -08:00
Kurt
68c486ea81 Flip t2 image
Laying over with the T1 masks if both type is there.
2015-11-11 19:15:36 -08:00
Kurt
e36fe36a9e Implement map visualization of entities 2015-11-11 18:30:47 -08:00
Kurt
59bdaa840a Warp widths 2015-11-11 08:01:57 -08:00
Kurt
256300d99a Add separate map view window
Also uncropped the map images for self explanatory coordinates.
2015-11-10 21:33:48 -08:00
Kurt
51c355914d Tweak form name detection
Previously would return without updating the form name; if the user
changed from a game with ExeFS -> one without, the old Text would not be
removed.
2015-11-10 19:23:17 -08:00