Commit Graph

3075 Commits

Author SHA1 Message Date
haven1433
1ff49ec4f1 another pass at tutorial improvements 2022-10-30 18:43:28 -05:00
haven1433
923984fddd resize tutorials 2022-10-30 16:41:26 -05:00
haven1433
943982374c test tutorials for bugs 2022-10-30 16:30:55 -05:00
haven1433
5b0413de0e finish draft (not tested yet) 2022-10-30 11:01:17 -05:00
haven1433
6d486cf722 bugfix 2022-10-30 00:28:30 -05:00
haven1433
851061da5b first pass at tutorial control 2022-10-30 00:23:01 -05:00
haven1433
10579058b3 add song names for playsong command 2022-10-29 22:52:58 -05:00
haven1433
ffaf42a7b5 add stm and ! support in thumb scripts 2022-10-29 22:52:42 -05:00
haven1433
b9ab016030 first pass at a tutorials viewmodel 2022-10-28 23:50:48 -05:00
haven1433
9ff7fb66c0 additional icons 2022-10-28 23:50:31 -05:00
haven1433
30a654b06c fix crash 2022-10-28 23:50:24 -05:00
haven1433
91d0e3789b request save on close
for the new tab
2022-10-28 22:02:03 -05:00
haven1433
7172165002 saving should mark the history as saved, even when closing
improves cross-tab collaboration for shared histories
2022-10-28 22:01:52 -05:00
haven1433
196d46ea5c fix metadata issues 2022-10-28 21:52:43 -05:00
haven1433
130e9f1eb8 add metadata during create operations
for layout and blockmap
2022-10-28 17:29:34 -05:00
haven1433
19c15d96ed Record both collision ad tile 2022-10-28 17:10:40 -05:00
haven1433
74be3f4ac2 add RenderPrototype
and logic for initial tiles
2022-10-28 10:51:38 -05:00
haven1433
7a6a886c38 refactor 2022-10-28 08:42:20 -05:00
haven1433
87e4d8fcec bugfix 2022-10-27 22:48:36 -05:00
haven1433
e5658e74cf increase the number of changes we can track 2022-10-27 22:48:29 -05:00
haven1433
b5e15ead3f draft
added right-click menu and a draft of the creation logic. Doesn't quite work right yet.
2022-10-27 21:37:05 -05:00
haven1433
6d56881685 ui improvements 2022-10-26 22:30:35 -05:00
haven1433
d9b9735d92 color update
orange was too close to red
2022-10-26 19:10:06 -05:00
haven1433
216ac5ebec improve arg recognition
signpost args are complicated. The app can now tell the difference between the different 'kinds'.
2022-10-26 07:39:26 -05:00
haven1433
191df576b7 fix cut/paste for table streams
pokemart pasting didn't work if there was an unmapped pointer with the same table name. Fixed.
2022-10-25 22:02:48 -05:00
haven1433
cab4966c8a fix bug with single-line multi-line comments
if the start and end of a multi-line comment were on the same line, it wasn't parsed correctly, leading to a memory overflow
2022-10-25 20:05:17 -05:00
haven1433
b75c96030f use a no-change token when loading map scripts
this doesn't need to go in undo/redo. It's more in the 'deferred loading' category.
2022-10-25 07:17:08 -05:00
haven1433
f54487c13c fix support for x86 / x64 2022-10-24 23:04:31 -05:00
haven1433
331c584673 version bump v0.4.5 2022-10-23 20:47:41 -05:00
haven1433
7483568a97 add battletower prizes table (FR/LG) 2022-10-23 20:42:05 -05:00
haven1433
0824afb1a8 add emoji support
F9 needed to be handled like other escapes
2022-10-23 20:40:25 -05:00
haven1433
a78ca56744 appending to a table should refresh the table view
so that new elements can be seen when in single-table-focus

don't write runs into other runs when changing pointers in text-pointer tables.
2022-10-23 20:09:47 -05:00
haven1433
93ccd80230 fix metadata creation issues
* if adding a new run would overwrite the pointer that made us want to add it, stick with a no-info run.
* if adding a palette would cause us to overwiret a pointer that made us want to add it, stick with a no-info run
2022-10-22 21:28:52 -05:00
haven1433
c928418339 improve OW palette display
* if multiple OWs use the same sprite, it'll show the right palette in the highest table and tooltip now. Drilling down further levels will still show the sprite with the first palette, since at that level the sprite can't tell which palette it should use. This is similar to how the Ruby/Sapphire item sprites work.
2022-10-22 15:19:46 -05:00
haven1433
b6d20a3820 stub updates 2022-10-21 08:59:29 -05:00
haven1433
d9a9261ea7 fix tuple upgrade bug 2022-10-21 08:59:22 -05:00
haven1433
3615c5174c fix liquid crystal patch metadata bug
* add debug message for non-positive run lengths
* add a sanity check for the number of pokemon in a trainer team. In vanilla it'll never be more than 6, so put a reasonable cap of 1000 on it to prevent possible integer overflows
* make sure that a missing map names table doesn't cause issues
2022-10-21 07:40:17 -05:00
haven1433
8980c8f631 sanitize names 2022-10-20 22:58:44 -05:00
haven1433
a966a18831 fix ruby music naming bug 2022-10-20 22:51:05 -05:00
haven1433
e00b2d6187 add/remove destinations 2022-10-20 22:29:49 -05:00
haven1433
953fe52fb6 improve tuple model
* add fly spots to event list
* allow moving/deleting fly spots
* remove Elevation from base event interface
* improve header UI
2022-10-20 21:48:29 -05:00
haven1433
d80680270a header improvements
also fix a weird bug that can happen when pasting characters at the end of a text stream that needs to be repointed
2022-10-19 20:36:58 -05:00
haven1433
a371b65a15 fix bugs
* don't freeze when AMap saves
* allow edit->paste to target the ViewPort even if it doesn't have focus
* notify on repoint
* command to jump to data in the viewport
* show hover point in the corner
* finish script UI (add, remove, edit)
* find record fields when doing Show Uses
* tooltip for address for rom overview
2022-10-19 20:00:24 -05:00
haven1433
f2f8b1ac06 limit the number of elements in a sub table
can't be less than zero, can't be more than 1000
2022-10-19 06:34:51 -05:00
haven1433
dc7878b0f0 bugfixes
* make sure the model length changes after importing a sprite causes the rom to auto-expand
* require less freespace by default as excess to a run being expanded, and require less freespace buffer placed after runs.
* fix double-click crashes reported by wet blanket
* if Ctrl+F is used before the rom finishes loading, wait for the rom to finish loading before trying to do the find.
*
2022-10-16 22:24:50 -05:00
haven1433
afe1dc59b9 add alias instruction so that add rX, rX, #Y maps to add rX, #Y 2022-10-16 00:52:42 -05:00
haven1433
e0e81612a9 set a max width for the custom dialog popups 2022-10-16 00:10:18 -05:00
haven1433
86bfec7b1f bugfixes
* python tool should support reading/writing tuples in tables
* writing `0` to a length in a table should update the children to be null (and delete the data)
* change an element count from 0 should create new data if the pointer is null
* creating new data via `@{` should update the length
* tested that this also works as expected with trainer teams (tpt)
* might have issues with ows, but they handle length differently
2022-10-16 00:06:34 -05:00
haven1433
492003dd37 fix threading issue
If we're already on the UI thread (and doing something that suspends dispatching), there's not need to dispatch, just do the work
2022-10-14 21:13:52 -05:00
haven1433
74a3ef523d add safety code 2022-10-14 20:46:01 -05:00