|
|
| MM1Engine (OSystem *syst, const MightAndMagicGameDescription *gameDesc) |
| |
|
bool | isEnhanced () const |
| |
| int | getRandomNumber (int minNumber, int maxNumber) |
| |
|
int | getRandomNumber (int maxNumber) |
| |
|
Common::String | getTargetName () const |
| |
| void | syncSoundSettings () override |
| |
| bool | canSaveGameStateCurrently (Common::U32String *msg=nullptr) override |
| |
| bool | canLoadGameStateCurrently (Common::U32String *msg=nullptr) override |
| |
| Common::Error | synchronizeSave (Common::Serializer &s) |
| |
| Common::Error | loadGameStream (Common::SeekableReadStream *stream) override |
| |
| Common::Error | saveGameStream (Common::WriteStream *stream, bool isAutosave=false) override |
| |
|
| MMEngine (OSystem *syst, const MM::MightAndMagicGameDescription *gameDesc) |
| |
| bool | hasFeature (EngineFeature f) const override |
| |
| uint32 | getFeatures () const |
| |
| Common::Language | getLanguage () const |
| |
| Common::Platform | getPlatform () const |
| |
| uint32 | getGameID () const |
| |
| bool | getIsCD () const |
| |
| uint | getRandomNumber (int max) |
| |
| 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 () |
| |
|
| Events (bool enhancedMode) |
| |
| void | runGame () |
| |
| void | replaceView (UIElement *ui, bool replaceAllViews=false) |
| |
|
void | replaceView (const Common::String &name, bool replaceAllViews=false) |
| |
| void | addView (UIElement *ui) |
| |
|
void | addView (const Common::String &name) |
| |
| void | clearViews () |
| |
| void | popView () |
| |
| void | redrawViews () |
| |
| UIElement * | focusedView () const |
| |
| UIElement * | priorView () const |
| |
| bool | isPresent (const Common::String &name) const |
| |
| bool | isInCombat () const |
| |
|
Graphics::Screen * | getScreen () const |
| |
|
void | drawElements () |
| |
| void | addKeypress (const Common::KeyCode kc) |
| |
| void | addAction (KeybindingAction action) |
| |
| bool | isKeypressPending () const |
| |
| void | draw () override |
| |
| bool | tick () override |
| |
| void | close () override |
| |
|
| UIElement (const Common::String &name, UIElement *uiParent) |
| |
| bool | needsRedraw () const |
| |
| void | redraw () |
| |
| void | focus () |
| |
|
bool | isFocused () const |
| |
| void | replaceView (UIElement *ui, bool replaceAllViews=false) |
| |
|
void | replaceView (const Common::String &name, bool replaceAllViews=false) |
| |
| void | addView (UIElement *ui) |
| |
|
void | addView (const Common::String &name) |
| |
|
void | addView () |
| |
|
void | open () |
| |
| int | getRandomNumber (int minNumber, int maxNumber) |
| |
|
int | getRandomNumber (int maxNumber) |
| |
| Common::String | getName () const |
| |
| virtual void | setBounds (const Common::Rect &r) |
| |
| Common::Rect | getBounds () const |
| |
| Graphics::ManagedSurface | getSurface () const |
| |
| virtual void | clearSurface () |
| |
| virtual UIElement * | findView (const Common::String &name) |
| |
|
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 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 HeaderMessage &msg) |
| |
|
bool | send (const HeaderMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const InfoMessage &msg) |
| |
|
bool | send (const InfoMessage &msg) |
| |
|
bool | send (const Common::String &viewName, const DrawGraphicMessage &msg) |
| |
|
bool | send (const DrawGraphicMessage &msg) |
| |
| void | loadCursors () |
| |
| void | setCursor (int cursorId) |
| |
| void | showCursor () |
| |
| void | hideCursor () |
| |
| bool | isCursorVisible () const |
| |