#include <settings.h>
Public Member Functions | |
| void | setData (const SettingsData &data) |
| bool | write () |
| const Common::Array< Common::String > & | getBattleDiffs () |
Public Member Functions inherited from Ultima::Ultima4::SettingsData | |
| bool | operator== (const SettingsData &) const |
| bool | operator!= (const SettingsData &) const |
Public Member Functions inherited from Ultima::Ultima4::Observable< Settings *> | |
| void | addObserver (Observer< Settings *, NoArg * > *o) |
| int | countObservers () const |
| void | deleteObserver (Observer< Settings *, NoArg * > *o) |
| void | deleteObservers () |
| bool | hasChanged () const |
| void | notifyObservers (NoArg * arg) |
Static Public Member Functions | |
| static Settings & | getInstance () |
Additional Inherited Members | |
Public Attributes inherited from Ultima::Ultima4::SettingsData | |
| int | _battleSpeed |
| bool | _campingAlwaysCombat |
| int | _campTime |
| bool | _debug |
| bool | _enhancements |
| SettingsEnhancementOptions | _enhancementsOptions |
| bool | _filterMoveMessages |
| int | _gameCyclesPerSecond |
| int | _screenAnimationFramesPerSecond |
| bool | _innAlwaysCombat |
| int | _innTime |
| MouseOptions | _mouseOptions |
| uint | _scale |
| bool | _screenShakes |
| int | _gamma |
| int | _shakeInterval |
| bool | _shortcutCommands |
| int | _shrineTime |
| int | _spellEffectSpeed |
| bool | _validateXml |
| bool | _volumeFades |
| int | _titleSpeedRandom |
| int | _titleSpeedOther |
| int | _eventTimerGranularity |
| Common::String | _filter |
| Common::String | _gemLayout |
| Common::String | _lineOfSight |
| Common::String | _videoType |
| Common::String | _battleDiff |
| Common::String | _logging |
| Common::String | _game |
Protected Member Functions inherited from Ultima::Ultima4::Observable< Settings *> | |
| void | clearChanged () |
| void | setChanged () |
The settings class is a singleton that holds all the settings information. It is dynamically initialized when first accessed.
|
static |
Return the global instance of settings.
| bool Ultima::Ultima4::Settings::write | ( | ) |
Write the settings out into a human readable file. This also notifies observers that changes have been committed.