forked from rosebudai/OpenRCT2-Web
Add hot reloading support
This commit is contained in:
1 parent
de527b3ff7
commit
3556dead74
4 files changed
+132
-5
No files matched your search
@@ -36,6 +36,7 @@ namespace OpenRCT2::Scripting
|
||||
duk_context * _context{};
|
||||
std::queue<std::tuple<std::promise<void>, std::string>> _evalQueue;
|
||||
std::vector<Plugin> _plugins;
|
||||
uint32 _lastHotReloadCheckTick{};
|
||||
|
||||
public:
|
||||
ScriptEngine(InteractiveConsole& console, IPlatformEnvironment& env);
|
||||
@@ -49,5 +50,6 @@ namespace OpenRCT2::Scripting
|
||||
void Initialise();
|
||||
void LoadPlugins();
|
||||
void StartPlugins();
|
||||
void AutoReloadPlugins();
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user