blob: d57bf83fd773798abd8eb446eab41ae2f93f75fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#pragma once
class CMLuaScriptLoader
{
private:
lua_State *L;
OBJLIST<CMLuaScript> &m_scripts;
CMLuaScriptLoader(lua_State *L, OBJLIST<CMLuaScript> &scripts);
void SetPaths();
void LoadScript(const wchar_t *scriptDir, const wchar_t *fileName);
void LoadScripts();
public:
static void Load(lua_State *L, OBJLIST<CMLuaScript> &scripts);
};
|