summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-29 19:50:18 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-29 19:50:18 (GMT)
commit3e78f64da8265816e973c6047fc9985193311e31 (patch)
treedfaf3444735e4f3709fec4af10a191d74773c2bc /src/cat/LuaScriptInterface.h
parent6760d15be73784537c2f6854c339387ed7f31e79 (diff)
downloadpowder-3e78f64da8265816e973c6047fc9985193311e31.zip
powder-3e78f64da8265816e973c6047fc9985193311e31.tar.gz
Bitops for Lua, incomplete elements API
Diffstat (limited to 'src/cat/LuaScriptInterface.h')
-rw-r--r--src/cat/LuaScriptInterface.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/cat/LuaScriptInterface.h b/src/cat/LuaScriptInterface.h
index f4f6af7..9ae995a 100644
--- a/src/cat/LuaScriptInterface.h
+++ b/src/cat/LuaScriptInterface.h
@@ -42,9 +42,14 @@ class LuaScriptInterface: public CommandInterface {
//Renderer
void initRendererAPI();
- static int luatpt_renderer_renderModes(lua_State * l);
- static int luatpt_renderer_displayModes(lua_State * l);
- static int luatpt_renderer_colourMode(lua_State * l);
+ static int renderer_renderModes(lua_State * l);
+ static int renderer_displayModes(lua_State * l);
+ static int renderer_colourMode(lua_State * l);
+
+ //Elements
+ void initElementsAPI();
+ static int elements_allocate(lua_State * l);
+ static int elements_free(lua_State * l);
public:
lua_State *l;
LuaScriptInterface(GameModel * m);