This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 7th, 2012  |  syntax: None  |  size: 0.36 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. };
clone this paste RAW Paste Data