Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extern "C" {
- #include "lua.h"
- #include "lualib.h"
- #include "lauxlib.h"
- }
- class luai{
- public:
- bool CreateConsole();
- bool LoadLua();
- void Error(const char *);
- bool RunLuaScript(char *);
- bool RunLuaFile(char *);
- void SetFunctions();
- void SetVariables();
- bool isLoaded;
- void PrintConsole(char *);
- void AcceptInput();
- static lua_State *L;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement