Advertisement
Guest User

Untitled

a guest
Apr 7th, 2012
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. extern "C" {
  2. #include "lua.h"
  3. #include "lualib.h"
  4. #include "lauxlib.h"
  5. }
  6.  
  7.  
  8. class luai{
  9. public:
  10. bool CreateConsole();
  11. bool LoadLua();
  12. void Error(const char *);
  13. bool RunLuaScript(char *);
  14. bool RunLuaFile(char *);
  15. void SetFunctions();
  16. void SetVariables();
  17. bool isLoaded;
  18. void PrintConsole(char *);
  19. void AcceptInput();
  20. static lua_State *L;
  21. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement