summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-09-04 14:20:34 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-09-04 14:20:34 (GMT)
commitd256439c408094356d731afd7ab84c2365cbde7b (patch)
tree6247970adc9f78b91c2c53601e44d1a09f39a66b /src/cat/LuaScriptInterface.h
parentc63f6adcb8bbe1d61ac9c60cda0fb6fd8fd05b2a (diff)
downloadpowder-d256439c408094356d731afd7ab84c2365cbde7b.zip
powder-d256439c408094356d731afd7ab84c2365cbde7b.tar.gz
Some simulation API
Diffstat (limited to 'src/cat/LuaScriptInterface.h')
-rw-r--r--src/cat/LuaScriptInterface.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.h b/src/cat/LuaScriptInterface.h
index b6ebcfe..5bee8e1 100644
--- a/src/cat/LuaScriptInterface.h
+++ b/src/cat/LuaScriptInterface.h
@@ -45,6 +45,13 @@ class LuaScriptInterface: public CommandInterface {
bool currentCommand;
TPTScriptInterface * legacy;
+ //Simulation
+ void initSimulationAPI();
+ static int simulation_partNeighbours(lua_State * l);
+ static int simulation_partChangeType(lua_State * l);
+ static int simulation_partCreate(lua_State * l);
+ static int simulation_partKill(lua_State * l);
+
//Renderer
void initRendererAPI();
static int renderer_renderModes(lua_State * l);