ScummVM API documentation
Asylum::ConfigurationManager Class Reference

#include <config.h>

Inheritance diagram for Asylum::ConfigurationManager:
Common::Singleton< ConfigurationManager > Common::NonCopyable

Public Member Functions

void read ()
 
void write ()
 
bool isKeyAssigned (char key) const
 

Public Attributes

int32 musicVolume
 
int32 sfxVolume
 
int32 voiceVolume
 
bool showMovieSubtitles
 
bool showEncounterSubtitles
 
int gammaLevel
 
int32 ambientVolume
 
int32 movieVolume
 
bool musicStatus
 
bool reverseStereo
 
int performance
 performance only affects sound: perf > 0 ? 22050hz/16bit : 11025hz/8bit
 
int animationsSpeed
 
char keyShowVersion
 
char keyQuickSave
 
char keyQuickLoad
 
char keySwitchToSara
 
char keySwitchToGrimwall
 
char keySwitchToOlmec
 
bool showSceneLoading
 
bool showIntro
 

Additional Inherited Members

- Static Public Member Functions inherited from Common::Singleton< ConfigurationManager >
static bool hasInstance ()
 
static ConfigurationManager & instance ()
 
static void destroy ()
 
- Protected Types inherited from Common::Singleton< ConfigurationManager >
typedef ConfigurationManager SingletonBaseType
 
- Static Protected Attributes inherited from Common::Singleton< ConfigurationManager >
static ConfigurationManager * _singleton
 

Detailed Description

The ConfigurationManager is where the common configuration options used by the engine are bound.

These options can be set through the main menu

Member Function Documentation

◆ read()

void Asylum::ConfigurationManager::read ( )

Load configuration file

◆ write()

void Asylum::ConfigurationManager::write ( )

Save a value to the configuration file

◆ isKeyAssigned()

bool Asylum::ConfigurationManager::isKeyAssigned ( char  key) const

Query if 'key' is assigned.

Parameters
keyThe key.
Returns
true if key assigned, false if not.

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