ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <registry.h>

Collaboration diagram for Grim::Registry:

List of all members.

Classes

class  Value

Public Types

enum  ValueType { String, Integer, Boolean }

Public Member Functions

const Common::StringgetString (const Common::String &key) const
int getInt (const Common::String &key) const
bool getBool (const Common::String &key) const
void setString (const Common::String &key, const Common::String &val)
void setInt (const Common::String &key, int val)
void setBool (const Common::String &key, bool val)
ValueType getValueType (const Common::String &key) const
void save ()
 Registry ()
 ~Registry ()

Private Member Functions

const Valuevalue (const Common::String &key) const
Valuevalue (const Common::String &key)
uint convertVolumeToMixer (uint volume)
uint convertVolumeFromMixer (uint volume)
uint convertTalkSpeedToGUI (uint talkspeed)
uint convertTalkSpeedFromGUI (uint talkspeed)
bool convertSubtitlesToGUI (uint speechmode)
bool convertSpeechMuteToGUI (uint speechmode)
uint convertSpeechModeFromGUI (bool subtitles, bool speechMute)

Private Attributes

Value _develMode
Value _dataPath
Value _savePath
Value _lastSet
Value _musicVolume
Value _sfxVolume
Value _voiceVolume
Value _lastSavedGame
Value _gamma
Value _voiceEffects
Value _textSpeed
Value _speechMode
Value _movement
Value _joystick
Value _spewOnError
Value _transcript
bool _dirty

Static Private Attributes

static Registry_instance

Detailed Description

Definition at line 30 of file registry.h.


Member Enumeration Documentation

Enumerator:
String 
Integer 
Boolean 

Definition at line 32 of file registry.h.


Constructor & Destructor Documentation

Grim::Registry::Registry (  ) 

Definition at line 94 of file registry.cpp.

Grim::Registry::~Registry (  )  [inline]

Definition at line 51 of file registry.h.


Member Function Documentation

uint Grim::Registry::convertSpeechModeFromGUI ( bool  subtitles,
bool  speechMute 
) [private]

Definition at line 280 of file registry.cpp.

bool Grim::Registry::convertSpeechMuteToGUI ( uint  speechmode  )  [private]

Definition at line 276 of file registry.cpp.

bool Grim::Registry::convertSubtitlesToGUI ( uint  speechmode  )  [private]

Definition at line 272 of file registry.cpp.

uint Grim::Registry::convertTalkSpeedFromGUI ( uint  talkspeed  )  [private]

Definition at line 268 of file registry.cpp.

uint Grim::Registry::convertTalkSpeedToGUI ( uint  talkspeed  )  [private]

Definition at line 264 of file registry.cpp.

uint Grim::Registry::convertVolumeFromMixer ( uint  volume  )  [private]

Definition at line 260 of file registry.cpp.

uint Grim::Registry::convertVolumeToMixer ( uint  volume  )  [private]

Definition at line 256 of file registry.cpp.

bool Grim::Registry::getBool ( const Common::String key  )  const

Definition at line 207 of file registry.cpp.

int Grim::Registry::getInt ( const Common::String key  )  const

Definition at line 203 of file registry.cpp.

const Common::String & Grim::Registry::getString ( const Common::String key  )  const

Definition at line 199 of file registry.cpp.

Registry::ValueType Grim::Registry::getValueType ( const Common::String key  )  const

Definition at line 226 of file registry.cpp.

void Grim::Registry::save (  ) 

Definition at line 230 of file registry.cpp.

void Grim::Registry::setBool ( const Common::String key,
bool  val 
)

Definition at line 221 of file registry.cpp.

void Grim::Registry::setInt ( const Common::String key,
int  val 
)

Definition at line 216 of file registry.cpp.

void Grim::Registry::setString ( const Common::String key,
const Common::String val 
)

Definition at line 211 of file registry.cpp.

const Registry::Value & Grim::Registry::value ( const Common::String key  )  const [private]

Definition at line 161 of file registry.cpp.

Registry::Value & Grim::Registry::value ( const Common::String key  )  [private]

Definition at line 123 of file registry.cpp.


Member Data Documentation

Definition at line 81 of file registry.h.

Definition at line 80 of file registry.h.

bool Grim::Registry::_dirty [private]

Definition at line 97 of file registry.h.

Definition at line 88 of file registry.h.

Registry* Grim::Registry::_instance [static, private]

Definition at line 54 of file registry.h.

Definition at line 93 of file registry.h.

Definition at line 87 of file registry.h.

Definition at line 83 of file registry.h.

Definition at line 92 of file registry.h.

Definition at line 84 of file registry.h.

Definition at line 82 of file registry.h.

Definition at line 85 of file registry.h.

Definition at line 91 of file registry.h.

Definition at line 94 of file registry.h.

Definition at line 90 of file registry.h.

Definition at line 95 of file registry.h.

Definition at line 89 of file registry.h.

Definition at line 86 of file registry.h.


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


Generated on Sat Jan 12 2019 05:04:40 for ResidualVM by doxygen 1.7.1
curved edge   curved edge