ScummVM API documentation
Engines::ObsoleteGameID Struct Reference

#include <obsolete.h>

Public Attributes

const char * from
 
const char * to
 
Common::Platform platform
 

Detailed Description

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

Member Data Documentation

◆ from

const char* Engines::ObsoleteGameID::from

Name of the obsolete gameid.

◆ to

const char* Engines::ObsoleteGameID::to

Name of the corresponding new gameid.

◆ platform

Common::Platform Engines::ObsoleteGameID::platform

If platform is set to a value different from Common::kPlatformUnknown, then upgradeTargetIfNecessary() will use this value to set the platform attribute of any target it updates using this ObsoleteGameID record. This is useful when the old gameid encoded the target platform (e.g. "zakTowns" for FM-TOWNS) while the new gameid does not (e.g. "zak").


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