-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig.h
255 lines (220 loc) · 7.23 KB
/
config.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
//#define NDEBUG // for testing networking
#ifdef EXTRACOMPILE //leftovers and extra from minimal
#define MINIMAL2
//#define COMPRESS //needed for empython
//#define SDLMixer // wip - might not be compatable with the engine
//#define OPENAL2 // working with emscripten
//#define SDLSound //- seems to play and freeze needs threading
//#define WII
//#define IRRc
//PathFinding
#define MINAV
#define OPENSTEER
#ifdef OPENSTEER
#define OPENSTEER2 // the rest of the extra plugins if its compiling good.
#endif
#define SPARK
//#define IRRNETLITE
#ifdef linux
#define LIBINPUT
#define VIDEO
#endif
//Sound
#define AGAUDIO3
#ifdef AGAUDIO3
#ifndef MACOSX
// #define XMaudio
#define FLUIDLITE
// #define OGG // has to be set in build config unless we add #include ../config.h to it
#endif
// #define MP3
#endif
//#define SOUND // cAudio
//#define PHYSICS
//#ifndef PHYSICS
// #define IRRBULLET //seems to be working
// #endif
#ifdef NDEBUG
// #define NETWORK
#endif
// #define SKELETON // needs to be updated
//#define DECALS //not used
#define DECALS2
#define TESSELATE
// #define occlusion.
// #define FPSWEAPON // no uses diff event receiver than player so wont drive car or shoot cubes // screws with the flare2
#define RIBBONTRAIL
// #define DESTRUCTION //not working
#define FORMATIONDEMO
// #define HUD //causes crashing
// #define FT2
#endif
#ifdef MINIMAL
// MINIMAL defines
#define EVENTS
#define FPS // for some reason it needs PHYSICS enabled
// #define CSG // constructive solid geometry OSX issue finding gl files
#define SGRAPH2D // 2d plot graph
#define WIND
#define SCENE
// #define PHYSICS
#define PYTHON
// #define ANGELSCRIPT
#define Image2D
#define IRRCD
#define OCCLUSION
#define WATER //enables the other 2
// #define ReflectiveWater
#define RealisticWater //cannot be enabled with postprocessing
#define EXTRAS
#define CHOPPER
#define BOIDS
#define TERRAIN
#define VEGETATION //grass,weeds, vines
#define FLAG
#define FLAG2 //FMX
//#define WII //not ready for use yet also requires libudev.
//xwiimote is easier to use with suse linux
//cwiid has balanceboard support
#define CLOUDS
#define Bitcloud
#define COMPASS
#define TESSELATE
#define SCALC
#define SPRITES
//#define SKELETON // needs to be updated
//#define PostProcess // crashes on GL4ES from shader issue
#define TREES //very cpu intensive does not work with emscripten yet.
#define forest
#define ATMOSPHERE // freezes when no video acceleration is used
// or as a user without access to video rights is used
#define RIBBONTRAIL
#define BOX2DLITE
//#define FLARE
#define DECALS2 //replace needing physics to get working
// #define SQLITE
#define LOADLEVELS
#define CODEEDITOR
#ifndef MACOSX
#define COMPRESS
#endif
#define JOYSTICK
#ifdef MINIMAL2 //not so minimal extras
//#define SDLMixer // wip - might not be compatable with the engine
//#define OPENAL2 // working with emscripten
//#define SDLSound //- seems to play and freeze needs threading
//#define SQLITE
//#define SDLSound
#define SPEECH
// #define POLYVOX
#define FLARE
#define FLARES
#define FLARE2 // more realistic and working
#define ENVVEG // IGE_SceneNode_Vegetation
#ifndef WIN32
#define TILED2D
#define MOHAABSP
#ifdef MOHAABSP
#define _IRR_COMPILE_WITH_BSP_LOADER_ //seems to only compile on linux for the moment.
#define test223 // mohaaloader linux only because of byteswap
#endif
#endif
#define RECAST
//#define OIS2
//#define OIS2_LINUX_JOY_DEBUG
//#define PYTHON_MINIMALTEST
#ifdef WBULLET
#define PHYSICS
#ifdef linux
#define DESTRUCTION
#endif
// #ifndef PHYSICS
//#define IRRBULLET // use on its own or with PHYSICS
//#endif
#endif
#endif
#ifdef PHYSICS
//if bullet carnot enabled with physics and car calls it crashes FIXME
#define BULLETCAR // if FPSWEAPON is enabled the car wont work. diff event rec
#define LOADLEVELS // with occlusion its slow?
//#define BULLETBLEND //only seems to work if you compile it with including bullet libs not compiled with bullet
#define RAGDOLL //bulletRagdoll
#endif
#else
// mainly used for old stuff , emscripten remove this list later
#define PYTHON // defined in the codeblocks project option defines for target management and testing builds
// #define ANGELSCRIPT
#define COMPRESS //needed for empython
#ifndef __EMSCRIPTEN__
#define SOUND
#define VIDEO
//todo put in simple openal sound
#endif
//for AgAudio
//#ifdef __EMSCRIPTEN__
//#define SDLMixer // wip - might not be compatable with the engine
//#define OPENAL2 // working with emscripten
//#define SDLSound //- seems to play and freeze needs threading
// #define WII
// #define IRRCD // irrlicht Collision Detection
#define EVENTS
#define FPS
#define CSG // constructive solid geometry
#define SGRAPH2D // 2d plot graph
#define WIND
#define SCENE
// #define IRRc
//PathFinding
#define RECAST
#define MINAV
#define OPENSTEER
#define WATER
// #define ReflectiveWater
// #define RealisticWater
#define SPARK
//#define BOX2D // needs to be implimented properly still
// #define SKELETON // needs to be updated
#define PostProcess
// #define VEGETATION //grass,weeds, vines
// #define TREES //very cpu intensive does not work with emscripten yet.
#define ATMOSPHERE // freezes when no video acceleration is used
// or as a user without access to video rights is used
#define FLARE
//#define FLARES
//#define FLARE2 // more realistic and working
//#define FLUIDLITE
//#define FLUIDSYNTH //has been replaced by fluidlite
//#define DECALS //not used
#define DECALS2
#define TESSELATE
// #define CODEEDITOR
//#define FLAG //
//#define FLAG2 //FMX
//#define COMPASS
#define BOIDS
#define TERRAIN
// #define occlusion.
#define OCCLUSION
// #define FPSWEAPON // no uses diff event receiver than player so wont drive car or shoot cubes // screws with the flare2
#define BOX2DLITE
//#define PHYSICS
#ifdef PHYSICS
//if bullet carnot enabled with physics and car calls it crashes FIXME
#define BULLETCAR // if FPSWEAPON is enabled the car wont work. diff event rec
#define LOADLEVELS // with occlusion its slow?
// #define BULLETBLEND
#define RAGDOLL //bulletRagdoll
#endif
#define EXTRAS
#define RIBBONTRAIL
// #define DESTRUCTION //not working
#define FORMATIONDEMO
// #define HUD
#define Image2D // Just testing out
#define CHOPPER
#define SQLITE
#define SCALC
#define FT2
#define SPRITES
//#define PYTHON_MINIMALTEST
#endif