mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-18 07:05:39 +00:00
Add new platforms to scraper
This commit is contained in:
parent
d5b6201972
commit
0cf21a09fd
|
@ -43,6 +43,8 @@ namespace PlatformIds
|
||||||
"gc", // gamecube
|
"gc", // gamecube
|
||||||
"wii",
|
"wii",
|
||||||
"wiiu",
|
"wiiu",
|
||||||
|
"virtualboy",
|
||||||
|
"gameandwatch",
|
||||||
"pc",
|
"pc",
|
||||||
"sega32x",
|
"sega32x",
|
||||||
"segacd",
|
"segacd",
|
||||||
|
@ -52,6 +54,7 @@ namespace PlatformIds
|
||||||
"mastersystem", // sega master system
|
"mastersystem", // sega master system
|
||||||
"megadrive", // sega megadrive
|
"megadrive", // sega megadrive
|
||||||
"saturn", // sega saturn
|
"saturn", // sega saturn
|
||||||
|
"sg-1000",
|
||||||
"psx",
|
"psx",
|
||||||
"ps2",
|
"ps2",
|
||||||
"ps3",
|
"ps3",
|
||||||
|
@ -63,6 +66,10 @@ namespace PlatformIds
|
||||||
"wonderswan",
|
"wonderswan",
|
||||||
"wonderswancolor",
|
"wonderswancolor",
|
||||||
"zxspectrum",
|
"zxspectrum",
|
||||||
|
"videopac",
|
||||||
|
"vectrex",
|
||||||
|
"trs-80",
|
||||||
|
"coco",
|
||||||
|
|
||||||
"ignore", // do not allow scraping for this system
|
"ignore", // do not allow scraping for this system
|
||||||
"invalid"
|
"invalid"
|
||||||
|
|
|
@ -43,6 +43,8 @@ namespace PlatformIds
|
||||||
NINTENDO_GAMECUBE,
|
NINTENDO_GAMECUBE,
|
||||||
NINTENDO_WII,
|
NINTENDO_WII,
|
||||||
NINTENDO_WII_U,
|
NINTENDO_WII_U,
|
||||||
|
NINTENDO_VIRTUAL_BOY,
|
||||||
|
NINTENDO_GAME_AND_WATCH,
|
||||||
PC,
|
PC,
|
||||||
SEGA_32X,
|
SEGA_32X,
|
||||||
SEGA_CD,
|
SEGA_CD,
|
||||||
|
@ -52,6 +54,7 @@ namespace PlatformIds
|
||||||
SEGA_MASTER_SYSTEM,
|
SEGA_MASTER_SYSTEM,
|
||||||
SEGA_MEGA_DRIVE,
|
SEGA_MEGA_DRIVE,
|
||||||
SEGA_SATURN,
|
SEGA_SATURN,
|
||||||
|
SEGA_SG1000,
|
||||||
PLAYSTATION,
|
PLAYSTATION,
|
||||||
PLAYSTATION_2,
|
PLAYSTATION_2,
|
||||||
PLAYSTATION_3,
|
PLAYSTATION_3,
|
||||||
|
@ -63,6 +66,10 @@ namespace PlatformIds
|
||||||
WONDERSWAN,
|
WONDERSWAN,
|
||||||
WONDERSWAN_COLOR,
|
WONDERSWAN_COLOR,
|
||||||
ZX_SPECTRUM,
|
ZX_SPECTRUM,
|
||||||
|
VIDEOPAC_ODYSSEY2,
|
||||||
|
VECTREX,
|
||||||
|
TRS80_COLOR_COMPUTER,
|
||||||
|
TANDY,
|
||||||
|
|
||||||
PLATFORM_IGNORE, // do not allow scraping for this system
|
PLATFORM_IGNORE, // do not allow scraping for this system
|
||||||
PLATFORM_COUNT
|
PLATFORM_COUNT
|
||||||
|
|
|
@ -28,7 +28,7 @@ const std::map<PlatformId, const char*> gamesdb_platformid_map = boost::assign::
|
||||||
(MAC_OS, "Mac OS")
|
(MAC_OS, "Mac OS")
|
||||||
(XBOX, "Microsoft Xbox")
|
(XBOX, "Microsoft Xbox")
|
||||||
(XBOX_360, "Microsoft Xbox 360")
|
(XBOX_360, "Microsoft Xbox 360")
|
||||||
// missing MSX
|
(MSX, "MSX")
|
||||||
(NEOGEO, "Neo Geo")
|
(NEOGEO, "Neo Geo")
|
||||||
(NEOGEO_POCKET, "Neo Geo Pocket")
|
(NEOGEO_POCKET, "Neo Geo Pocket")
|
||||||
(NEOGEO_POCKET_COLOR, "Neo Geo Pocket Color")
|
(NEOGEO_POCKET_COLOR, "Neo Geo Pocket Color")
|
||||||
|
@ -43,6 +43,8 @@ const std::map<PlatformId, const char*> gamesdb_platformid_map = boost::assign::
|
||||||
(NINTENDO_GAMECUBE, "Nintendo GameCube")
|
(NINTENDO_GAMECUBE, "Nintendo GameCube")
|
||||||
(NINTENDO_WII, "Nintendo Wii")
|
(NINTENDO_WII, "Nintendo Wii")
|
||||||
(NINTENDO_WII_U, "Nintendo Wii U")
|
(NINTENDO_WII_U, "Nintendo Wii U")
|
||||||
|
(NINTENDO_VIRTUAL_BOY, "Nintendo Virtual Boy")
|
||||||
|
(NINTENDO_GAME_AND_WATCH, "Game & Watch")
|
||||||
(PC, "PC")
|
(PC, "PC")
|
||||||
(SEGA_32X, "Sega 32X")
|
(SEGA_32X, "Sega 32X")
|
||||||
(SEGA_CD, "Sega CD")
|
(SEGA_CD, "Sega CD")
|
||||||
|
@ -52,6 +54,7 @@ const std::map<PlatformId, const char*> gamesdb_platformid_map = boost::assign::
|
||||||
(SEGA_MASTER_SYSTEM, "Sega Master System")
|
(SEGA_MASTER_SYSTEM, "Sega Master System")
|
||||||
(SEGA_MEGA_DRIVE, "Sega Mega Drive")
|
(SEGA_MEGA_DRIVE, "Sega Mega Drive")
|
||||||
(SEGA_SATURN, "Sega Saturn")
|
(SEGA_SATURN, "Sega Saturn")
|
||||||
|
(SEGA_SG1000, "SEGA SG-1000")
|
||||||
(PLAYSTATION, "Sony Playstation")
|
(PLAYSTATION, "Sony Playstation")
|
||||||
(PLAYSTATION_2, "Sony Playstation 2")
|
(PLAYSTATION_2, "Sony Playstation 2")
|
||||||
(PLAYSTATION_3, "Sony Playstation 3")
|
(PLAYSTATION_3, "Sony Playstation 3")
|
||||||
|
@ -62,8 +65,11 @@ const std::map<PlatformId, const char*> gamesdb_platformid_map = boost::assign::
|
||||||
(TURBOGRAFX_16, "TurboGrafx 16")
|
(TURBOGRAFX_16, "TurboGrafx 16")
|
||||||
(WONDERSWAN, "WonderSwan")
|
(WONDERSWAN, "WonderSwan")
|
||||||
(WONDERSWAN_COLOR, "WonderSwan Color")
|
(WONDERSWAN_COLOR, "WonderSwan Color")
|
||||||
(ZX_SPECTRUM, "Sinclair ZX Spectrum");
|
(ZX_SPECTRUM, "Sinclair ZX Spectrum")
|
||||||
|
(VIDEOPAC_ODYSSEY2, "Magnavox Odyssey 2")
|
||||||
|
(VECTREX, "Vectrex")
|
||||||
|
(TRS80_COLOR_COMPUTER, "TRS-80 Color Computer")
|
||||||
|
(TANDY, "TRS-80 Color Computer");
|
||||||
|
|
||||||
void thegamesdb_generate_scraper_requests(const ScraperSearchParams& params, std::queue< std::unique_ptr<ScraperRequest> >& requests,
|
void thegamesdb_generate_scraper_requests(const ScraperSearchParams& params, std::queue< std::unique_ptr<ScraperRequest> >& requests,
|
||||||
std::vector<ScraperSearchResult>& results)
|
std::vector<ScraperSearchResult>& results)
|
||||||
|
|
Loading…
Reference in a new issue