summaryrefslogtreecommitdiff
path: root/src/cat/LuaScriptInterface.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-02-17 15:24:56 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-02-17 15:24:56 (GMT)
commit52d0bb918d46bef822196c8f7ac3bfd2c0314305 (patch)
tree28dd50ae8c7d7dd7b1daab71f1b1f94d3eeeaab0 /src/cat/LuaScriptInterface.h
parente3453aedd17c600119975f2cd242e73b5353d766 (diff)
downloadpowder-52d0bb918d46bef822196c8f7ac3bfd2c0314305.zip
powder-52d0bb918d46bef822196c8f7ac3bfd2c0314305.tar.gz
sim.partProperty API method, sim.partPosition API method
Diffstat (limited to 'src/cat/LuaScriptInterface.h')
-rw-r--r--src/cat/LuaScriptInterface.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.h b/src/cat/LuaScriptInterface.h
index d925bbe..90c2122 100644
--- a/src/cat/LuaScriptInterface.h
+++ b/src/cat/LuaScriptInterface.h
@@ -54,11 +54,16 @@ class LuaScriptInterface: public CommandInterface
TPTScriptInterface * legacy;
//Simulation
+ static StructProperty * particleProperties;
+ static int particlePropertiesCount;
+ //
void initSimulationAPI();
static void set_map(int x, int y, int width, int height, float value, int mapType);
static int simulation_partNeighbours(lua_State * l);
static int simulation_partChangeType(lua_State * l);
static int simulation_partCreate(lua_State * l);
+ static int simulation_partProperty(lua_State * l);
+ static int simulation_partPosition(lua_State * l);
static int simulation_partKill(lua_State * l);
static int simulation_pressure(lua_State * l);
static int simulation_velocityX(lua_State * l);