Protected Attributes | |
const MightAndMagicGameDescription * | _gameDescription |
Common::RandomSource | _randomSource |
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 Engine | |
OSystem * | _system |
Audio::Mixer * | _mixer |
Protected Member Functions inherited from Engine | |
virtual int | runDialog (GUI::Dialog &dialog) |
void | defaultSyncSoundSettings () |
virtual void | pauseEngineIntern (bool pause) |
|
overridevirtual |
Checks for feature flag
Reimplemented from Engine.
uint32 MM::MMEngine::getFeatures | ( | ) | const |
Returns the features
Common::Language MM::MMEngine::getLanguage | ( | ) | const |
Returns the game language
Common::Platform MM::MMEngine::getPlatform | ( | ) | const |
Returns the game's platform
uint32 MM::MMEngine::getGameID | ( | ) | const |
Gets the game Id
bool MM::MMEngine::getIsCD | ( | ) | const |
Returns true if the game is the CD version
|
inline |
Get a random number