Rise
The Vieneo Province
Loading...
Searching...
No Matches
Config Class Reference

#include <config.h>

Collaboration diagram for Config:
[legend]

Public Member Functions

void Save ()
 Config ()
void LoadPatchDate ()
bool SavePatchDate (int &errorCode, unsigned long &osErrorCode) const
void DefaultBindings ()

Public Attributes

unsigned char language = 0
bool g_bCheckSteamLanguage = false
bool g_bSoundIntroMusic = true
bool g_bAutoLogin = true
unsigned char configver = 0
char defaultuser [13] = { 0 }
char defaultpass [16] = { 0 }
char patchdate [24] = { 0 }
bool g_bStartFullscreen = false
unsigned char videoSamples = 4
bool videoVSync = true
float scale = 0.0f
bool g_bClosedCaptioning = false
InputConfig inputConfigPitch
InputConfig inputConfigRoll
InputConfig inputConfigYaw
InputConfig inputConfigThrustLeft
InputConfig inputConfigThrustRight
InputConfig inputConfigElevatorTrim
InputConfig inputConfigSteer
InputConfig inputConfigGas
InputConfig inputConfigBrake
InputConfig inputConfigLeftToeBrake
InputConfig inputConfigRightToeBrake
InputConfig inputConfigLookLateral
InputConfig inputConfigLookVertical
InputConfig inputConfigPitchTrim
InputConfig inputConfigWalkLateral
InputConfig inputConfigWalkVertical
SoundConfig soundConfigComputer
SoundConfig soundConfigComms
SoundConfig soundConfigLegacy
SoundConfig soundConfigRadio
std::vector< KeyBinding > keyBindings
std::vector< ButtonBinding > buttonBindings
std::vector< POVBinding > povBindings

Private Member Functions

void Loader ()

Private Attributes

bool SaveDir = false
bool initialized = false

Detailed Description

Definition at line 12 of file config.h.

Constructor & Destructor Documentation

◆ Config()

Config::Config ( )

Definition at line 14 of file config.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ DefaultBindings()

void Config::DefaultBindings ( )

Definition at line 109 of file config.cpp.

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

◆ Loader()

void Config::Loader ( )
private

Definition at line 232 of file config.cpp.

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

◆ LoadPatchDate()

void Config::LoadPatchDate ( )

Definition at line 31 of file config.cpp.

Here is the caller graph for this function:

◆ Save()

void Config::Save ( )

Definition at line 648 of file config.cpp.

Here is the caller graph for this function:

◆ SavePatchDate()

bool Config::SavePatchDate ( int & errorCode,
unsigned long & osErrorCode ) const

Definition at line 56 of file config.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ buttonBindings

std::vector<ButtonBinding> Config::buttonBindings

Definition at line 55 of file config.h.

◆ configver

unsigned char Config::configver = 0

Definition at line 20 of file config.h.

◆ defaultpass

char Config::defaultpass[16] = { 0 }

Definition at line 22 of file config.h.

◆ defaultuser

char Config::defaultuser[13] = { 0 }

Definition at line 21 of file config.h.

◆ g_bAutoLogin

bool Config::g_bAutoLogin = true

Definition at line 19 of file config.h.

◆ g_bCheckSteamLanguage

bool Config::g_bCheckSteamLanguage = false

Definition at line 17 of file config.h.

◆ g_bClosedCaptioning

bool Config::g_bClosedCaptioning = false

Definition at line 30 of file config.h.

◆ g_bSoundIntroMusic

bool Config::g_bSoundIntroMusic = true

Definition at line 18 of file config.h.

◆ g_bStartFullscreen

bool Config::g_bStartFullscreen = false

Definition at line 26 of file config.h.

◆ initialized

bool Config::initialized = false
private

Definition at line 60 of file config.h.

◆ inputConfigBrake

InputConfig Config::inputConfigBrake

Definition at line 40 of file config.h.

◆ inputConfigElevatorTrim

InputConfig Config::inputConfigElevatorTrim

Definition at line 37 of file config.h.

◆ inputConfigGas

InputConfig Config::inputConfigGas

Definition at line 39 of file config.h.

◆ inputConfigLeftToeBrake

InputConfig Config::inputConfigLeftToeBrake

Definition at line 41 of file config.h.

◆ inputConfigLookLateral

InputConfig Config::inputConfigLookLateral

Definition at line 43 of file config.h.

◆ inputConfigLookVertical

InputConfig Config::inputConfigLookVertical

Definition at line 44 of file config.h.

◆ inputConfigPitch

InputConfig Config::inputConfigPitch

Definition at line 32 of file config.h.

◆ inputConfigPitchTrim

InputConfig Config::inputConfigPitchTrim

Definition at line 45 of file config.h.

◆ inputConfigRightToeBrake

InputConfig Config::inputConfigRightToeBrake

Definition at line 42 of file config.h.

◆ inputConfigRoll

InputConfig Config::inputConfigRoll

Definition at line 33 of file config.h.

◆ inputConfigSteer

InputConfig Config::inputConfigSteer

Definition at line 38 of file config.h.

◆ inputConfigThrustLeft

InputConfig Config::inputConfigThrustLeft

Definition at line 35 of file config.h.

◆ inputConfigThrustRight

InputConfig Config::inputConfigThrustRight

Definition at line 36 of file config.h.

◆ inputConfigWalkLateral

InputConfig Config::inputConfigWalkLateral

Definition at line 46 of file config.h.

◆ inputConfigWalkVertical

InputConfig Config::inputConfigWalkVertical

Definition at line 47 of file config.h.

◆ inputConfigYaw

InputConfig Config::inputConfigYaw

Definition at line 34 of file config.h.

◆ keyBindings

std::vector<KeyBinding> Config::keyBindings

Definition at line 54 of file config.h.

◆ language

unsigned char Config::language = 0

Definition at line 16 of file config.h.

◆ patchdate

char Config::patchdate[24] = { 0 }

Definition at line 23 of file config.h.

◆ povBindings

std::vector<POVBinding> Config::povBindings

Definition at line 56 of file config.h.

◆ SaveDir

bool Config::SaveDir = false
private

Definition at line 59 of file config.h.

◆ scale

float Config::scale = 0.0f

Definition at line 29 of file config.h.

◆ soundConfigComms

SoundConfig Config::soundConfigComms

Definition at line 50 of file config.h.

◆ soundConfigComputer

SoundConfig Config::soundConfigComputer

Definition at line 49 of file config.h.

◆ soundConfigLegacy

SoundConfig Config::soundConfigLegacy

Definition at line 51 of file config.h.

◆ soundConfigRadio

SoundConfig Config::soundConfigRadio

Definition at line 52 of file config.h.

◆ videoSamples

unsigned char Config::videoSamples = 4

Definition at line 27 of file config.h.

◆ videoVSync

bool Config::videoVSync = true

Definition at line 28 of file config.h.


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