Minetest  5.4.0
PlayerSettings Struct Reference

#include <player.h>

+ Collaboration diagram for PlayerSettings:

Public Member Functions

void readGlobalSettings ()
 

Public Attributes

bool free_move = false
 
bool pitch_move = false
 
bool fast_move = 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]
 

Member Function Documentation

◆ readGlobalSettings()

void PlayerSettings::readGlobalSettings ( )

References always_fly_fast, autojump, aux1_descends, continuous_forward, fast_move, free_move, g_settings, Settings::getBool(), noclip, and pitch_move.

Referenced by Player::Player().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ always_fly_fast

bool PlayerSettings::always_fly_fast = false

◆ autojump

bool PlayerSettings::autojump = false

◆ aux1_descends

bool PlayerSettings::aux1_descends = false

◆ continuous_forward

bool PlayerSettings::continuous_forward = false

◆ fast_move

bool PlayerSettings::fast_move = false

◆ free_move

bool PlayerSettings::free_move = false

◆ noclip

bool PlayerSettings::noclip = false

◆ pitch_move

bool PlayerSettings::pitch_move = false

◆ setting_names

const std::string PlayerSettings::setting_names[8]
Initial value:
= {
"free_move", "pitch_move", "fast_move", "continuous_forward", "always_fly_fast",
"aux1_descends", "noclip", "autojump"
}

Referenced by Player::Player(), and Player::~Player().


The documentation for this struct was generated from the following files: