Mercurial > mm7
annotate LuaVM.h @ 2184:e0863f5beee0
SPELL_WATER_RECHARGE_ITEM
author | Ritor1 |
---|---|
date | Fri, 24 Jan 2014 18:01:51 +0600 |
parents | 62a27b2cfcc2 |
children |
rev | line source |
---|---|
2052 | 1 #pragma once |
2 | |
3 class LuaVM | |
4 { | |
5 public: | |
2054 | 6 inline LuaVM(): L(nullptr) {} |
7 | |
2052 | 8 void Initialize(); |
9 bool DoFile(const char *filename); | |
10 | |
11 protected: | |
12 struct lua_State *L; | |
13 | |
14 const char *GetScriptFileLocation(const char *script_name); | |
15 }; | |
16 extern LuaVM *lua; |