summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/script_loader.h
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-07-13 23:57:25 +0300
committeraunsane <aunsane@gmail.com>2018-07-15 15:03:47 +0300
commitce719a1725988bded5566a5d7f596b1ba42cfa91 (patch)
treeee5a96fa51444ed509edb111a0ed49eabda834f2 /plugins/MirLua/src/script_loader.h
parent40198c29b0f5e7f14f73a3e0a62541ac918612a8 (diff)
MirLua: add Evaluate option page to test scripts
Diffstat (limited to 'plugins/MirLua/src/script_loader.h')
-rw-r--r--plugins/MirLua/src/script_loader.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/MirLua/src/script_loader.h b/plugins/MirLua/src/script_loader.h
index 1b7b87eab5..d57bf83fd7 100644
--- a/plugins/MirLua/src/script_loader.h
+++ b/plugins/MirLua/src/script_loader.h
@@ -5,7 +5,9 @@ class CMLuaScriptLoader
private:
lua_State *L;
- CMLuaScriptLoader(lua_State *L);
+ OBJLIST<CMLuaScript> &m_scripts;
+
+ CMLuaScriptLoader(lua_State *L, OBJLIST<CMLuaScript> &scripts);
void SetPaths();
@@ -13,5 +15,5 @@ private:
void LoadScripts();
public:
- static void Load(lua_State *L);
+ static void Load(lua_State *L, OBJLIST<CMLuaScript> &scripts);
};