ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Myst3::Myst3MetaEngine Class Reference

Inheritance diagram for Myst3::Myst3MetaEngine:
Collaboration diagram for Myst3::Myst3MetaEngine:

List of all members.

Public Member Functions

 Myst3MetaEngine ()
virtual const char * getName () const
 Returns the name of the plugin.
virtual const char * getOriginalCopyright () const
 Returns some copyright information about the original engine.
virtual bool hasFeature (MetaEngineFeature f) const
 Determine whether the engine supports the specified MetaEngine feature.
virtual SaveStateList listSaves (const char *target) const
 Return a list of all save states associated with the given target.
SaveStateDescriptor getSaveDescription (const char *target, int slot) const
virtual SaveStateDescriptor querySaveMetaInfos (const char *target, int slot) const
 Returns meta infos from the specified save state.
void removeSaveState (const char *target, int slot) const
 Remove the specified save state.
virtual int getMaximumSaveSlot () const
 Return the maximum save slot that the engine supports.
virtual bool createInstance (OSystem *syst, Engine **engine, const ADGameDescription *desc) const

Detailed Description

Definition at line 203 of file detection.cpp.


Constructor & Destructor Documentation

Myst3::Myst3MetaEngine::Myst3MetaEngine (  )  [inline]

Definition at line 205 of file detection.cpp.


Member Function Documentation

bool Myst3::Myst3MetaEngine::createInstance ( OSystem syst,
Engine **  engine,
const ADGameDescription desc 
) const [virtual]

Implements AdvancedMetaEngine.

Definition at line 306 of file detection.cpp.

virtual int Myst3::Myst3MetaEngine::getMaximumSaveSlot (  )  const [inline, virtual]

Return the maximum save slot that the engine supports.

Note:
MetaEngines must indicate that this function has been implemented via the kSupportsListSaves feature flag.

The default implementation limits the save slots to zero (0).

Returns:
maximum save slot number supported

Reimplemented from MetaEngine.

Definition at line 299 of file detection.cpp.

virtual const char* Myst3::Myst3MetaEngine::getName (  )  const [inline, virtual]

Returns the name of the plugin.

Implements PluginObject.

Definition at line 212 of file detection.cpp.

virtual const char* Myst3::Myst3MetaEngine::getOriginalCopyright (  )  const [inline, virtual]

Returns some copyright information about the original engine.

Implements MetaEngine.

Definition at line 216 of file detection.cpp.

SaveStateDescriptor Myst3::Myst3MetaEngine::getSaveDescription ( const char *  target,
int  slot 
) const [inline]

Definition at line 242 of file detection.cpp.

virtual bool Myst3::Myst3MetaEngine::hasFeature ( MetaEngineFeature  f  )  const [inline, virtual]

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.

Definition at line 220 of file detection.cpp.

virtual SaveStateList Myst3::Myst3MetaEngine::listSaves ( const char *  target  )  const [inline, virtual]

Return a list of all save states associated with the given target.

The returned list is guaranteed to be sorted by slot numbers. That means smaller slot numbers are always stored before bigger slot numbers.

The caller has to ensure that this (Meta)Engine is responsible for the specified target (by using findGame on it respectively on the associated gameid from the relevant ConfMan entry, if present).

The default implementation returns an empty list.

Note:
MetaEngines must indicate that this function has been implemented via the kSupportsListSaves feature flag.
Parameters:
target name of a config manager target
Returns:
a list of save state descriptors

Reimplemented from MetaEngine.

Definition at line 231 of file detection.cpp.

virtual SaveStateDescriptor Myst3::Myst3MetaEngine::querySaveMetaInfos ( const char *  target,
int  slot 
) const [inline, virtual]

Returns meta infos from the specified save state.

Depending on the MetaEngineFeatures set this can include thumbnails, save date / time, play time.

Parameters:
target name of a config manager target
slot slot number of the save state

Reimplemented from MetaEngine.

Definition at line 255 of file detection.cpp.

void Myst3::Myst3MetaEngine::removeSaveState ( const char *  target,
int  slot 
) const [inline, virtual]

Remove the specified save state.

For most engines this just amounts to calling _saveFileMan->removeSaveFile(). Engines which keep an index file will also update it accordingly.

Note:
MetaEngines must indicate that this function has been implemented via the kSupportsDeleteSave feature flag.
Parameters:
target name of a config manager target
slot slot number of the save state to be removed

Reimplemented from MetaEngine.

Definition at line 294 of file detection.cpp.


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


Generated on Sat Sep 14 2019 05:04:45 for ResidualVM by doxygen 1.7.1
curved edge   curved edge