#include <GameConfig.h>
|
Bool | AlwaysRun = {this, "always_run", true, "Enable always run."} |
|
Bool | FlipOnExit = {this, "flip_on_exit", false, "Flip 180 degrees when leaving a building."} |
|
Bool | ShowHits = {this, "show_hits", true, "Show HP status in status bar."} |
|
Int | MusicLevel = {this, "music_level", 3, &ValidateLevel, "Music volume level."} |
|
Int | SoundLevel = {this, "sound_level", 4, &ValidateLevel, "Sound volume level."} |
|
Int | VoiceLevel = {this, "voice_level", 5, &ValidateLevel, "Voice volume level."} |
|
Int | ScreenshotNumber = {this, "screenshot_number", 0, "Last saved screenshot number."} |
|
Int | TurnSpeed |
|
Int | VerticalTurnSpeed = {this, "vertical_turn_speed", 25, &ValidateVerticalTurnSpeed, "Discrete vertical turn speed."} |
|
Bool | WalkSound = {this, "walk_sound", true, "Enable footsteps sound when walking."} |
|
◆ Settings()
GameConfig::Settings::Settings |
( |
GameConfig * |
config | ) |
|
|
inlineexplicit |
◆ ValidateLevel()
static int GameConfig::Settings::ValidateLevel |
( |
int |
level | ) |
|
|
inlinestaticprivate |
◆ ValidateTurnSpeed()
static int GameConfig::Settings::ValidateTurnSpeed |
( |
int |
speed | ) |
|
|
inlinestaticprivate |
◆ ValidateVerticalTurnSpeed()
static int GameConfig::Settings::ValidateVerticalTurnSpeed |
( |
int |
speed | ) |
|
|
inlinestaticprivate |
◆ AlwaysRun
Bool GameConfig::Settings::AlwaysRun = {this, "always_run", true, "Enable always run."} |
◆ FlipOnExit
Bool GameConfig::Settings::FlipOnExit = {this, "flip_on_exit", false, "Flip 180 degrees when leaving a building."} |
◆ MusicLevel
Int GameConfig::Settings::MusicLevel = {this, "music_level", 3, &ValidateLevel, "Music volume level."} |
◆ ScreenshotNumber
Int GameConfig::Settings::ScreenshotNumber = {this, "screenshot_number", 0, "Last saved screenshot number."} |
◆ ShowHits
Bool GameConfig::Settings::ShowHits = {this, "show_hits", true, "Show HP status in status bar."} |
◆ SoundLevel
Int GameConfig::Settings::SoundLevel = {this, "sound_level", 4, &ValidateLevel, "Sound volume level."} |
◆ TurnSpeed
Int GameConfig::Settings::TurnSpeed |
Initial value:
"Discrete turn speed, use 0 for smooth, 16 for 64 degrees turn, 32 for 128 degrees turn, etc. "
"Only smooth is usable on modern machines."}
static int ValidateTurnSpeed(int speed)
Definition: GameConfig.h:614
◆ VerticalTurnSpeed
Int GameConfig::Settings::VerticalTurnSpeed = {this, "vertical_turn_speed", 25, &ValidateVerticalTurnSpeed, "Discrete vertical turn speed."} |
◆ VoiceLevel
Int GameConfig::Settings::VoiceLevel = {this, "voice_level", 5, &ValidateLevel, "Voice volume level."} |
◆ WalkSound
Bool GameConfig::Settings::WalkSound = {this, "walk_sound", true, "Enable footsteps sound when walking."} |
The documentation for this class was generated from the following file: