diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-01 11:16:33 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-06-01 11:16:33 (GMT) |
| commit | 3d600c69558b4b3e3f05b860531942f1ea2cd1c1 (patch) | |
| tree | a9613463a3f70f856097786ea2c47a438b459e07 /includes | |
| parent | 2c8c4bc567b09996ee69584a7229356cd411c51a (diff) | |
| download | powder-3d600c69558b4b3e3f05b860531942f1ea2cd1c1.zip powder-3d600c69558b4b3e3f05b860531942f1ea2cd1c1.tar.gz | |
Add gravity field manipulation to Lua api, move gravity processing to after the particle update (Means a delay of 1 frame, but we get the ability to manipulate the field with Lua)
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/luaconsole.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h index 187bf01..c646619 100644 --- a/includes/luaconsole.h +++ b/includes/luaconsole.h @@ -21,7 +21,9 @@ int luatpt_setpause(lua_State* l); int luatpt_togglepause(lua_State* l); int luatpt_setconsole(lua_State* l); int luatpt_log(lua_State* l); -int luatpt_reset_pressure(lua_State* l); +int luatpt_set_pressure(lua_State* l); +int luatpt_set_gravity(lua_State* l); +int luatpt_reset_gravity_field(lua_State* l); int luatpt_reset_velocity(lua_State* l); int luatpt_reset_spark(lua_State* l); int luatpt_set_property(lua_State* l); |
