Commit graph

62 commits

Author SHA1 Message Date
9a40249c00 Fixed error when switching between saves with different layers 2022-05-03 01:35:48 -05:00
8f7160c725 Add comments for modifiers 2022-05-01 19:23:43 -05:00
665ddff196 Replaced the two Direction enums with a single one 2022-04-30 23:54:14 -05:00
cfe378020a Added support for reading/loading from different encodings 2022-04-24 16:59:20 -05:00
d988b37e8d Clean up typing 2022-04-23 22:14:47 -05:00
f76d5deb6e Tooltips overhaul 2022-04-23 22:14:45 -05:00
c918f1b54b Add render functions that ensure returned type is always a JSX element 2022-04-23 22:14:29 -05:00
5a59aaf4fc Persistence rework
- Removed makePersistent
- Removed Persistent, renamed PersistentRef to Persistent
- createLazyProxy now takes optional base object
  - For use where previously makePersistent would be used
- Added warnings when creating refs outside a layer
- Added warnings when persistent refs aren't included in their layer object
- createLayer now takes id as a parameter rather than an option
2022-04-10 19:26:33 -05:00
af9b2a8d19 Print key and value in lazy proxy's setter error message 2022-04-01 01:08:22 -05:00
3fa7ccf0c1 Added collapsibles 2022-03-27 19:23:20 -05:00
561dd35570 Added events to onClick 2022-03-27 00:47:34 -05:00
563bf76bee setupHoldToClick calls stop on unmount 2022-03-11 17:01:22 -06:00
e56f34c13c Converted variables that track time to numbers 2022-03-11 15:33:08 -06:00
7524ed3164 Export more types 2022-03-08 19:40:51 -06:00
49474b1518 Changed path aliasing 2022-03-03 21:39:48 -06:00
b9f28f764f allowSmall -> defaultShowSmall, allow it to be overrided 2022-03-02 20:28:11 -06:00
52a9f51510 Renamed modInfo -> projInfo, mod -> projEntry 2022-03-02 20:12:56 -06:00
f352c7d316 Cache decimals used for formatting numbers 2022-03-01 23:40:27 -06:00
5beecba267 Have features register settings fields dynamically 2022-02-27 16:41:39 -06:00
a8af84f581 Reorganized components 2022-02-27 16:04:56 -06:00
e2126472b2 Fixed runtime issues with vue
Entire demo tree has been tested and is fully functional,
including all the options and save manager functionality
2022-02-27 13:49:34 -06:00
90e49e196f Fixing more issues 2022-01-24 22:25:34 -06:00
15a460bf42 Fixing building / cleanup 2022-01-24 22:23:30 -06:00
6f781b33fa New layer API WIP 2022-01-13 22:25:47 -06:00
7c0f93b7ad Renamed grid data -> state 2021-09-19 10:40:18 -05:00
eaf47bb946 Moved properties from player data to new settings and state objects 2021-09-05 18:53:04 -05:00
4869f042a9 Fixed issues with input fields in Saves Manager 2021-09-04 17:15:48 -05:00
6b501dd240 Merge branch 'side-project' 2021-09-04 13:51:06 -05:00
d56aa82297 Fix various issues from typescript update 2021-09-04 00:37:45 -05:00
72e73db048 Fixed things happening on save load 2021-08-28 11:35:25 -05:00
97fe313558 Implemented chapter 2 2021-08-28 11:20:17 -05:00
9313748f21 Added develop action 2021-08-26 23:47:53 -05:00
ae0fbd09eb Refactored actions and added Bed node 2021-08-26 00:04:51 -05:00
a7009e416e Implemented pinning resource amounts 2021-08-24 08:18:55 -05:00
dc912ef54d Fixed typing issues with selected node 2021-08-23 23:55:43 -05:00
040fcfdf5f Fixed formatTime 2021-08-23 23:54:49 -05:00
7618ee291a Implemented confirmable actions (plus logs and other related features) 2021-08-22 22:57:59 -05:00
c4db2a51c7 Fixed hardReset not updating the active save file 2021-08-22 02:00:38 -05:00
11df9853d0 Implemented selecting nodes and running immediate actions 2021-08-22 01:50:03 -05:00
3163b58ba6 Fixed saves issues 2021-08-20 21:14:08 -05:00
02443bbb0c Implemented dropping nodes into each other
Also improved node z-ordering and other related things
2021-08-20 00:47:56 -05:00
0dcf417a31 Implemented most of the basic features for new Board component 2021-08-19 00:26:43 -05:00
d47ce3525d Implemented most of the basic features for new Board component 2021-08-19 00:25:49 -05:00
0afcd1cd3d First pass at typescript support
Oh man did this end up requiring a *ton* of other work as well.
There's still a few typing issues I still can't quite work out,
and others I'd like to improve when I have time. In fact, this version
doesn't even really work, it has a stack overflow error caused by
a tooltip for some reason have a tree inside it, which in turn has
another tooltip, etc. There's also 17 errors that I *really* feel like
shouldn't be there, but they are, and 113 warnings - mostly using !
to assert that things are non-null. Lots of work left to do, to sum up.

The reason I'm committing this now is because I really need to get to
work on my game jam, and since it won't use a tree or really many of
TMT-X's features, I can get away with using a broken engine :)
2021-08-16 23:30:54 -05:00
a1860099ed Fixed loading error 2021-07-24 18:02:56 -05:00
8fe91e88c9 Vue 3 Migration 2021-07-24 17:08:52 -05:00
3671a072a1 Fixes 2021-07-02 08:16:29 -05:00
3772f65919 Used 2 layers tree to test mechanics 2021-07-02 04:50:44 -05:00
e5b031ddb0 onClick, onPress, and onHold => click, press, and hold 2021-06-28 00:20:29 -05:00
9502430280 Implemented hotkeys 2021-06-24 19:13:34 -05:00