mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Sneak: Add option for old move code
Temporary option for the old move code for specific old sneak behaviour. Enabled by setting the added 'new move' physics override to false. By default 'new move' is true.
This commit is contained in:
parent
907be0ab91
commit
f6da7b3fda
10 changed files with 349 additions and 12 deletions
|
@ -68,7 +68,8 @@ std::string gob_cmd_punched(s16 damage, s16 result_hp);
|
|||
std::string gob_cmd_update_armor_groups(const ItemGroupList &armor_groups);
|
||||
|
||||
std::string gob_cmd_update_physics_override(float physics_override_speed,
|
||||
float physics_override_jump, float physics_override_gravity, bool sneak, bool sneak_glitch);
|
||||
float physics_override_jump, float physics_override_gravity,
|
||||
bool sneak, bool sneak_glitch, bool new_move);
|
||||
|
||||
std::string gob_cmd_update_animation(v2f frames, float frame_speed, float frame_blend, bool frame_loop);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue