Oolite 1.91.0.7644-241112-7f5034b
Loading...
Searching...
No Matches
OODebugFlags.h
Go to the documentation of this file.
1#include <stdint.h>
2
4{
5 DEBUG_LINKED_LISTS = 0x00000001,
6// UNUSED = 0x00000002,
7 DEBUG_COLLISIONS = 0x00000004,
8 DEBUG_DOCKING = 0x00000008,
9 DEBUG_OCTREE_LOGGING = 0x00000010,
10// UNUSED = 0x00000020,
12 DEBUG_OCTREE_DRAW = 0x00000080,
13 DEBUG_DRAW_NORMALS = 0x00000100,
14 DEBUG_NO_DUST = 0x00000200,
17
18 // Flag for temporary use, always last in list.
19 DEBUG_MISC = 0x10000000
20};
21#define DEBUG_ALL 0xffffffff
22
23
24#ifndef NDEBUG
25
26extern NSUInteger gDebugFlags;
27extern uint32_t gLiveEntityCount;
28extern size_t gTotalEntityMemory;
29
30#else
31
32#define gDebugFlags (0)
33
34#endif
uint32_t gLiveEntityCount
Definition Entity.m:43
size_t gTotalEntityMemory
Definition Entity.m:44
NSUInteger gDebugFlags
Definition main.m:7
OODebugFlags
Definition OODebugFlags.h:4
@ DEBUG_COLLISIONS
Definition OODebugFlags.h:7
@ DEBUG_NO_DUST
@ DEBUG_DOCKING
Definition OODebugFlags.h:8
@ DEBUG_SHADER_VALIDATION
@ DEBUG_MISC
@ DEBUG_OCTREE_LOGGING
Definition OODebugFlags.h:9
@ DEBUG_OCTREE_DRAW
@ DEBUG_NO_SHADER_FALLBACK
@ DEBUG_DRAW_NORMALS
@ DEBUG_LINKED_LISTS
Definition OODebugFlags.h:5
@ DEBUG_BOUNDING_BOXES