Commit Graph

410 Commits

Author SHA1 Message Date
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
Kurt
4fc1e6a342 Change initial modification chk states
Most are unchecked by default.
2015-11-10 17:38:27 -08:00
Kurt
5160c4af82 Improve Map Viewing
Added coordinate display on mouseover, added scrollbars to the generated
map.
2015-11-09 23:07:16 -08:00
Kurt
a9f1d4f8ff Exposing more attributes
I'm able to see where the warps and objects are placed on a generated
map image, which is good. Maybe I'll start overlaying them in future
commits.

Might have to have a Map popup window instead of stuffed away in a tab.
2015-11-09 22:42:15 -08:00
Kurt
bb6bfbaa96 Repack encdata anyway
The fileset true will compress but not delete, screwing up other forms.
2015-11-09 22:41:07 -08:00
Kurt
5ff10fba20 Tweak OWSE set back 2015-11-09 21:20:04 -08:00
Kurt
572ee84595 More insight on coordinates
Multiples of 18 for coordinates; k.
OWSE now displays coordinates for warps/NPCs.
Still no saving changes.
2015-11-09 20:54:49 -08:00
Kurt
d4469378dd Add CRO disclaimer prompt to continue 2015-11-08 22:02:01 -08:00
Kurt
c56ee95f4f Add notifications for decompression
Also added some sanity checks.
2015-11-08 21:59:14 -08:00
Kurt
6ee56c8306 Add LZSS/BLZ decompression by dropping on ToolsUI
Tools UI now has the same functionality as GARCTool.
2015-11-08 21:57:05 -08:00
Kurt
e14451cd11 Expose more NPC attributes in view form
Shows that "Z" is more like degrees...? Lighting or rotation of model?
2015-11-08 21:48:46 -08:00
Kurt
6170193dd7 Tabs to spaces
Clashing indentation styles is noticeable on GitHub.

No code changes.
2015-11-08 20:51:21 -08:00
Kurt
a2f507193b Internal facelift using Script class
All script handling and attributes are now accessible within the object,
easier for rewriting when done.
2015-11-08 18:16:01 -08:00
Kurt
477d36c990 Link to attribution 2015-11-08 18:15:05 -08:00
Kurt
499d89f5e9 Added separate dev script decompressor
Allows user entry of bytes to run through the decompressor.
2015-11-08 16:07:42 -08:00
Kurt
ddb35bee5c Temporary compile time fixes 2015-11-08 13:52:07 -08:00
Kurt
5b34a5c04b Add attributes for all entities
Dumped all entities and analyzed what each one was (and compared to past
gens). Still rough.

Pushing changes for now so I can work on handling Scripts better.
2015-11-08 13:32:17 -08:00
Kurt
fb35721e3b Add force reload for OWSE
For switching games and folders already exist.
Silly ModifierKeys usage.
2015-11-08 13:26:14 -08:00
Kurt
86488cc4b7 Add synthetic warping via doubleclick
So many hidden features, will be visualized later by a button when
things become more clear.
2015-11-08 00:25:29 -08:00
Kurt
d168d96625 Add dumping for overworld entities
Byte arrays / bytes as string for handling outside the program
(research!)
2015-11-07 23:50:56 -08:00
Kurt
83692dd508 Overworld Understanding++
Add Unknown entity class (maybe this is really trigger?)

Fixed
2015-11-07 17:10:53 -08:00
Kurt
c87658c8bc Big update for overworld research
Restructured pretty much everything to allow easier modification down
the road.

Scripts still need more research.
2015-11-07 14:34:06 -08:00
Kurt
0ce28575ec Fix lack of ZD write method.
Oops.
2015-11-06 21:37:42 -08:00
Kurt
ba2b692029 Simplify ZoneData unknowns & writing bugfix
Switched to a get/set class instead.

Fixed a bug indirectly when writing ZoneData; writing flags had two left
shifts in error (first should have been ||).
2015-11-06 21:35:34 -08:00
Kurt
62d7e48cb5 Improve filters for auto HANS export naming 2015-11-06 19:56:13 -08:00
Kurt
296298a210 Minor tweaks
Clean up when done...
2015-11-06 19:34:29 -08:00
Kurt
41ff0aa522 Add packed ExeFS handling on load
Now prompts the user if they want to unpack the file, and will proceed
accordingly.
2015-11-05 23:50:06 -08:00
Kurt
7865cf1e04 Realize ZO first file function
with previous output fix, it's now obvious that this is just a copy of
the zonedata in the master table. Pretty much just like the personal
table having a huge concatenated list of every one.
2015-11-04 23:22:25 -08:00
Kurt
c9040fa6a8 Fix getHexLines bug
Now skips the proper amount of bytes, yields the intended result.
2015-11-04 23:15:11 -08:00
Kurt
2d906abcf4 Misc tweaks
Cleanliness of code, no functionality has changed
2015-11-04 21:17:23 -08:00