summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-03 20:48:45 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-03 20:48:45 (GMT)
commit61739018759847c4d356a7596926652856030306 (patch)
tree59dd50893ecb47bfab709d778b8a8a02dfc83331 /src/cat/LuaScriptInterface.h
parentf586a5585f3838e78cf6880b84d4c369040b5f67 (diff)
downloadpowder-61739018759847c4d356a7596926652856030306.zip
powder-61739018759847c4d356a7596926652856030306.tar.gz
Old TPT console commands with "!" prefix
Diffstat (limited to 'src/cat/LuaScriptInterface.h')
-rw-r--r--src/cat/LuaScriptInterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.h b/src/cat/LuaScriptInterface.h
index 3d6f0b9..44ad279 100644
--- a/src/cat/LuaScriptInterface.h
+++ b/src/cat/LuaScriptInterface.h
@@ -33,10 +33,12 @@ extern "C"
#define LUACON_EL_MODIFIED_GRAPHICS 0x2
#define LUACON_EL_MODIFIED_MENUS 0x4
+class TPTScriptInterface;
class LuaScriptInterface: public CommandInterface {
int luacon_mousex, luacon_mousey, luacon_selectedl, luacon_selectedr, luacon_mousebutton, luacon_brushx, luacon_brushy;
bool luacon_mousedown;
bool currentCommand;
+ TPTScriptInterface * legacy;
public:
lua_State *l;
LuaScriptInterface(GameModel * m);