Fling Engine
0.00.1
Fling Engine is a game engine written in Vulkan
FlingEngine
Platform
inc
Platform.h
Go to the documentation of this file.
1
#pragma once
2
4
// General platform abstraction
5
6
#ifdef _WIN32
7
8
#define FLING_APPLE 0
9
#define FLING_WINDOWS 1
10
#define FLING_LINUX 0
11
12
#include "
PlatformWindows.h
"
13
14
#elif __APPLE__
15
16
#define FLING_APPLE 1
17
#define FLING_WINDOWS 0
18
#define FLING_LINUX 0
19
20
#error Fling does not support Apple... does it?
21
22
#elif __linux__
23
24
#define FLING_APPLE 0
25
#define FLING_WINDOWS 0
26
#define FLING_LINUX 1
27
28
#include "
PlatformLinux.h
"
29
30
#else
31
32
# error "Unknown compiler"
33
34
#endif
35
36
37
// #TODO: Any other platform (i.e. consoles, android, etc)
PlatformWindows.h
PlatformLinux.h
Generated by
1.8.13