2020-09-21 17:17:34 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2020-06-21 12:25:28 +00:00
|
|
|
//
|
2020-09-21 17:17:34 +00:00
|
|
|
// EmulationStation Desktop Edition
|
2020-06-21 12:25:28 +00:00
|
|
|
// PlatformId.h
|
|
|
|
//
|
2020-06-23 18:07:00 +00:00
|
|
|
// Index of all supported systems/platforms.
|
2020-06-21 12:25:28 +00:00
|
|
|
//
|
|
|
|
|
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
|
|
|
|
2020-12-16 22:59:00 +00:00
|
|
|
#include <string>
|
|
|
|
|
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
|
|
|
|
2021-02-06 13:20:45 +00:00
|
|
|
THREEDO, // Names can't start with a number.
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_ADVENTUREGAMESTUDIO,
|
2021-02-07 19:49:52 +00:00
|
|
|
COMMODORE_AMIGA,
|
|
|
|
COMMODORE_AMIGA_CD32,
|
2020-06-21 12:25:28 +00:00
|
|
|
AMSTRAD_CPC,
|
2021-11-03 20:19:38 +00:00
|
|
|
GOOGLE_ANDROID,
|
2020-06-21 12:25:28 +00:00
|
|
|
APPLE_II,
|
2020-08-05 08:45:27 +00:00
|
|
|
APPLE_IIGS,
|
2020-06-21 12:25:28 +00:00
|
|
|
ARCADE,
|
2021-02-07 19:49:52 +00:00
|
|
|
BALLY_ASTROCADE,
|
2020-06-21 12:25:28 +00:00
|
|
|
ATARI_2600,
|
|
|
|
ATARI_5200,
|
|
|
|
ATARI_7800,
|
2021-02-06 13:20:45 +00:00
|
|
|
ATARI_800,
|
2020-06-21 12:25:28 +00:00
|
|
|
ATARI_JAGUAR,
|
|
|
|
ATARI_JAGUAR_CD,
|
2021-02-06 13:20:45 +00:00
|
|
|
ATARI_LYNX,
|
|
|
|
ATARI_ST,
|
2020-06-21 12:25:28 +00:00
|
|
|
ATARI_XE,
|
2020-08-05 08:45:27 +00:00
|
|
|
ATOMISWAVE,
|
2021-02-06 13:20:45 +00:00
|
|
|
BBC_MICRO,
|
2020-06-21 12:25:28 +00:00
|
|
|
COMMODORE_64,
|
2021-02-06 13:20:45 +00:00
|
|
|
CAVESTORY,
|
2021-11-03 17:51:38 +00:00
|
|
|
PHILIPS_CDI,
|
2020-08-05 08:45:27 +00:00
|
|
|
COMMODORE_CDTV,
|
2021-02-06 13:20:45 +00:00
|
|
|
FAIRCHILD_CHANNELF,
|
2021-02-07 19:49:52 +00:00
|
|
|
TANDY_COLOR_COMPUTER,
|
2021-02-06 13:20:45 +00:00
|
|
|
COLECOVISION,
|
|
|
|
DAPHNE,
|
|
|
|
DOS,
|
|
|
|
DRAGON32,
|
|
|
|
SEGA_DREAMCAST,
|
2021-02-07 19:49:52 +00:00
|
|
|
NINTENDO_FAMICOM,
|
|
|
|
NINTENDO_FAMICOM_DISK_SYSTEM,
|
2021-02-06 13:20:45 +00:00
|
|
|
NINTENDO_GAME_AND_WATCH,
|
|
|
|
SEGA_GAME_GEAR,
|
2021-02-07 19:49:52 +00:00
|
|
|
NINTENDO_GAME_BOY,
|
|
|
|
NINTENDO_GAME_BOY_ADVANCE,
|
|
|
|
NINTENDO_GAME_BOY_COLOR,
|
2021-02-07 14:28:23 +00:00
|
|
|
NINTENDO_GAMECUBE,
|
2021-02-06 13:20:45 +00:00
|
|
|
SEGA_GENESIS,
|
|
|
|
AMSTRAD_GX4000,
|
2020-06-21 12:25:28 +00:00
|
|
|
INTELLIVISION,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_LOVE,
|
|
|
|
GAMEENGINE_LUTRO,
|
2021-02-07 19:49:52 +00:00
|
|
|
APPLE_MACINTOSH,
|
2021-02-06 13:20:45 +00:00
|
|
|
SEGA_MASTER_SYSTEM,
|
|
|
|
SEGA_MEGA_DRIVE,
|
|
|
|
MESS,
|
|
|
|
MOONLIGHT,
|
|
|
|
THOMSON_MOTO,
|
2020-06-21 12:25:28 +00:00
|
|
|
MSX,
|
2021-02-07 21:35:34 +00:00
|
|
|
MSX2,
|
|
|
|
MSX_TURBO_R,
|
2020-06-21 12:25:28 +00:00
|
|
|
NINTENDO_3DS,
|
|
|
|
NINTENDO_64,
|
2021-02-06 13:20:45 +00:00
|
|
|
SEGA_NAOMI,
|
2020-06-21 12:25:28 +00:00
|
|
|
NINTENDO_DS,
|
2021-02-07 19:49:52 +00:00
|
|
|
SNK_NEO_GEO,
|
|
|
|
SNK_NEO_GEO_CD,
|
2020-06-21 12:25:28 +00:00
|
|
|
NINTENDO_ENTERTAINMENT_SYSTEM,
|
2021-02-07 19:49:52 +00:00
|
|
|
SNK_NEO_GEO_POCKET,
|
|
|
|
SNK_NEO_GEO_POCKET_COLOR,
|
2021-02-06 13:20:45 +00:00
|
|
|
VIDEOPAC_ODYSSEY2,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_OPENBOR,
|
2021-02-07 19:49:52 +00:00
|
|
|
TANGERINE_ORIC,
|
2021-02-06 13:20:45 +00:00
|
|
|
PALM_OS,
|
2020-07-30 20:19:12 +00:00
|
|
|
PC,
|
2021-02-07 20:36:33 +00:00
|
|
|
NEC_PC_8800,
|
|
|
|
NEC_PC_9800,
|
2021-02-07 19:49:52 +00:00
|
|
|
NEC_PC_ENGINE,
|
|
|
|
NEC_PC_ENGINE_CD,
|
|
|
|
NEC_PCFX,
|
2021-02-06 13:20:45 +00:00
|
|
|
NINTENDO_POKEMON_MINI,
|
2021-02-07 19:49:52 +00:00
|
|
|
SONY_PLAYSTATION_2,
|
|
|
|
SONY_PLAYSTATION_3,
|
|
|
|
SONY_PLAYSTATION_4,
|
|
|
|
SONY_PLAYSTATION_PORTABLE,
|
|
|
|
SONY_PLAYSTATION_VITA,
|
|
|
|
SONY_PLAYSTATION,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_RESIDUALVM,
|
2020-07-25 14:18:41 +00:00
|
|
|
SAMCOUPE,
|
2021-02-06 13:20:45 +00:00
|
|
|
NINTENDO_SATELLAVIEW,
|
|
|
|
SEGA_SATURN,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_SCUMMVM,
|
2021-02-06 13:20:45 +00:00
|
|
|
SEGA_32X,
|
|
|
|
SEGA_CD,
|
|
|
|
SEGA_SG1000,
|
|
|
|
SUPER_NINTENDO,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_SOLARUS,
|
2021-02-06 13:20:45 +00:00
|
|
|
SPECTRAVIDEO,
|
2021-03-24 18:44:36 +00:00
|
|
|
VALVE_STEAM,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_STRATAGUS,
|
2021-02-07 19:49:52 +00:00
|
|
|
BANDAI_SUFAMI_TURBO,
|
|
|
|
NEC_SUPERGRAFX,
|
2021-06-23 15:52:33 +00:00
|
|
|
NINTENDO_SWITCH,
|
2021-02-07 19:49:52 +00:00
|
|
|
TEXAS_INSTRUMENTS_TI99,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_TIC80,
|
2021-02-07 19:49:52 +00:00
|
|
|
TANDY_TRS80,
|
2020-08-05 08:45:27 +00:00
|
|
|
UZEBOX,
|
2021-02-06 13:20:45 +00:00
|
|
|
VECTREX,
|
2021-11-03 17:11:41 +00:00
|
|
|
COMMODORE_VIC20,
|
2021-02-07 19:49:52 +00:00
|
|
|
PHILIPS_VIDEOPAC,
|
2021-02-06 13:20:45 +00:00
|
|
|
NINTENDO_VIRTUAL_BOY,
|
|
|
|
NINTENDO_WII,
|
|
|
|
NINTENDO_WII_U,
|
2021-02-07 19:49:52 +00:00
|
|
|
BANDAI_WONDERSWAN,
|
|
|
|
BANDAI_WONDERSWAN_COLOR,
|
2021-02-06 13:20:45 +00:00
|
|
|
SHARP_X1,
|
|
|
|
SHARP_X68000,
|
2021-02-07 19:49:52 +00:00
|
|
|
MICROSOFT_XBOX,
|
|
|
|
MICROSOFT_XBOX_360,
|
2021-02-07 23:17:01 +00:00
|
|
|
GAMEENGINE_Z_MACHINE,
|
2021-02-07 19:49:52 +00:00
|
|
|
SINCLAIR_ZX81_SINCLAR,
|
|
|
|
SINCLAIR_ZX_SPECTRUM,
|
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-12-16 22:59:00 +00:00
|
|
|
PlatformId getPlatformId(const std::string& str);
|
|
|
|
const std::string getPlatformName(PlatformId id);
|
2021-07-07 18:03:42 +00:00
|
|
|
|
|
|
|
} // namespace PlatformIds
|
2017-10-31 17:12:50 +00:00
|
|
|
|
|
|
|
#endif // ES_APP_PLATFORM_ID_H
|