|
|
| HugoEngine (OSystem *syst, const HugoGameDescription *gd) |
| |
|
uint32 | getFeatures () const |
| |
|
const char * | getGameId () const |
| |
|
GameType | getGameType () const |
| |
|
Common::Platform | getPlatform () const |
| |
|
bool | isPacked () const |
| |
|
bool | useWindowsInterface () const |
| |
| bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
| |
| bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
| |
|
bool | loadHugoDat () |
| |
|
int8 | getTPS () const |
| |
|
void | initGame (const HugoGameDescription *gd) |
| |
|
void | initGamePart (const HugoGameDescription *gd) |
| |
|
void | endGame () |
| |
|
void | gameOverMsg () |
| |
|
void | initStatus () |
| |
|
void | readScreenFiles (const int screen) |
| |
|
void | setNewScreen (const int screen) |
| |
|
void | shutdown () |
| |
| void | syncSoundSettings () override |
| |
|
Status & | getGameStatus () |
| |
|
int | getScore () const |
| |
|
void | setScore (const int newScore) |
| |
|
void | adjustScore (const int adjustment) |
| |
|
int | getMaxScore () const |
| |
|
void | setMaxScore (const int newScore) |
| |
| Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) override |
| |
| Common::Error | loadGameState (int slot) override |
| |
| bool | hasFeature (EngineFeature f) const override |
| |
|
const char * | getCopyrightString1 () const |
| |
|
const char * | getCopyrightString2 () const |
| |
| Common::String | getSaveStateName (int slot) const override |
| |
|
uint16 ** | loadLongArray (Common::SeekableReadStream &in) |
| |
|
Common::KeyCode | notifyBox (const Common::String &text, bool protect=false, TtsOptions ttsOptions=kTtsReplaceNewlines) |
| |
|
Common::String | promptBox (const Common::String &text) |
| |
|
bool | yesNoBox (const Common::String &text, bool useFirstKey) |
| |
|
void | takeObjectBox (const char *name) |
| |
|
void | sayText (const Common::String &text, Common::TextToSpeechManager::Action action=Common::TextToSpeechManager::INTERRUPT) |
| |
| MetaEngine * | getMetaEngine () const |
| |
| void | setMetaEngine (MetaEngine *metaEngine) |
| |
| PauseToken | pauseEngine () |
| |
| bool | isPaused () const |
| |
| void | openMainMenuDialog () |
| |
| uint32 | getTotalPlayTime () const |
| |
| void | setTotalPlayTime (uint32 time=0) |
| |
| Common::TimerManager * | getTimerManager () |
| |
| Common::EventManager * | getEventManager () |
| |
| Common::SaveFileManager * | getSaveFileManager () |
| |
| bool | existExtractedCDAudioFiles (uint track=1) |
| |
| bool | isDataAndCDAudioReadFromSameCD () |
| |
| void | warnMissingExtractedCDAudio () |
| |
| void | handleAutoSave () |
| |
| void | saveAutosaveIfEnabled () |
| |
| virtual bool | canSaveAutosaveCurrently () |
| |
| virtual int | getAutosaveSlot () const |
| |
| virtual bool | gameTypeHasAddOns () const |
| |
| virtual bool | dirCanBeGameAddOn (const Common::FSDirectory &dir) const |
| |
| virtual bool | dirMustBeGameAddOn (const Common::FSDirectory &dir) const |
| |
| Common::ErrorCode | updateAddOns (const MetaEngine *metaEngine) const |
| |
| | Engine (OSystem *syst) |
| |
| virtual | ~Engine () |
| |
| virtual void | initializePath (const Common::FSNode &gamePath) |
| |
| virtual void | errorString (const char *buf_input, char *buf_output, int buf_output_size) |
| |
| virtual GUI::Debugger * | getDebugger () final |
| |
| void | setDebugger (GUI::Debugger *debugger) |
| |
| GUI::Debugger * | getOrCreateDebugger () |
| |
|
bool | enhancementEnabled (int32 cls) |
| |
| virtual void | applyGameSettings () |
| |
| virtual void | flipMute () |
| |
| virtual Common::Error | loadGameStream (Common::SeekableReadStream *stream) |
| |
| void | setGameToLoadSlot (int slot) |
| |
| virtual Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) |
| |
| bool | saveGameDialog () |
| |
| bool | loadGameDialog () |
| |
| void Hugo::HugoEngine::syncSoundSettings |
( |
| ) |
|
|
overridevirtual |
Notify the engine that the sound settings in the config manager might have changed and that it should adjust any internal volume (and other) values accordingly.
The default implementation sets the volume levels of all mixer sound types according to the config entries of the active domain. When overwriting, call the default implementation first, then adjust the volumes further (if required).
- Note
- When setting volume levels, respect the "mute" config entry.
-
The volume for the plain sound type is reset to the maximum volume. If the engine can associate its own value for this type, it needs to overwrite this member and set it accordingly.
Reimplemented from Engine.