Mercurial > mm7
view Engine/LuaVM.h @ 2536:400edd7b0407
DrawTextureIndexed() func
author | Ritor1 |
---|---|
date | Mon, 16 Feb 2015 00:48:08 +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;