Commit graph

337 commits

Author SHA1 Message Date
e90aac51f2 save before loading new save 2021-08-24 19:48:07 -05:00
d2e0ab29f2 Various mobile fixes 2021-08-24 19:19:55 -05:00
a7009e416e Implemented pinning resource amounts 2021-08-24 08:18:55 -05:00
b41e44e87e Implemented links between resource nodes 2021-08-24 02:54:42 -05:00
4312b7ac75 Fixed various node and action selection issues 2021-08-24 01:23:25 -05:00
e52b3751c9 Improved look of log 2021-08-24 00:40:36 -05:00
8a38ecf928 Added amount displays to resource and item nodes 2021-08-23 23:56:21 -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
bb54904464 Fixed mobile not being able to click actions 2021-08-22 23:16:14 -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
35b3226995 Updated action node type 2021-08-20 23:53:59 -05:00
0dc1af27b5 Fixed nodes always being draggable 2021-08-20 23:53:40 -05:00
0e139785a5 Fixed a couple type errors 2021-08-20 23:45:57 -05:00
4e7dfe8cbf Removed tooltip field from board node type 2021-08-20 23:33:54 -05:00
b43f3003b5 Added diamond shaped nodes 2021-08-20 23:21:29 -05:00
0ced1d7cd7 Added update() method to nodes 2021-08-20 22:07:34 -05:00
fbe4f7883f Fixed starting nodes returning on refresh after being removed 2021-08-20 21:42:11 -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
f3b934337f Added board with basic time resource node 2021-08-19 00:26:34 -05:00
d47ce3525d Implemented most of the basic features for new Board component 2021-08-19 00:25:49 -05:00
fbd01497e7 cleaned up setupFeatures 2021-08-18 00:18:52 -05:00
c8651adb6b cleaned up setupFeatures 2021-08-18 00:18:23 -05:00
d30cc8688f Made setupFeatures use more accurate types 2021-08-17 22:31:02 -05:00
6e1536930e Made setupFeatures use more accurate types 2021-08-17 22:30:49 -05:00
269b40b821 Added type predicate to setDefault 2021-08-17 18:39:19 -05:00
78ca3713a1 Added type predicate to setDefault 2021-08-17 18:39:11 -05:00
8fff8f2835 setup basic mod info 2021-08-17 08:06:30 -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
0c2203688b Fixed scrolling issues with tabs 2021-07-25 23:04:51 -05:00
5676260809 Fixed visual issues with minimize button 2021-07-24 18:03:09 -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
8103377ab0 Made offline time build up when paused 2021-07-02 21:04:03 -05:00
1017735fdf Added pause game toggle to options and NaN screen 2021-07-02 09:03:04 -05:00
43790603d4 Add saves manager button to NaN detected screen 2021-07-02 08:48:34 -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
f50d634812 Cleaned up store/layers.js 2021-06-28 22:34:02 -05:00
465d15df15 Fixed switching saves causing some getters to not update 2021-06-28 21:36:39 -05:00
25e73c80da Fixed saves manager not saving active save 2021-06-28 18:58:58 -05:00
e5b031ddb0 onClick, onPress, and onHold => click, press, and hold 2021-06-28 00:20:29 -05:00
6849b89706 Optimized some tooltips 2021-06-27 17:07:13 -05:00
096e7f928c Fixed microtabs issue 2021-06-27 16:59:35 -05:00
ae036225b1 Optimized some modals 2021-06-27 16:45:33 -05:00
beb9e38b92 Improved tooltip performance 2021-06-27 14:48:43 -05:00
380da5069e Fixed issues with debugging vue
Particularly when switching saves
2021-06-27 13:22:07 -05:00
d2361bc444 Fixed issues with gridables proxy 2021-06-26 11:47:44 -05:00
273b9e0118 Fix respecing buyables 2021-06-26 01:45:05 -05:00
6a13fdbfaa Removed stray debug line 2021-06-24 22:34:07 -05:00
b05191a715 Fix clickables 2021-06-24 22:15:10 -05:00
9502430280 Implemented hotkeys 2021-06-24 19:13:34 -05:00
2bea76fc61 Made nav more consistent 2021-06-24 00:57:20 -05:00
f1340b1b24 Fixed tree node locked tooltip appearing before unlocking the layer 2021-06-23 20:09:44 -05:00
514752056c Added tooltips to gridables for testing 2021-06-23 20:04:37 -05:00
2cd367eebe Added support for custom components in tooltips 2021-06-23 19:48:41 -05:00
87e43ed873 Minor visual fixes 2021-06-22 08:22:05 -05:00
d99020b422 Fix non-centered slider in illuminati 2021-06-22 07:56:11 -05:00
3b9395e484 Fixed tooltips on side nodes getting clipped 2021-06-22 07:43:19 -05:00
97f40bf4a2 Fixed achievements' gridables being broken 2021-06-22 07:17:32 -05:00
ae9578ad3a Fixed various scrolling issues 2021-06-22 03:34:59 -05:00
136be9282b Automatically import and register all components 2021-06-20 23:46:13 -05:00
f018016477 Implemented saves manager 2021-06-20 23:29:55 -05:00
69b1fff796 Implemented NaN screen 2021-06-16 00:36:13 -05:00
0836550abe Implemented game over screen 2021-06-15 23:46:34 -05:00
95cc29664b Implemented resetting layers and associated features/fixes 2021-06-15 23:07:32 -05:00
232e628daa Fix subtab background color not affecting entire tab 2021-06-15 09:21:11 -05:00
af0c4373a3 Added dev speed, offline time, and points/s to default main tab 2021-06-14 09:04:08 -05:00
38e85dec2c Implemented game loop 2021-06-13 22:16:38 -05:00
684c72ade0 Added minimizing tabs 2021-06-13 03:57:33 -05:00
8e5c1b457d Fixed modals not appearing on top 2021-06-12 00:41:25 -05:00
7778fc0a6d Allowed go back button to be disabled in modInfo 2021-06-12 00:20:58 -05:00
c9858ff365 Added minWidth property to layers 2021-06-12 00:08:45 -05:00
4f23e2a264 Added append setting to trees 2021-06-11 23:55:52 -05:00
adf7d7a67c Added layer features 2021-06-11 23:38:16 -05:00
e6676d48fc Set up main display including component coercion 2021-05-27 01:14:43 -05:00
b91a7cdc28 Implemented proxies 2021-05-25 20:57:02 -05:00
829eac7068 Implemented settings and info modals 2021-05-22 15:39:27 -05:00
82adac7317 Implemented displaying tabs 2021-05-20 00:11:03 -05:00
5e4ec334a7 Implemented "main" UI and added big number abstraction 2021-05-19 23:27:23 -05:00
3a8c92f0b7 Updated code style and removed unnecessary starter files 2021-05-19 17:48:02 -05:00
674cbe3ff4 Install vuex 2021-05-19 17:23:41 -05:00
e677a83ed0 Create vue app 2021-05-19 17:21:51 -05:00