aboutsummaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-07-18 20:01:17 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-07-18 20:01:17 +0200
commit5a8610c2f41e44c827912246b4f9437051d11621 (patch)
tree04fa785120501182e83c5b05515527bb0428aa63 /src/player.h
parent83f59484d3b03e8964f1c7886dd1a0afd96ddd8d (diff)
downloaddragonfireclient-5a8610c2f41e44c827912246b4f9437051d11621.tar.xz
Added customizable keybindings, improved freecam, added special inventory keybind (by default ender inventory)
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h
index 3bc7762fa..f1b848a2a 100644
--- a/src/player.h
+++ b/src/player.h
@@ -101,14 +101,15 @@ struct PlayerSettings
bool free_move = false;
bool pitch_move = false;
bool fast_move = false;
+ bool freecam = false;
bool continuous_forward = false;
bool always_fly_fast = false;
bool aux1_descends = false;
bool noclip = false;
bool autojump = false;
- const std::string setting_names[8] = {
- "free_move", "pitch_move", "fast_move", "continuous_forward", "always_fly_fast",
+ const std::string setting_names[9] = {
+ "free_move", "pitch_move", "fast_move", "freecam", "continuous_forward", "always_fly_fast",
"aux1_descends", "noclip", "autojump"
};
void readGlobalSettings();