aboutsummaryrefslogtreecommitdiff
path: root/src/scriptapi_object.h
diff options
context:
space:
mode:
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>2013-04-05 01:03:28 -1000
committerPilzAdam <pilzadam@minetest.net>2013-04-05 02:00:59 +0200
commitc5a8448c41e4ea9d33a43cebef61425d4568a46d (patch)
treebd612dd0d2b8e7589f14a2c403b423480af5798d /src/scriptapi_object.h
parent2a0badf2d565ce4bebe2910c88795c0fe51a0341 (diff)
downloadminetest-c5a8448c41e4ea9d33a43cebef61425d4568a46d.tar.xz
Allow modifying movement speed, jump height and gravity per-player via the Lua API.
Diffstat (limited to 'src/scriptapi_object.h')
-rw-r--r--src/scriptapi_object.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scriptapi_object.h b/src/scriptapi_object.h
index a37abbb78..a44016933 100644
--- a/src/scriptapi_object.h
+++ b/src/scriptapi_object.h
@@ -103,6 +103,9 @@ private:
// set_armor_groups(self, groups)
static int l_set_armor_groups(lua_State *L);
+ // set_physics_override(self, physics_override_speed, physics_override_jump, physics_override_gravity)
+ static int l_set_physics_override(lua_State *L);
+
// set_animation(self, frame_range, frame_speed, frame_blend)
static int l_set_animation(lua_State *L);