Loading [MathJax]/extensions/MathMenu.js
Cytopia
0.3
A city building simulation game
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
z
~
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Typedefs
a
c
d
e
g
i
m
n
p
r
s
t
u
v
Enumerations
Enumerator
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
z
Functions
b
c
d
f
g
i
m
o
p
r
s
t
w
Variables
a
c
d
g
h
i
l
m
n
r
s
t
Typedefs
a
c
d
e
f
g
i
j
l
m
n
r
s
t
v
Enumerations
Enumerator
a
b
d
e
f
g
l
m
n
p
r
s
t
u
w
z
Macros
_
c
e
i
l
n
r
s
t
v
Examples
▼
Cytopia
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
src
▼
engine
►
audio
►
basics
▼
common
►
Constants.hxx
►
enums.hxx
►
JsonSerialization.hxx
►
platform.hxx
►
GameObjects
►
map
EventManager.cxx
►
EventManager.hxx
►
Layout.hxx
►
Map.cxx
►
Map.hxx
►
MessageQueue.hxx
MessageQueue.inl.hxx
►
ResourcesManager.cxx
►
ResourcesManager.hxx
Sprite.cxx
►
Sprite.hxx
►
TileManager.cxx
►
TileManager.hxx
►
UIManager.cxx
►
UIManager.hxx
WindowManager.cxx
►
WindowManager.hxx
►
game
►
scripting
►
services
►
util
►
windows
Game.cxx
►
Game.hxx
►
main.cxx
►
MainMenu.cxx
►
MainMenu.hxx
phc.hxx
►
File Members
►
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
platform.hxx
Go to the documentation of this file.
1
#ifndef PLATFORM_H_
2
#define PLATFORM_H_
3
4
#if defined(__WIN32__) || defined(_WIN32) || defined(_WIN64)
5
#define CYTOPIA_PLATFORM_WIN
6
#define CYTOPIA_PLATFORM_WINPC
7
constexpr
const
char
*
CYTOPIA_PLATFORM_NAME
=
"win"
;
8
#elif defined(__APPLE_CC__) || defined(__APPLE__) || defined(__APPLE_CPP__) || defined(__MACOS_CLASSIC__)
9
#define CYTOPIA_PLATFORM_UNIX
10
#define CYTOPIA_PLATFORM_MACOSX
11
constexpr
const
char
*
CYTOPIA_PLATFORM_NAME
=
"macosx"
;
12
#elif defined(__FreeBSD__) || defined(__OpenBSD__)
13
#define CYTOPIA_PLATFORM_UNIX
14
#define CYTOPIA_PLATFORM_XBSD
15
constexpr
const
char
*
CYTOPIA_PLATFORM_NAME
=
"freebsd"
;
16
#elif defined(__HAIKU__) || defined(HAIKU)
17
#define CYTOPIA_PLATFORM_BEOS
18
#define CYTOPIA_PLATFORM_HAIKU
19
constexpr
const
char
*
CYTOPIA_PLATFORM_NAME
=
"haiku"
;
20
#elif defined(ANDROID)
21
#define CYTOPIA_PLATFORM_UNIX
22
#define CYTOPIA_PLATFORM_ANDROID
23
constexpr
const
char
*
CYTOPIA_PLATFORM_NAME
=
"android"
;
24
#else
25
#define CYTOPIA_PLATFORM_UNIX
26
#define CYTOPIA_PLATFORM_LINUX
27
constexpr
const
char
*
CYTOPIA_PLATFORM_NAME
=
"linux"
;
28
#endif
29
30
#endif // PLATFORM_H_
CYTOPIA_PLATFORM_NAME
constexpr const char * CYTOPIA_PLATFORM_NAME
Definition:
platform.hxx:27
src
engine
common
platform.hxx
Generated on Sun Nov 27 2022 09:50:52 for Cytopia by
1.8.17