ScummVM API documentation
AdvancedMetaEngineDetection< Descriptor > Class Template Reference
Inheritance diagram for AdvancedMetaEngineDetection< Descriptor >:
AdvancedMetaEngineDetectionBase MetaEngineDetection PluginObject

Protected Member Functions

 AdvancedMetaEngineDetection (const Descriptor *descs, const PlainGameDescriptor *gameIds)
 
Common::Error identifyGame (DetectedGame &game, const void **descriptor) override
 
- Protected Member Functions inherited from AdvancedMetaEngineDetectionBase
 AdvancedMetaEngineDetectionBase (const void *descs, uint descItemSize, const PlainGameDescriptor *gameIds)
 
virtual ADDetectedGame fallbackDetect (const FileMap &allFiles, const Common::FSList &fslist, ADDetectedGameExtraInfo **extra=nullptr) const
 
virtual ADDetectedGames detectGame (const Common::FSNode &parent, const FileMap &allFiles, Common::Language language, Common::Platform platform, const Common::String &extra, uint32 skipADFlags=0, bool skipIncomplete=false)
 
ADDetectedGame detectGameFilebased (const FileMap &allFiles, const ADFileBasedFallback *fileBasedFallback) const
 
void composeFileHashMap (FileMap &allFiles, const Common::FSList &fslist, int depth, const Common::Path &parentName=Common::Path()) const
 
bool getFileProperties (const FileMap &allFiles, MD5Properties md5prop, const Common::Path &fname, FileProperties &fileProps) const
 
virtual DetectedGame toDetectedGame (const ADDetectedGame &adGame, ADDetectedGameExtraInfo *extraInfo=nullptr) const
 
bool cleanupPirated (ADDetectedGames &matched) const
 

Additional Inherited Members

- Public Member Functions inherited from AdvancedMetaEngineDetectionBase
PlainGameList getSupportedGames () const override
 
PlainGameDescriptor findGame (const char *gameId) const override
 
DetectedGames detectGames (const Common::FSList &fslist, uint32 skipADFlags, bool skipIncomplete) override
 
uint getMD5Bytes () const override final
 
int getGameVariantCount () const override final
 
void dumpDetectionEntries () const override final
 
- Public Member Functions inherited from MetaEngineDetection
virtual const char * getName () const override=0
 
virtual const char * getEngineName () const =0
 
virtual const char * getOriginalCopyright () const =0
 
virtual const DebugChannelDefgetDebugChannels () const
 
- Static Public Attributes inherited from MetaEngineDetection
static const char GAME_NOT_IMPLEMENTED []
 
- Protected Types inherited from AdvancedMetaEngineDetectionBase
typedef Common::HashMap< Common::Path, Common::FSNode, Common::Path::IgnoreCase_Hash, Common::Path::IgnoreCase_EqualToFileMap
 
- Protected Attributes inherited from AdvancedMetaEngineDetectionBase
const byte * _gameDescriptors
 
const uint _descItemSize
 
const PlainGameDescriptor_gameIds
 
uint _md5Bytes
 
uint32 _flags
 
Common::String _guiOptions
 
uint32 _maxScanDepth
 
const char *const * _directoryGlobs
 
int _maxAutogenLength
 
int _fullPathGlobsDepth
 

Member Function Documentation

◆ identifyGame()

template<class Descriptor>
Common::Error AdvancedMetaEngineDetection< Descriptor >::identifyGame ( DetectedGame game,
const void **  descriptor 
)
inlineoverrideprotectedvirtual

Identify the active game and check its data files.

Reimplemented from AdvancedMetaEngineDetectionBase.


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