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