Commit Graph

313 Commits

Author SHA1 Message Date
Benjamin Popp
a31043c331 when editing a table anchor, resize and bring that table to the top 2019-04-07 14:35:38 -05:00
Benjamin Popp
74d6200047 better button name 2019-04-07 14:35:05 -05:00
Benjamin Popp
dd1996efe3 fix the background color beside the tabs 2019-04-07 14:00:26 -05:00
Benjamin Popp
ddc37c7504 a table with named elements should show the element name along with the element number. 2019-04-07 13:54:53 -05:00
Benjamin Popp
9e604435da when the find tab finds data in an array, have that line start at the start of the element, not directly with the search results. 2019-04-07 13:47:04 -05:00
Benjamin Popp
f3abaf3a5f fix threading issue 2019-04-07 13:40:13 -05:00
Benjamin Popp
65293493b3 double-clicking on an array highlights a segment, not the whole array 2019-04-07 13:31:22 -05:00
Benjamin Popp
0db31cf7bb show messages when user action causes automatic repointing 2019-04-07 13:27:50 -05:00
Benjamin Popp
46b9fe4ae3 Adding right click option to see if something is text 2019-04-07 13:07:59 -05:00
Benjamin Popp
76ae65d2b0 display ASCII text a different color from poke text 2019-04-07 00:05:08 -05:00
Benjamin Popp
1b0c1ede25 only update the headers when scrolling left/right or when the width changes.
hide the start screen while there are any tabs
Allow Horizontal Scrolling of the data area insetad of wrapping for wide tables.
Notify on width change only after scrolling is complete when jumping to anchors.
Fix a bug where scrolled table headers didn't display correctly.
2019-04-07 00:02:41 -05:00
Benjamin Popp
cf7fd937de fix bug copying pointers from arrays
fix bug adding a format to an anchor only pointed to from an array
2019-04-06 22:28:24 -05:00
Benjamin Popp
585b203455 first round of usability feedback from UT4
- trying to edit a pointer but not starting with '<' now auto-inserts the leading '<'
- trying to complete a pointer without the closing '>' now auto-inserts the trailing '>'
- trying to make a pointer content with just two hex characters interprets as a hex byte
- goto with <> braces strips the braces
- goto with leading 8 or 9 (such as 8123456) subtracts 8000000
- right-click on text has a copy option
- enter, clicking off, or arrow keys now commit instead of reject
- copying an unnamed anchor names the anchor
- pasting an anchor with a used name renames the new anchor
2019-04-06 14:16:43 -05:00
Benjamin Popp
c295a692f9 version bump before I forget 2019-04-01 21:43:19 -05:00
Benjamin Popp
e05791dbfb fix copy/paste bug with tables 2019-04-01 21:13:35 -05:00
Benjamin Popp
093e5fee05 fix goto autocomplete bug
improve paste performance for arrays
2019-04-01 21:04:47 -05:00
Benjamin Popp
05e930c986 updates from self-code review 2019-04-01 20:51:54 -05:00
Benjamin Popp
c4c182a32f changes to enums and element names are now reflected immediately. 2019-03-31 22:16:52 -05:00
Benjamin Popp
1cc4145108 make it possible to toggle custom headers 2019-03-31 22:03:11 -05:00
Benjamin Popp
08b2da4694 matched arrays extend together 2019-03-31 15:15:56 -05:00
Benjamin Popp
87f270301c allow goto things like pokestat/BULBASAUR 2019-03-31 13:48:19 -05:00
Benjamin Popp
f88b2444f9 initial style for combobox 2019-03-30 21:46:54 -05:00
Benjamin Popp
ad4b60e95f don't crop header names 2019-03-30 21:27:11 -05:00
Benjamin Popp
1a56edd804 ugrade start screen to list available default anchors 2019-03-30 21:19:03 -05:00
Benjamin Popp
95842c8e7c auto-find move data 2019-03-30 21:08:40 -05:00
Benjamin Popp
e023b2afd1 find abiilty descriptions 2019-03-30 13:48:09 -05:00
Benjamin Popp
a9e6f055c8 spacebar after editing an enum should commit that edit 2019-03-30 13:25:39 -05:00
Benjamin Popp
f8248236a8 allow creation of a string anchor if the data can be recognize
as a string and that string is being pointed to. Allow this even
if the user does not provide a name.
2019-03-30 13:21:10 -05:00
Benjamin Popp
f4107d3b11 fix bug editing first byte in ascii format 2019-03-29 21:20:08 -05:00
Benjamin Popp
1930a8526b fixes after working with Pokemon Gaia
make copy/paste not add empty elements
2019-03-29 21:16:58 -05:00
Benjamin Popp
bf070ca10f auto-insert pokestats 2019-03-28 21:20:18 -05:00
Benjamin Popp
619ba8b5f8 bug fix: can't put space at front of integer format
bug fix: can copy/paste partial array
bug fix: can copy/paste pointers in array
bug fix: add spaces when copying array
bug fix: changing data in hex changes data in tool
bug fix: changing data in tool changes data in hex
bug fix: parsing an empty string in array doesn't crash
bug fix: closing tab that needs saving doesn't crash
2019-03-27 21:34:28 -05:00
Benjamin Popp
56a0169597 - added right-click menu item to open table tool
- moved tools from the right side to the left side
- tool title is now part of the tool instead of part of the tools children
- tool has previous / next buttons
- fixed weird visual back/forth with the row of column headers not
   knowing how tall to be
