ScummVM API documentation
Gob::GobEngine Class Reference
Inheritance diagram for Gob::GobEngine:
Engine

Public Member Functions

const char * getLangDesc (int16 language) const
 
void validateLanguage ()
 
void validateVideoMode (int16 videoMode)
 
void pauseGame ()
 
EndiannessMethod getEndiannessMethod () const
 
Endianness getEndianness () const
 
Common::Platform getPlatform () const
 
GameType getGameType () const
 
bool isCD () const
 
bool isEGA () const
 
bool hasAdLib () const
 
bool isSCNDemo () const
 
bool isBATDemo () const
 
bool is640x400 () const
 
bool is640x480 () const
 
bool is800x600 () const
 
bool is16Colors () const
 
bool isTrueColor () const
 
bool isDemo () const
 
bool hasResourceSizeWorkaround () const
 
bool isCurrentTot (const Common::String &tot) const
 
void setTrueColor (bool trueColor)
 
const Graphics::PixelFormatgetPixelFormat () const
 
 GobEngine (OSystem *syst)
 
void initGame (const GOBGameDescription *gd)
 
GameType getGameType (const char *gameId) const
 
const char * getGameVersion () const
 
- 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 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 bool canLoadGameStateCurrently (Common::U32String *msg=nullptr)
 
virtual Common::Error saveGameState (int slot, const Common::String &desc, bool isAutosave=false)
 
virtual Common::Error saveGameStream (Common::WriteStream *stream, bool isAutosave=false)
 
virtual bool canSaveGameStateCurrently (Common::U32String *msg=nullptr)
 
bool saveGameDialog ()
 
bool loadGameDialog ()
 

Public Attributes

Common::RandomSource _rnd
 
Common::Language _language
 
uint16 _width
 
uint16 _height
 
uint8 _mode
 
Graphics::PixelFormat _pixelFormat
 
Common::String _startStk
 
Common::String _startTot
 
uint32 _demoIndex
 
bool _copyProtection
 
bool _noMusic
 
GobConsole_console
 
bool _resourceSizeWorkaround
 
bool _enableAdibou2FreeBananasWorkaround
 
bool _enableAdibou2FlowersInfiniteLoopWorkaround
 
Global_global
 
Util_util
 
DataIO_dataIO
 
Game_game
 
Sound_sound
 
Video_video
 
Draw_draw
 
Goblin_goblin
 
Init_init
 
Map_map
 
Mult_mult
 
PalAnim_palAnim
 
Scenery_scenery
 
Inter_inter
 
SaveLoad_saveLoad
 
VideoPlayer_vidPlayer
 
PreGob_preGob
 
- Public Attributes inherited from Engine
OSystem_system
 
Audio::Mixer_mixer
 

Static Public Attributes

static const Common::Language _gobToScummVMLang []
 

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)
 
- Protected Member Functions inherited from Engine
virtual int runDialog (GUI::Dialog &dialog)
 
void defaultSyncSoundSettings ()
 
- Protected Attributes inherited from Engine
Common::TimerManager_timer
 
Common::EventManager_eventMan
 
Common::SaveFileManager_saveFileMan
 
GUI::Dialog_mainMenuDialog
 
const Common::String _targetName
 
int32 _activeEnhancements = kEnhGameBreakingBugFixes
 

Member Function Documentation

◆ getGameVersion()

const char* Gob::GobEngine::getGameVersion ( ) const

Used to obtain the game version as a fallback from our detection tables, if the VERSION file is missing


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