ScummVM API documentation
Agi::MickeyEngine Class Reference
Inheritance diagram for Agi::MickeyEngine:
Agi::PreAgiEngine Agi::AgiBase Engine

Public Member Functions

 MickeyEngine (OSystem *syst, const AGIGameDescription *gameDesc)
 
void init ()
 
Common::Error go () override
 
void debugCurRoom ()
 
void debugGotoRoom (int)
 
void drawPic (int)
 
void drawObj (ENUM_MSA_OBJECT, int, int)
 
- Public Member Functions inherited from Agi::AgiBase
virtual bool promptIsEnabled ()
 
 AgiBase (OSystem *syst, const AGIGameDescription *gameDesc)
 
bool getFlag (int16 flagNr)
 
void setFlag (int16 flagNr, bool newState)
 
void flipFlag (int16 flagNr)
 
void setFlagOrVar (int16 flagNr, bool newState)
 
uint32 getGameID () const
 
uint32 getFeatures () const
 
uint16 getVersion () const
 
uint16 getGameType () const
 
Common::Language getLanguage () const
 
bool isLanguageRTL () const
 
Common::Platform getPlatform () const
 
const char * getGameMD5 () const
 
void initFeatures ()
 
void initVersion ()
 
const char * getDiskName (uint16 id)
 
bool canLoadGameStateCurrently (Common::U32String *msg=nullptr) override
 
bool canSaveGameStateCurrently (Common::U32String *msg=nullptr) override
 
const byte * getFontData ()
 
void cycleInnerLoopActive (int16 loopType)
 
void cycleInnerLoopInactive ()
 
bool cycleInnerLoopIsActive ()
 
- Public Member Functions inherited from Engine
MetaEnginegetMetaEngine () const
 
void setMetaEngine (MetaEngine *metaEngine)
 
PauseToken pauseEngine ()
 
bool isPaused () const
 
void openMainMenuDialog ()
 
uint32 getTotalPlayTime () const
 
void setTotalPlayTime (uint32 time=0)
 
Common::TimerManagergetTimerManager ()
 
Common::EventManagergetEventManager ()
 
Common::SaveFileManagergetSaveFileManager ()
 
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::DebuggergetDebugger () final
 
void setDebugger (GUI::Debugger *debugger)
 
GUI::DebuggergetOrCreateDebugger ()
 
bool enhancementEnabled (int32 cls)
 
virtual void syncSoundSettings ()
 
virtual void applyGameSettings ()
 
virtual void flipMute ()
 
virtual Common::String getSaveStateName (int slot) const
 
virtual Common::Error loadGameState (int slot)
 
virtual Common::Error loadGameStream (Common::SeekableReadStream *stream)
 
void setGameToLoadSlot (int slot)
 
virtual Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false)
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 
bool saveGameDialog ()
 
bool loadGameDialog ()
 

Protected Member Functions

int getDat (int)
 
void readExe (int, uint8 *, long)
 
void getDatFileName (int, char *)
 
void readDatHdr (char *, MSA_DAT_HEADER *)
 
void readOfsData (int, int, uint8 *, long)
 
bool chooseY_N (int, bool)
 
int choose1to9 (int)
 
void printStr (char *)
 
void printLine (const char *)
 
void printExeStr (int)
 
void printExeMsg (int)
 
void printDesc (int)
 
bool checkMenu ()
 
void drawMenu (MSA_MENU &, int, int)
 
void getMouseMenuSelRow (MSA_MENU &, int *, int *, int, int, int)
 
bool getMenuSelRow (MSA_MENU &, int *, int *, int)
 
void getMenuSel (char *, int *, int *)
 
void centerMenu (MSA_MENU *)
 
void patchMenu (MSA_MENU *)
 
void printDatString (int)
 
void printDatMessage (int)
 
bool playNote (MSA_SND_NOTE note, WaitOptions options)
 
bool playSound (ENUM_MSA_SOUND iSound, WaitOptions options=kWaitProcessEvents)
 
void drawRoomAnimation ()
 
void drawRoom ()
 
bool drawLogo ()
 
void animate ()
 
