Mercurial > mm7
annotate LuaVM.h @ 2462:1d04e48651d4
Render split into interface and realization, added Direct3D 11
author | a.parshin |
---|---|
date | Tue, 12 Aug 2014 21:34:18 +0300 |
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; |