Fission FSN
Loading...
Searching...
No Matches
fsPlatform.h
Go to the documentation of this file.
1/********************************************************************
2*
3* Created: 16/5/2013 8:12
4*
5* File: fsPlatform.h
6*
7* Author: Mick Waites
8*
9* Purpose: Information about the current hardware executing the
10* code.
11*
12*********************************************************************/
13
14#ifndef fsPlatformhdr
15#define fsPlatformhdr
16
17// #define fsPLATFORM fsDESKTOP_PC
18// #define fsPLATFORM fsDESKTOP_MAC
19// #define fsPLATFORM fsTABLET_KINDLE
20// #define fsPLATFORM fsTABLET_IPAD
21// #define fsPLATFORM fsTABLET_ANDROID
22// #define fsPLATFORM fsDESKTOP_PC
23// #define fsPLATFORM fsDESKTOP_MAC
24
25// #define fsFRAMEWORK_CX
26// #define fsFRAMEWORK_MG
27// #define fsFRAMEWORK_RL
28
29
30#if defined COCOS2D_X
31 #define fsFRAMEWORK_CX
32#elif defined AX
33 #define fsFRAMEWORK_AX
34#elif defined MG
35 #define fsFRAMEWORK_MG
36#elif defined RAYLIB
37 #define fsFRAMEWORK_RL
38#elif defined BGFX
39 #define fsFRAMEWORK_BF
40#else
41 #error Unknown platform.
42#endif
43
44#endif