Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

virtual Common::Error MetaEngine::createInstance ( OSystem syst,
Engine **  engine 
) const [pure virtual]

Tries to instantiate an engine instance based on the settings of the currently active ConfMan target. That is, the MetaEngine should query the ConfMan singleton for the target, gameid, path etc. data.

Parameters:
syst Pointer to the global OSystem object
engine Pointer to a pointer which the MetaEngine sets to the newly create Engine, or 0 in case of an error
Returns:
a Common::Error describing the error which occurred, or kNoError

Implemented in AdvancedMetaEngine.


Generated by  Doxygen 1.6.0   Back to index