Mercurial > mm7
view Engine/LuaVM.h @ 2570:4d199006c716
debug_terrain_polygin
author | Ritor1 |
---|---|
date | Sun, 24 May 2015 20:49:22 +0600 |
parents | 68cdef6879a0 |
children |
line wrap: on
line source
#pragma once class LuaVM { public: inline LuaVM(): L(nullptr) {} void Initialize(); bool DoFile(const char *filename); protected: struct lua_State *L; const char *GetScriptFileLocation(const char *script_name); }; extern LuaVM *lua;