|
| GotEngine (OSystem *syst, const ADGameDescription *gameDesc) |
|
uint32 | getFeatures () const |
|
bool | isDemo () const override |
|
Common::String | getGameId () const |
|
uint32 | getRandomNumber (uint maxNum) |
|
bool | hasFeature (EngineFeature f) const override |
|
bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
|
bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
|
Common::Error | syncGame (Common::Serializer &s) |
|
Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) override |
|
Common::Error | loadGameStream (Common::SeekableReadStream *stream) override |
|
void | syncSoundSettings () override |
|
void | pauseEngineIntern (bool pause) override |
|
Common::String | getHighScoresSaveName () const |
|
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::String | getSaveStateName (int slot) const |
|
virtual Common::Error | loadGameState (int slot) |
|
void | setGameToLoadSlot (int slot) |
|
virtual Common::Error | saveGameState (int slot, const Common::String &desc, bool isAutosave=false) |
|
bool | saveGameDialog () |
|
bool | loadGameDialog () |
|
void | runGame () |
|
void | replaceView (UIElement *ui, bool replaceAllViews=false, bool fadeOutIn=false) override |
|
void | replaceView (const Common::String &name, bool replaceAllViews=false, bool fadeOutIn=false) override |
|
void | addView (UIElement *ui) override |
|
void | addView (const Common::String &name) override |
|
void | clearViews () |
|
void | popView () |
|
UIElement * | focusedView () const |
|
UIElement * | priorView () const |
|
UIElement * | firstView () const |
|
bool | isPresent (const Common::String &name) const |
|
bool | isInCombat () const |
|
Graphics::Screen * | getScreen () const |
|
void | drawElements () override |
|
void | draw () override |
|
bool | tick () override |
|
void | close () override |
|
| UIElement (const Common::String &name, UIElement *uiParent) |
|
| UIElement (const Common::String &name) |
|
bool | needsRedraw () const |
|
void | redraw () |
|
void | addView () |
|
void | open () |
|
int | getRandomNumber (int minNumber, int maxNumber) |
|
int | getRandomNumber (int maxNumber) |
|
virtual void | setBounds (const Common::Rect &r) |
|
Common::Rect | getBounds () const |
|
const Common::String & | getName () const |
|
Gfx::GfxSurface | getSurface (bool innerBounds=false) const |
|
virtual UIElement * | findView (const Common::String &name) |
|
bool | send (const MouseMoveMessage &msg) |
|
bool | send (const Common::String &viewName, const FocusMessage &msg) |
|
bool | send (const FocusMessage &msg) |
|
bool | send (const Common::String &viewName, const UnfocusMessage &msg) |
|
bool | send (const UnfocusMessage &msg) |
|
bool | send (const Common::String &viewName, const MouseEnterMessage &msg) |
|
bool | send (const MouseEnterMessage &msg) |
|
bool | send (const Common::String &viewName, const MouseLeaveMessage &msg) |
|
bool | send (const MouseLeaveMessage &msg) |
|
bool | send (const Common::String &viewName, const KeypressMessage &msg) |
|
bool | send (const KeypressMessage &msg) |
|
bool | send (const Common::String &viewName, const MouseDownMessage &msg) |
|
bool | send (const MouseDownMessage &msg) |
|
bool | send (const Common::String &viewName, const MouseUpMessage &msg) |
|
bool | send (const MouseUpMessage &msg) |
|
bool | send (const Common::String &viewName, const ActionMessage &msg) |
|
bool | send (const ActionMessage &msg) |
|
bool | send (const Common::String &viewName, const GameMessage &msg) |
|
bool | send (const GameMessage &msg) |
|
bool | send (const Common::String &viewName, const ValueMessage &msg) |
|
bool | send (const ValueMessage &msg) |
|
void Got::GotEngine::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.