diff options
| author | jacob1 <jfu614@gmail.com> | 2013-01-17 03:34:32 (GMT) |
|---|---|---|
| committer | jacob1 <jfu614@gmail.com> | 2013-01-17 03:34:32 (GMT) |
| commit | fc9f263961ae84c2c517270a0be4c6d62065324d (patch) | |
| tree | fe95b2f64faf432caaa4e92a0c18432c94a6f517 /src/cat/LuaScriptInterface.h | |
| parent | 639d4fc43c7b89593fc0fa33886c4949bc754c01 (diff) | |
| download | powder-fc9f263961ae84c2c517270a0be4c6d62065324d.zip powder-fc9f263961ae84c2c517270a0be4c6d62065324d.tar.gz | |
sim.get/setPressure, a few constants to the simulation api
Diffstat (limited to 'src/cat/LuaScriptInterface.h')
| -rw-r--r-- | src/cat/LuaScriptInterface.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/cat/LuaScriptInterface.h b/src/cat/LuaScriptInterface.h index 616398a..9dd661b 100644 --- a/src/cat/LuaScriptInterface.h +++ b/src/cat/LuaScriptInterface.h @@ -55,10 +55,19 @@ class LuaScriptInterface: public CommandInterface //Simulation 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_partKill(lua_State * l); + static int simulation_setPressure(lua_State * l); + static int simulation_getPressure(lua_State * l); + /*static int simulation_partKill(lua_State * l); + static int simulation_partKill(lua_State * l); + static int simulation_partKill(lua_State * l); + static int simulation_partKill(lua_State * l); + static int simulation_partKill(lua_State * l); + static int simulation_partKill(lua_State * l);*/ //Renderer void initRendererAPI(); |
