2020-06-21 12:25:28 +00:00
|
|
|
//
|
|
|
|
// PlatformId.h
|
|
|
|
//
|
|
|
|
// Index of all supported platforms.
|
|
|
|
//
|
|
|
|
|
2014-06-25 16:29:58 +00:00
|
|
|
#pragma once
|
2017-10-31 17:12:50 +00:00
|
|
|
#ifndef ES_APP_PLATFORM_ID_H
|
|
|
|
#define ES_APP_PLATFORM_ID_H
|
2014-06-25 16:29:58 +00:00
|
|
|
|
|
|
|
namespace PlatformIds
|
|
|
|
{
|
2020-06-21 12:25:28 +00:00
|
|
|
enum PlatformId : unsigned int {
|
|
|
|
PLATFORM_UNKNOWN = 0,
|
2014-06-25 16:29:58 +00:00
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
THREEDO, // Name can't start with a constant.
|
|
|
|
AMIGA,
|
|
|
|
AMSTRAD_CPC,
|
|
|
|
APPLE_II,
|
|
|
|
ARCADE,
|
|
|
|
ATARI_800,
|
|
|
|
ATARI_2600,
|
|
|
|
ATARI_5200,
|
|
|
|
ATARI_7800,
|
|
|
|
ATARI_LYNX,
|
|
|
|
ATARI_ST, // Atari ST/STE/Falcon.
|
|
|
|
ATARI_JAGUAR,
|
|
|
|
ATARI_JAGUAR_CD,
|
|
|
|
ATARI_XE,
|
|
|
|
COLECOVISION,
|
|
|
|
COMMODORE_64,
|
|
|
|
INTELLIVISION,
|
|
|
|
MAC_OS,
|
|
|
|
XBOX,
|
|
|
|
XBOX_360,
|
|
|
|
MSX,
|
|
|
|
NEOGEO,
|
|
|
|
NEOGEO_POCKET,
|
|
|
|
NEOGEO_POCKET_COLOR,
|
|
|
|
NINTENDO_3DS,
|
|
|
|
NINTENDO_64,
|
|
|
|
NINTENDO_DS,
|
|
|
|
FAMICOM_DISK_SYSTEM,
|
|
|
|
NINTENDO_ENTERTAINMENT_SYSTEM,
|
|
|
|
FAIRCHILD_CHANNELF,
|
|
|
|
GAME_BOY,
|
|
|
|
GAME_BOY_ADVANCE,
|
|
|
|
GAME_BOY_COLOR,
|
|
|
|
NINTENDO_GAMECUBE,
|
|
|
|
NINTENDO_WII,
|
|
|
|
NINTENDO_WII_U,
|
|
|
|
NINTENDO_VIRTUAL_BOY,
|
|
|
|
NINTENDO_GAME_AND_WATCH,
|
|
|
|
OPENBOR,
|
|
|
|
PC,
|
|
|
|
SEGA_32X,
|
|
|
|
SEGA_CD,
|
|
|
|
SEGA_DREAMCAST,
|
|
|
|
SEGA_GAME_GEAR,
|
|
|
|
SEGA_GENESIS,
|
|
|
|
SEGA_MASTER_SYSTEM,
|
|
|
|
SEGA_MEGA_DRIVE,
|
|
|
|
SEGA_SATURN,
|
|
|
|
SEGA_SG1000,
|
|
|
|
PLAYSTATION,
|
|
|
|
PLAYSTATION_2,
|
|
|
|
PLAYSTATION_3,
|
|
|
|
PLAYSTATION_4,
|
|
|
|
PLAYSTATION_VITA,
|
|
|
|
PLAYSTATION_PORTABLE,
|
|
|
|
SUPER_NINTENDO,
|
|
|
|
SCUMMVM,
|
|
|
|
SHARP_X6800,
|
|
|
|
SOLARUS,
|
|
|
|
TURBOGRAFX_16, // (Aka PC Engine) HuCards only.
|
|
|
|
TURBOGRAFX_CD, // (Aka PC Engine) CD-ROMs only.
|
|
|
|
WONDERSWAN,
|
|
|
|
WONDERSWAN_COLOR,
|
|
|
|
ZX_SPECTRUM,
|
|
|
|
ZX81_SINCLAR,
|
|
|
|
VIDEOPAC_ODYSSEY2,
|
|
|
|
VECTREX,
|
|
|
|
TRS80_COLOR_COMPUTER,
|
|
|
|
TANDY,
|
2014-06-25 16:29:58 +00:00
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
PLATFORM_IGNORE, // Do not allow scraping for this system.
|
|
|
|
PLATFORM_COUNT
|
|
|
|
};
|
2014-06-25 16:29:58 +00:00
|
|
|
|
2020-06-21 12:25:28 +00:00
|
|
|
PlatformId getPlatformId(const char* str);
|
|
|
|
const char* getPlatformName(PlatformId id);
|
2014-06-25 16:29:58 +00:00
|
|
|
}
|
2017-10-31 17:12:50 +00:00
|
|
|
|
|
|
|
#endif // ES_APP_PLATFORM_ID_H
|