Rise
The Vieneo Province
Config Class Reference

#include <config.h>

Collaboration diagram for Config:
[legend]

Public Member Functions

void Save ()
 
 Config ()
 
void LoadPatchDate ()
 
void SavePatchDate () const
 

Public Attributes

unsigned char language = 0
 
bool g_bCheckSteamLanguage = false
 
unsigned char configver = 0
 
char defaultuser [13] = { 0 }
 
char defaultpass [16] = { 0 }
 
char patchdate [24] = { 0 }
 
bool oldvphelp [128] {}
 
bool g_bSoundIntroMusic = true
 
bool g_bAutoLogin = true
 
bool g_bStartFullscreen = false
 
float scale = 0.0f
 
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
 

Private Member Functions

void Loader ()
 

Private Attributes

bool SaveDir = false
 
bool initialized = false
 

Detailed Description

Definition at line 8 of file config.h.

Constructor & Destructor Documentation

◆ Config()

Config::Config ( )

Definition at line 12 of file config.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ Loader()

void Config::Loader ( )
private

Definition at line 56 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 21 of file config.cpp.

Here is the caller graph for this function:

◆ Save()

void Config::Save ( )

Definition at line 363 of file config.cpp.

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

◆ SavePatchDate()

void Config::SavePatchDate ( ) const

Definition at line 39 of file config.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ configver

unsigned char Config::configver = 0

Definition at line 14 of file config.h.

◆ defaultpass

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

Definition at line 16 of file config.h.

◆ defaultuser

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

Definition at line 15 of file config.h.

◆ g_bAutoLogin

bool Config::g_bAutoLogin = true

Definition at line 20 of file config.h.

◆ g_bCheckSteamLanguage

bool Config::g_bCheckSteamLanguage = false

Definition at line 13 of file config.h.

◆ g_bSoundIntroMusic

bool Config::g_bSoundIntroMusic = true

Definition at line 19 of file config.h.

◆ g_bStartFullscreen

bool Config::g_bStartFullscreen = false

Definition at line 23 of file config.h.

◆ initialized

bool Config::initialized = false
private

Definition at line 50 of file config.h.

◆ inputConfigBrake

InputConfig Config::inputConfigBrake

Definition at line 34 of file config.h.

◆ inputConfigElevatorTrim

InputConfig Config::inputConfigElevatorTrim

Definition at line 31 of file config.h.

◆ inputConfigGas

InputConfig Config::inputConfigGas

Definition at line 33 of file config.h.

◆ inputConfigLeftToeBrake

InputConfig Config::inputConfigLeftToeBrake

Definition at line 35 of file config.h.

◆ inputConfigLookLateral

InputConfig Config::inputConfigLookLateral

Definition at line 37 of file config.h.

◆ inputConfigLookVertical

InputConfig Config::inputConfigLookVertical

Definition at line 38 of file config.h.

◆ inputConfigPitch

InputConfig Config::inputConfigPitch

Definition at line 26 of file config.h.

◆ inputConfigPitchTrim

InputConfig Config::inputConfigPitchTrim

Definition at line 39 of file config.h.

◆ inputConfigRightToeBrake

InputConfig Config::inputConfigRightToeBrake

Definition at line 36 of file config.h.

◆ inputConfigRoll

InputConfig Config::inputConfigRoll

Definition at line 27 of file config.h.

◆ inputConfigSteer

InputConfig Config::inputConfigSteer

Definition at line 32 of file config.h.

◆ inputConfigThrustLeft

InputConfig Config::inputConfigThrustLeft

Definition at line 29 of file config.h.

◆ inputConfigThrustRight

InputConfig Config::inputConfigThrustRight

Definition at line 30 of file config.h.

◆ inputConfigWalkLateral

InputConfig Config::inputConfigWalkLateral

Definition at line 40 of file config.h.

◆ inputConfigWalkVertical

InputConfig Config::inputConfigWalkVertical

Definition at line 41 of file config.h.

◆ inputConfigYaw

InputConfig Config::inputConfigYaw

Definition at line 28 of file config.h.

◆ language

unsigned char Config::language = 0

Definition at line 12 of file config.h.

◆ oldvphelp

bool Config::oldvphelp[128] {}

Definition at line 18 of file config.h.

◆ patchdate

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

Definition at line 17 of file config.h.

◆ SaveDir

bool Config::SaveDir = false
private

Definition at line 49 of file config.h.

◆ scale

float Config::scale = 0.0f

Definition at line 24 of file config.h.

◆ soundConfigComms

SoundConfig Config::soundConfigComms

Definition at line 44 of file config.h.

◆ soundConfigComputer

SoundConfig Config::soundConfigComputer

Definition at line 43 of file config.h.

◆ soundConfigLegacy

SoundConfig Config::soundConfigLegacy

Definition at line 45 of file config.h.

◆ soundConfigRadio

SoundConfig Config::soundConfigRadio

Definition at line 46 of file config.h.


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