mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Add boost-regex to required libs.
Added PlatformId.h.
This commit is contained in:
parent
153aee5040
commit
69ef41a49f
|
@ -35,7 +35,7 @@ endif()
|
|||
find_package(FreeType REQUIRED)
|
||||
find_package(FreeImage REQUIRED)
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(Boost REQUIRED COMPONENTS system filesystem)
|
||||
find_package(Boost REQUIRED COMPONENTS system filesystem regex)
|
||||
find_package(Eigen3 REQUIRED)
|
||||
|
||||
#add ALSA for Linux
|
||||
|
|
54
src/PlatformId.h
Normal file
54
src/PlatformId.h
Normal file
|
@ -0,0 +1,54 @@
|
|||
#pragma once
|
||||
|
||||
namespace PlatformIds
|
||||
{
|
||||
enum PlatformId
|
||||
{
|
||||
PLATFORM_UNKNOWN,
|
||||
THREEDO, //can't start with a constant
|
||||
AMIGA,
|
||||
ARCADE,
|
||||
ATARI_2600,
|
||||
ATARI_5200,
|
||||
ATARI_7800,
|
||||
ATARI_JAGUAR,
|
||||
ATARI_JAGUAR_CD,
|
||||
ATARI_XE,
|
||||
COLECOVISION,
|
||||
COMMODORE_64,
|
||||
INTELLIVISION,
|
||||
MAC_OS,
|
||||
XBOX,
|
||||
XBOX_360,
|
||||
NEOGEO,
|
||||
NINTENDO_3DS,
|
||||
NINTENDO_64,
|
||||
NINTENDO_DS,
|
||||
NINTENDO_ENTERTAINMENT_SYSTEM,
|
||||
GAME_BOY,
|
||||
GAME_BOY_ADVANCE,
|
||||
GAME_BOY_COLOR,
|
||||
NINTENDO_GAMECUBE,
|
||||
NINTENDO_WII,
|
||||
NINTENDO_WII_U,
|
||||
PC,
|
||||
SEGA_32X,
|
||||
SEGA_CD,
|
||||
SEGA_DREAMCAST,
|
||||
SEGA_GAME_GEAR,
|
||||
SEGA_GENESIS,
|
||||
SEGA_MASTER_SYSTEM,
|
||||
SEGA_MEGA_DRIVE,
|
||||
SEGA_SATURN,
|
||||
PLAYSTATION,
|
||||
PLAYSTATION_2,
|
||||
PLAYSTATION_3,
|
||||
PLAYSTATION_4,
|
||||
PLAYSTATION_VITA,
|
||||
PLAYSTATION_PORTABLE,
|
||||
SUPER_NINTENDO,
|
||||
TURBOGRAFX_16,
|
||||
PLATFORM_COUNT
|
||||
};
|
||||
}
|
||||
|
|
@ -6,6 +6,7 @@
|
|||
#include "FolderData.h"
|
||||
#include "Window.h"
|
||||
#include "MetaData.h"
|
||||
#include "PlatformId.h"
|
||||
|
||||
class GameData;
|
||||
|
||||
|
@ -38,6 +39,7 @@ private:
|
|||
std::string mStartPath;
|
||||
std::string mSearchExtension;
|
||||
std::string mLaunchCommand;
|
||||
PlatformIds::PlatformId mPlatformId;
|
||||
|
||||
void populateFolder(FolderData* folder);
|
||||
|
||||
|
@ -45,3 +47,4 @@ private:
|
|||
};
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue