API for managing game platforms.
Classes | |
struct | Common::PlatformDescription |
Enumerations | |
enum | Common::Platform : int8 { kPlatformDOS = 0x09, kPlatformAmiga = 0x04, kPlatformAmstradCPC = 0x08, kPlatformAtari8Bit = 0x05, kPlatformAtariST = 0x06, kPlatformMacintosh = 0x10, kPlatformFMTowns = 0x0E, kPlatformWindows = 0x14, kPlatformNES = 0x12, kPlatformC64 = 0x07, kPlatformCoCo = 0x0C, kPlatformCoCo3 = 0x0D, kPlatformLinux = 0x0F, kPlatformAcorn = 0x03, kPlatformSegaCD = 0x13, kPlatform3DO = 0x02, kPlatformPCEngine = 0x11, kPlatformApple2 = 0x01, kPlatformApple2GS = 0x00, kPlatformPC98 = 0x0A, kPlatformWii = 0x0B, kPlatformPSX = 0x15, kPlatformPS2 = 0x16, kPlatformPS3 = 0x17, kPlatformXbox = 0x18, kPlatformCDi = 0x19, kPlatformIOS = 0x1A, kPlatformAndroid = 0x1B, kPlatformOS2 = 0x1C, kPlatformBeOS = 0x1D, kPlatformPocketPC = 0x1E, kPlatformMegaDrive = 0x1F, kPlatformSaturn = 0x20, kPlatformPippin = 0x21, kPlatformMacintoshII = 0x22, kPlatformShockwave = 0x23, kPlatformZX = 0x24, kPlatformTI994 = 0x25, kPlatformNintendoSwitch = 0x26, kPlatformUnknown = -1 } |
Functions | |
Platform | Common::parsePlatform (const String &str) |
const char * | Common::getPlatformCode (Platform id) |
const char * | Common::getPlatformAbbrev (Platform id) |
const char * | Common::getPlatformDescription (Platform id) |
const String | Common::getGameGUIOptionsDescriptionPlatform (Platform plat) |
bool | Common::checkGameGUIOptionPlatform (Platform plat, const String &str) |
const String | Common::parseGameGUIOptionsPlatforms (const String &str) |
const String | Common::getGameGUIOptionsDescriptionPlatforms (const String &str) |
List< String > | Common::getPlatformList () |
Variables | |
const PlatformDescription | Common::g_platforms [] |
enum Common::Platform : int8 |
List of game platforms. Specifying a platform for a target can be used to give the game engines a hint for which platform the game data file are. This may be optional or required, depending on the game engine and the game in question.
Convert a string containing a platform name into a Platform enum value.
Return string containing platform description based on platform enum
Check if given platform option is present in a string
Parse gui options string to GUIO platform literals