Commit Graph

1062 Commits

Author SHA1 Message Date
Benjamin Popp
c3b0156502 Improve script tokenizing 2020-05-15 11:12:31 -05:00
Benjamin Popp
dc8f7952da Close help when within stream content 2020-05-15 10:45:51 -05:00
Benjamin Popp
38b57bddf4 Close code popup when scrolling 2020-05-15 10:43:23 -05:00
Benjamin Popp
42a3f9d6de Don't auto-open the tools if they're closed.
This used to be good, but since the tools are now opened by default, this seems less needed, and is instead jarring when it auto-opens the tool after the user intentionally closed it.
2020-05-14 16:01:27 -05:00
Benjamin Popp
6e926e2d52 Fix special character encoding 2020-05-14 15:32:16 -05:00
Benjamin Popp
3b44f9ce15 Don't edit newlines in strings 2020-05-12 21:04:56 -05:00
Benjamin Popp
381eaeca3f Allow inline writes with comma-separated values 2020-05-12 20:58:22 -05:00
Benjamin Popp
bfeed682d4 Add headers to tables with named elements 2020-05-12 20:32:55 -05:00
Benjamin Popp
f55991e85a Verify that table stream read/write is symmetric 2020-05-12 20:06:30 -05:00
Benjamin Popp
185035a93e Allow ending a comment with a # 2020-05-12 19:53:46 -05:00
Benjamin Popp
6895225183 Separate text elements with commas when copying 2020-05-12 19:53:35 -05:00
Benjamin Popp
8370d27191 Add support for deep copy
Most of this is boilerplate. The actual implementation change is in ArrayRunElementSegment.ToText. Converting a pointer element segment to text can now optionally collect the *content* of that pointer, instead of the pointer itself.

The second test is to fix a bug in plm AppendTo.
2020-05-12 16:26:32 -05:00
Benjamin Popp
1c3175ed3f Allow entering comments
this currently exists for paste-scripts. But it could eventually be extended to allow for comments stored in the TOML.
2020-05-12 13:25:18 -05:00
Benjamin Popp
781a2939be Allow creating pointers inline 2020-05-12 09:33:10 -05:00
Benjamin Popp
862cade012 add more enums for scripting 2020-05-12 08:23:47 -05:00
Benjamin Popp
9a76e2c295 Allow following existing pointers during paste-scripts 2020-05-12 08:23:09 -05:00
Benjamin Popp
187fdf4eb2 Make sure that NotifyPropertyChange is notifying on actual property names 2020-05-11 14:53:23 -05:00
Benjamin Popp
184e3308fc Fix 256-color tilemap image import bugs 2020-05-11 14:27:39 -05:00
Benjamin Popp
d48af19488 Add trainer animations pointer sources 2020-05-11 10:39:30 -05:00
Benjamin Popp
108d70fa81 Add tables for trainer animations
Trying to expand trainer sprites without including these tables freezes the game whenever a battle is started with a trainer that uses one of the new sprites.
2020-05-11 09:10:19 -05:00
Benjamin Popp
b67baf22af Initial attempt at 256-color image import
The image imports incorrectly, but nothing crashes.
2020-05-10 14:04:42 -05:00
Benjamin Popp
fb2e500b5b Support decoding Bgra32 images 2020-05-08 08:16:02 -05:00
Benjamin Popp
2548747a62 Improve filter discoverability 2020-05-07 21:36:03 -05:00
Benjamin Popp
b7c6fa01d6 Fix Find/Hex visibility issue 2020-05-07 21:35:51 -05:00
Benjamin Popp
19755a8620 Improve performance
SpriteImage should only refresh when the width/height/data change.
2020-05-07 20:49:27 -05:00
Benjamin Popp
90a06ac84a Make Undo/Redo work from a dex tab 2020-05-07 20:30:23 -05:00
Benjamin Popp
16264ec909 allow multiselect/move 2020-05-07 20:23:21 -05:00
Benjamin Popp
2aecd6ccfb Update selection during mouse interactions 2020-05-07 15:06:50 -05:00
Benjamin Popp
5b88752fb8 Add selection boilerplate code 2020-05-07 14:47:48 -05:00
Benjamin Popp
5374da126b Refactor: move logic to viewmodel 2020-05-07 12:52:33 -05:00
Benjamin Popp
0b793e9207 Bugfix: don't auto-switch tabs when working with array text 2020-05-07 11:28:06 -05:00
Benjamin Popp
9995e60fa4 Add filter-by-type criteria 2020-05-07 11:18:44 -05:00
Benjamin Popp
89bd28232a Bugfix: limit range during drag interactions
don't allow the user to drag before the first position or after the last position.
2020-05-07 11:01:56 -05:00
Benjamin Popp
8f1dd3f78f Add filter feature to dex tab 2020-05-07 10:33:31 -05:00
Benjamin Popp
9d50c4e1e0 Improve debugging 2020-05-07 10:29:48 -05:00
Benjamin Popp
fb9b89bab9 add bag sprite/palette and large berry sprites 2020-05-06 21:46:59 -05:00
Benjamin Popp
c87c6afca2 Fix table tool: streams should not have leading '+' on each line 2020-05-06 21:08:52 -05:00
Benjamin Popp
90dc561e2e Consider offset of child table 2020-05-06 20:54:56 -05:00
Benjamin Popp
8d17bde00f Improve dex warnings 2020-05-06 20:36:48 -05:00
Benjamin Popp
126506da81 Refactor 2020-05-06 12:27:41 -05:00
Benjamin Popp
b3b9f416b9 Animate movement 2020-05-06 12:26:10 -05:00
Benjamin Popp
8201dcf3cd Fix crash when moving pokemon from gen3 to gen1 2020-05-06 10:22:23 -05:00
Benjamin Popp
db045c460a fix dex reorder bug 2020-05-05 21:50:25 -05:00
Benjamin Popp
d6deae9fb2 Fix scrolling selection bug
When scrolled vertically, select as such
2020-05-05 21:50:16 -05:00
Benjamin Popp
5545e2eb70 Attempt to fix startup crash
The crash happened because the ModelTable was looking for the frontsprites / pokepalettes, which it couldn't find.
2020-05-05 21:22:20 -05:00
Benjamin Popp
dd0e2f89aa Make the first tile in a tileset a 'blank' tile
useful for transparency and layering effects, used for things like the first-person-view. Without this, the first tile gets plastered on top of the view after the screen clears, blocking the user from seeing anything.
2020-05-05 20:37:24 -05:00
Benjamin Popp
fef8f7648d Add battlebackground support 2020-05-05 20:08:52 -05:00
Benjamin Popp
3de725cd25 Improve Robustness 2020-05-05 15:46:58 -05:00
Benjamin Popp
acdbc1408f Update table tool on tab switch 2020-05-05 15:29:27 -05:00
Benjamin Popp
f91a199f04 Update pointers/anchors after dex reorder 2020-05-05 12:57:37 -05:00