Libprimis
Imprimis' 3D destroyable world engine
Loading...
Searching...
No Matches
cube.h
Go to the documentation of this file.
1
11#ifndef CUBE_H_
12#define CUBE_H_
13
14 //use WIN32 as the macro identifier regardless of which is in use
15#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
16 #ifndef WIN32
17 #define WIN32
18 #endif
19#endif
20
21#ifdef WIN32
22 #define _USE_MATH_DEFINES
23#endif
24#include <math.h>
25
26#include <type_traits>
27#include <string>
28#include <cstdio>
29#include <cstdlib>
30#include <cctype>
31#include <cstdarg>
32#include <climits>
33#include <cfloat>
34#include <cmath>
35#include <cassert>
36#include <cstring>
37#include <ctime>
38#include <algorithm>
39#include <utility>
40#include <vector>
41#include <functional>
42#include <unordered_map>
43#include <queue>
44#include <stack>
45#include <array>
46#include <map>
47#include <set>
48#include <unordered_set>
49#include <fstream>
50
51#ifdef WIN32
52 #define WIN32_LEAN_AND_MEAN
53 #ifdef _WIN32_WINNT
54 #undef _WIN32_WINNT
55 #endif
56 #define _WIN32_WINNT 0x0500
57 #include "windows.h"
58 #ifndef _WINDOWS
59 #define _WINDOWS
60 #endif
61 #ifndef __GNUC__
62 #include <eh.h>
63 #include <dbghelp.h>
64 #include <intrin.h>
65 #endif
66 #define ZLIB_DLL
67#endif
68
69#include <SDL.h>
70
71#include <GL/glew.h>
72
73#include <GL/gl.h>
74
75#include <zlib.h>
76
77#include "tools.h"
78#include "geom.h"
79#include "ents.h"
80#include "command.h"
81#include "octa.h"
82#include "slot.h"
83
84#include "consts.h"
85
86#endif /* CUBE_H_ */
87
Script binding functionality.
Useful egnine constants.
Static map entities and dynamic entities.
Physical geometry objects.
Objects representing the octree and its manipulation methods.
Texture slot objects.
Legacy tooling inherited from the Cube engine.