void printRoomDesc ()
 
bool loadGame ()
 
void saveGame ()
 
void showPlanetInfo ()
 
void printStory ()
 
int getPlanet ()
 
void pressOB (int)
 
void insertDisk (int)
 
void gameOver ()
 
void inventory ()
 
void intro ()
 
void getItem (ENUM_MSA_ITEM)
 
void getXtal (int)
 
bool parse (int, int)
 
void flipSwitch ()
 
void waitAnyKey (bool anim=false)
 
bool planetIsAlreadyAssigned (int planet)
 
bool mickeyHasItem (int item)
 
bool isCrystalOnCurrentPlanet () const
 
- Protected Member Functions inherited from Agi::PreAgiEngine
void initialize () override
 
int getKeypress () override
 
bool isKeypress () override
 
void clearKeyQueue () override
 
 PreAgiEngine (OSystem *syst, const AGIGameDescription *gameDesc)
 
int getGameId () const
 
void clearImageStack () override
 
void recordImageStackCall (uint8 type, int16 p1, int16 p2, int16 p3, int16 p4, int16 p5, int16 p6, int16 p7) override
 
void replayImageStackCall (uint8 type, int16 p1, int16 p2, int16 p3, int16 p4, int16 p5, int16 p6, int16 p7) override
 
void releaseImageStack () override
 
int saveGame (const Common::String &fileName, const Common::String &saveName)
 
int loadGame (const Common::String &fileName, bool checkId=true)
 
Common::String getTargetName () const
 
void clearScreen (int attr, bool overrideDefault=true)
 
void clearGfxScreen (int attr)
 
void setDefaultTextColor (int attr)
 
byte getWhite () const
 
int getSelection (SelectionTypes type)
 
int rnd (int max)
 
void drawStr (int row, int col, int attr, const char *buffer)
 
void clearTextArea ()
 
void clearRow (int row)
 
void printStr (const char *szMsg)
 
void printStrXOR (char *szMsg)
 
Common::SaveFileManagergetSaveFileMan ()
 
bool playSpeakerNote (int16 frequency, int32 length, WaitOptions options)
 
bool wait (uint32 delay, WaitOptions options=kWaitProcessEvents)
 
- Protected Member Functions inherited from Agi::AgiBase
Common::Error init ()
 
Common::Error run () override
 
bool hasFeature (EngineFeature f) const override
 
void initRenderMode ()
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
void defaultSyncSoundSettings ()
 
virtual void pauseEngineIntern (bool pause)
 

Protected Attributes

MSA_GAME _gameStateMickey
 
bool _clickToMove
 
bool _isGameOver
 
- Protected Attributes inherited from Agi::PreAgiEngine
PictureMgr_picture
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 
int32 _activeEnhancements = kEnhGameBreakingBugFixes
 

Additional Inherited Members

- Public Types inherited from Engine
enum  EngineFeature {
  kSupportsSubtitleOptions, kSupportsReturnToLauncher, kSupportsLoadingDuringRuntime, kSupportsSavingDuringRuntime,
  kSupportsChangingOptionsDuringRuntime, kSupportsArbitraryResolutions, kSupportsHelp, kSupportsQuitDialogOverride
}
 
- Static Public Member Functions inherited from Engine
static void quitGame ()
 
static bool shouldQuit ()
 
static bool warnUserAboutUnsupportedGame (Common::String msg=Common::String())
 
static void errorUnsupportedGame (Common::String extraMsg)
 
- Public Attributes inherited from Agi::AgiBase
Words_words
 
GfxFont_font
 
GfxMgr_gfx
 
Common::RenderMode _renderMode
 
AgiDebug _debug
 
AgiGame _game
 
Common::RandomSource_rnd
 
SoundMgr_sound
 
Mouse _mouse
 
bool _noSaveLoadAllowed
 
int _soundemu
 
const AGIGameDescription_gameDescription
 
uint32 _gameFeatures
 
uint16 _gameVersion
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 
- Static Protected Member Functions inherited from Agi::PreAgiEngine
static void XOR80 (char *buffer)
 

The documentation for this class was generated from the following file: