diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-23 19:10:56 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-23 19:10:56 +0100 |
commit | 82216e1476dff509ba0c83bfabf5e4ec6e1075b2 (patch) | |
tree | 0bc00cf47843de86fc18ce03c5866831848a5209 /src/script/common/c_content.h | |
parent | 4dd5ecfc552819ad24557df75b441fab18c0c96a (diff) | |
download | dragonfireclient-82216e1476dff509ba0c83bfabf5e4ec6e1075b2.tar.xz |
LocalPlayer:set_physics_override; minetest.register_on_recieve_physics_override
Diffstat (limited to 'src/script/common/c_content.h')
-rw-r--r-- | src/script/common/c_content.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/script/common/c_content.h b/src/script/common/c_content.h index 5a8bf6700..eeef71c36 100644 --- a/src/script/common/c_content.h +++ b/src/script/common/c_content.h @@ -202,3 +202,5 @@ void push_hud_element (lua_State *L, HudElement *elem); HudElementStat read_hud_change (lua_State *L, HudElement *elem, void **value); void push_collision_move_result(lua_State *L, const collisionMoveResult &res); + +void push_physics_override (lua_State *L, float speed, float jump, float gravity, bool sneak, bool sneak_glitch, bool new_move); |