Public Member Functions | |
const char * | getName () const override |
Common::Error | createInstance (OSystem *syst, Engine **engine, const ADGameDescription *desc) const override |
GUI::OptionsContainerWidget * | buildEngineOptionsWidget (GUI::GuiObject *boss, const Common::String &name, const Common::String &target) const override |
bool | hasFeature (MetaEngineFeature f) const override |
virtual void | getSavegameThumbnail (Graphics::Surface &thumb) override |
![]() | |
Common::Error | createInstance (OSystem *syst, Engine **engine, const DetectedGame &gameDescriptor, const void *metaEngineDescriptor) override |
virtual ADDetectedGame | fallbackDetectExtern (uint md5Bytes, const FileMap &allFiles, const Common::FSList &fslist, ADDetectedGameExtraInfo **extra=nullptr) const |
bool | getFilePropertiesExtern (uint md5Bytes, const FileMap &allFiles, MD5Properties md5prop, const Common::Path &fname, FileProperties &fileProps) const |
![]() | |
virtual SaveStateList | listSaves (const char *target) const |
SaveStateList | listSaves (const char *target, bool saveMode) const |
virtual int | getAutosaveSlot () const |
virtual int | getMaximumSaveSlot () const |
virtual bool | removeSaveState (const char *target, int slot) const |
virtual SaveStateDescriptor | querySaveMetaInfos (const char *target, int slot) const |
virtual Common::String | getSavegameFile (int saveGameIdx, const char *target=nullptr) const |
Common::String | getSavegameFilePattern (const char *target=nullptr) const |
virtual Common::Array< Common::Keymap * > | initKeymaps (const char *target) const |
virtual void | registerDefaultSettings (const Common::String &target) const |
virtual Common::AchievementsPlatform | getAchievementsPlatform (const Common::String &target) const |
virtual const Common::AchievementsInfo | getAchievementsInfo (const Common::String &target) const |
virtual const Common::AchievementDescriptionList * | getAchievementDescriptionList () const |
void | appendExtendedSave (Common::OutSaveFile *saveFile, uint32 playtime, Common::String desc, bool isAutosave) |
void | appendExtendedSaveToStream (Common::WriteStream *saveFile, uint32 playtime, Common::String desc, bool isAutosave, uint32 offset=0) |
bool | copySaveFileToFreeSlot (const char *target, int slot) |
Additional Inherited Members | |
![]() | |
typedef Common::HashMap< Common::Path, Common::FSNode, Common::Path::IgnoreCase_Hash, Common::Path::IgnoreCase_EqualTo > | FileMap |
![]() | |
enum | MetaEngineFeature { kSupportsListSaves, kSupportsLoadingDuringStartup, kSupportsDeleteSave, kSavesSupportMetaInfo, kSavesSupportThumbnail, kSavesSupportCreationDate, kSavesSupportPlayTime, kSimpleSavesNames, kSavesUseExtendedFormat } |
![]() | |
static void | parseSavegameHeader (ExtendedSavegameHeader *header, SaveStateDescriptor *desc) |
static void | fillDummyHeader (ExtendedSavegameHeader *header) |
static void | decodeSavegameDate (const ExtendedSavegameHeader *header, uint16 &outYear, uint8 &outMonth, uint8 &outDay) |
static void | decodeSavegameTime (const ExtendedSavegameHeader *header, uint8 &outHour, uint8 &outMinute) |
static WARN_UNUSED_RESULT bool | readSavegameHeader (Common::InSaveFile *in, ExtendedSavegameHeader *header, bool skipThumbnail=true) |
![]() | |
Common::Error | createInstance (OSystem *syst, Engine **engine, const void *desc) const override final |
void | deleteInstance (Engine *engine, const DetectedGame &gameDescriptor, const void *meDescriptor) override |
![]() | |
const ExtraGuiOptions | getExtraGuiOptions (const Common::String &target) const override final |
virtual const ADExtraGuiOptionsMap * | getAdvancedExtraGuiOptions () const |
bool | checkExtendedSaves (MetaEngineFeature f) const |
![]() | |
int | findEmptySaveSlot (const char *target) |
|
overridevirtual |
Return the name of the engine plugin based on the engineID.
The engineID must match the one from MetaEngine.
Implements AdvancedMetaEngineBase.
|
overridevirtual |
Return a GUI widget container for configuring the specified target options.
Engines can build custom option dialogs from here.
Engines that don't have an Engine tab in the Edit Game dialog, or that use ExtraGuiOptions in MetaEngineDetection can return nullptr.
boss | The widget or dialog that the returned widget is a child of. |
name | The name that the returned widget must use. |
target | Name of a config manager target. |
Reimplemented from MetaEngine.
|
overridevirtual |
Determine whether the engine supports the specified MetaEngine feature.
Used by e.g. the launcher to determine whether to enable the Load button.
Reimplemented from MetaEngine.
|
overridevirtual |
Convert the current screen contents to a thumbnail. Can be overriden by individual engine meta engines to provide their own thumb, such as hiding any on-screen save dialog so that it won't appear in the thumbnail.
Reimplemented from MetaEngine.