- buttons know how to look disabled now
-
2019-03-26 21:34:04 -05:00
Benjamin Popp
8e0ad84fda first draft of the table tool 2019-03-25 20:56:58 -05:00
Benjamin Popp
2a71c37f87 create a custom framework element for the row of column headers
make the headers display the correct data whenever possible
2019-03-22 21:13:19 -05:00
Benjamin Popp
ecb810aa2e adding column headers 2019-03-19 21:17:58 -05:00
Benjamin Popp
cc1b080792 change headers when looking at array data 2019-03-18 20:49:29 -05:00
Benjamin Popp
d5cf6b89cd clean up the UI to make it not look terrible. Still doesn't look great though. 2019-03-18 20:15:25 -05:00
Benjamin Popp
34b3b935e1 adding tests / logic to deal with editing and same-name resolution 2019-03-16 21:12:22 -05:00
Benjamin Popp
ae886b0402 enums can be rendered, but not edited 2019-03-16 20:07:47 -05:00
Benjamin Popp
8777fe85a7 - update pokestats with actual values before starting to work on enums
- page up and page down now work
- long errors wrap instead of moving the menu
2019-03-12 21:30:58 -05:00
Benjamin Popp
617ae4f3f5 @ for goto should support / separator to go to sub-sections of arrays 2019-03-11 23:07:04 -05:00
Benjamin Popp
a00dbfeb97 bugfix: should've been using the flag passed in instead of just passing true
added auto-search tests for types
2019-03-11 23:04:52 -05:00
Benjamin Popp
9d7d1caef3 allow users to type pointers that lead into arrays that support inner anchors 2019-03-11 22:58:49 -05:00
Benjamin Popp
2c3f79242e bypass the anchor overwrite check when loading anchors from metadata 2019-03-11 22:26:01 -05:00
Benjamin Popp
885c187929 it is now possible for users to add arrays with inner anchors manually,
instead of relying on just the auto-search to get it right.
2019-03-11 22:12:08 -05:00
Benjamin Popp
52495eb888 bug fix: it should be possible to remove pointers that point into arrays without crashing the app. 2019-03-11 21:42:31 -05:00
Benjamin Popp
15d67e719c - render anchors within arrays (if the array supports it)
- goto index within array (example: types/2)
- goto index within array still limits screen width based on array
- when searching for pointers, return already existing pointers as well as newly added pointers.
2019-03-09 21:46:03 -06:00
Benjamin Popp
52249384bc arrays can now have pointers pointing within them.
using 'types' as the example of this that the game actually uses.
still have a bunch of pieces to do, but this is the basic code
2019-03-07 21:32:52 -06:00
Benjamin Popp
76d41e6f27 add some tests for the auto-search model. These tests are skippable,
because they depend on loading real data that may not be available on
a development system.
2019-02-18 20:38:51 -06:00