Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

eventinterpreter.h

Go to the documentation of this file.
00001 #ifndef EVENT_H 00002 #define EVENT_H 00003 00004 extern "C" 00005 { 00006 #include <lua.h> 00007 #include <lualib.h> 00008 #include <lauxlib.h> 00009 } 00010 00011 #include "world/world.h" 00012 00029 class EventInterpreter 00030 { 00031 public: 00033 EventInterpreter(World &world , const char *file); 00035 ~EventInterpreter(); 00036 00038 void Function(const char *function); 00039 00040 #define REGISTER(name) static int name(lua_State *l); 00041 #include "register.h" 00042 00043 private: 00044 static World *currworld; 00045 lua_State *l; 00046 }; 00047 00048 #endif

Generated on Sun Mar 20 12:22:07 2005 for The Grid by doxygen 1.3.8