Commit graph

10 commits

Author SHA1 Message Date
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
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
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
a7009e416e Implemented pinning resource amounts 2021-08-24 08:18:55 -05:00
11df9853d0 Implemented selecting nodes and running immediate actions 2021-08-22 01:50:03 -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