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

Engines Namespace Reference

Classes

struct  ObsoleteGameID
 Structure for autoupgrading targets using an obsolete gameid to the correct new gameid. More...

Functions

void upgradeTargetIfNecessary (const ObsoleteGameID *obsoleteList)
 Check if the currently active game target has an obsolete gameid; if so, replace it by the correct new gameid.
PlainGameDescriptor findGameID (const char *gameid, const PlainGameDescriptor *gameids, const ObsoleteGameID *obsoleteList=0)
 Scan through the given list of plain game descriptors specified and search for 'gameid' in there.

Function Documentation

PlainGameDescriptor Engines::findGameID ( const char *  gameid,
const PlainGameDescriptor gameids,
const ObsoleteGameID *  obsoleteList = 0 
)

Scan through the given list of plain game descriptors specified and search for 'gameid' in there.

If a match is found, returns a GameDescriptor with gameid and description set.

Optionally can take a list of obsolete game ids into account in order to support obsolete gameids.

void Engines::upgradeTargetIfNecessary ( const ObsoleteGameID *  obsoleteList  ) 

Check if the currently active game target has an obsolete gameid; if so, replace it by the correct new gameid.

This function is typically invoked by a MetaEngine::createInstance implementation.



Generated on Sat Mar 23 2019 05:07:21 for ResidualVM by doxygen 1.7.1
curved edge   curved edge