Commit Graph

10 Commits

Author SHA1 Message Date
Bryan Ashby 5ab927d2f5
Better getConfigPath() 2020-06-29 22:26:35 -06:00
Bryan Ashby 4d4be5d6a9
Major progress on revamp
* Deprecated explicit prompt.hjson/general.promptFile, etc.: menu.hjson can simply include any number of files
* All menus and themes, their events, etc. are managed by ThemeManager allowing includes, refs, etc. and much cleaner code
2020-06-17 00:10:51 -06:00
Bryan Ashby 2bd51c0725 Achievements are now in 'achievements.hjson'
+ Config.general.achievementFile
* Implement (re)caching (aka hot-reload)
* Update values a bit
2019-01-05 12:18:44 -07:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -06:00
Bryan Ashby e9787cee3e ENiGMA 1/2 WILL USE SPACES FROM THIS POINT ON VS TABS
* Really just to make GitHub formatting happy. Arg.
2018-06-21 23:15:04 -06:00
Bryan Ashby 1fe46894d3 More Hot-Reload related changes
* Config.get(): Returns the latest config
* Update code all over the place to use Config.get() vs Config.conf (which will be deprecated)
2018-06-20 19:57:06 -06:00
Bryan Ashby 4aab8224ed Initial version of hot-reload of config, menus, and prompts
* Themes use ES6 Map vs object{}
* Re-write and re-enable config cache using sane
* Events sent for config, prompt, or menu changes
* Event sent for theme changes
* Theme (or parent menu/prompt) changes cause re-merge and updates to connected clients
2018-06-13 21:02:00 -06:00
David Stephens 521e38d7e9 Supply config path to main.js and oputil.js, rather than specific config file 2017-11-25 22:45:19 +00:00
David Stephens 57d46dd57e Mega rejig! 2017-11-22 23:27:33 +00:00
Bryan Ashby ea820dbbbb Missing config_util.js 2016-01-14 22:56:21 -07:00