Client-side autojump. Remove Android-only stepheight autojump (#7228)
authorBen Deutsch <ben@bendeutsch.de>
Thu, 22 Nov 2018 21:47:15 +0000 (22:47 +0100)
committerParamat <paramat@users.noreply.github.com>
Thu, 22 Nov 2018 21:47:15 +0000 (21:47 +0000)
commit93bccb349080b0b184cdda9e7ab4a364664efe70
tree2ee9bff24225c1d50a0ca0ff5c671354af846e44
parent1c91cb8f8f6ea15dc1308aace666bd1ebd25a28c
Client-side autojump. Remove Android-only stepheight autojump (#7228)

Works by detecting a collision while moving forward and then
simulating a jump. If the simulated jump is more successful,
an artificial jump key press is injected in the client.

Includes setting and key change GUI element for enabling and
disabling this feature.
12 files changed:
builtin/settingtypes.txt
minetest.conf.example
src/collision.cpp
src/collision.h
src/defaultsettings.cpp
src/game.cpp
src/gui/guiKeyChangeMenu.cpp
src/localplayer.cpp
src/localplayer.h
src/player.cpp
src/player.h
src/settings_translation_file.cpp