|
| ToltecsEngine (OSystem *syst, const ToltecsGameDescription *gameDesc) |
|
bool | hasFeature (EngineFeature f) const override |
|
uint32 | getFeatures () const |
|
Common::Language | getLanguage () const |
|
const Common::String & | getTargetName () const |
|
void | syncSoundSettings () override |
|
void | setupSysStrings () |
|
void | requestSavegame (int slotNum, Common::String &description) |
|
void | requestLoadgame (int slotNum) |
|
void | loadScene (uint resIndex) |
|
void | updateScreen () |
|
void | drawScreen () |
|
void | updateInput () |
|
void | setGuiHeight (int16 guiHeight) |
|
void | setCamera (int16 x, int16 y) |
|
bool | getCameraChanged () |
|
void | scrollCameraUp (int16 delta) |
|
void | scrollCameraDown (int16 delta) |
|
void | scrollCameraLeft (int16 delta) |
|
void | scrollCameraRight (int16 delta) |
|
void | updateCamera () |
|
void | showMenu (MenuID menuId) |
|
void | talk (int16 slotIndex, int16 slotOffset) |
|
void | walk (byte *walkData) |
|
int16 | findRectAtPoint (byte *rectData, int16 x, int16 y, int16 index, int16 itemSize, byte *rectDataEnd) |
|
const char * | getSysString (int index) const |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::Error | loadGameState (int slot) override |
|
Common::Error | saveGameState (int slot, const Common::String &description, bool isAutosave=false) override |
|
void | savegame (const char *filename, const char *description) |
|
void | loadgame (const char *filename) |
|
const char * | getSavegameFilename (int num) |
|
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 |
|
| 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::String | getSaveStateName (int slot) const |
|
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 Toltecs::ToltecsEngine::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.