Oolite
1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
src
Core
Debug
OODebugFlags.h
Go to the documentation of this file.
1
#include <stdint.h>
2
3
enum
OODebugFlags
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,
11
DEBUG_BOUNDING_BOXES
= 0x00000040,
12
DEBUG_OCTREE_DRAW
= 0x00000080,
13
DEBUG_DRAW_NORMALS
= 0x00000100,
14
DEBUG_NO_DUST
= 0x00000200,
15
DEBUG_NO_SHADER_FALLBACK
= 0x00000400,
16
DEBUG_SHADER_VALIDATION
= 0x00000800,
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
26
extern
NSUInteger
gDebugFlags
;
27
extern
uint32_t
gLiveEntityCount
;
28
extern
size_t
gTotalEntityMemory
;
29
30
#else
31
32
#define gDebugFlags (0)
33
34
#endif
gLiveEntityCount
uint32_t gLiveEntityCount
Definition
Entity.m:43
gTotalEntityMemory
size_t gTotalEntityMemory
Definition
Entity.m:44
gDebugFlags
NSUInteger gDebugFlags
Definition
main.m:7
OODebugFlags
OODebugFlags
Definition
OODebugFlags.h:4
DEBUG_COLLISIONS
@ DEBUG_COLLISIONS
Definition
OODebugFlags.h:7
DEBUG_NO_DUST
@ DEBUG_NO_DUST
Definition
OODebugFlags.h:14
DEBUG_DOCKING
@ DEBUG_DOCKING
Definition
OODebugFlags.h:8
DEBUG_SHADER_VALIDATION
@ DEBUG_SHADER_VALIDATION
Definition
OODebugFlags.h:16
DEBUG_MISC
@ DEBUG_MISC
Definition
OODebugFlags.h:19
DEBUG_OCTREE_LOGGING
@ DEBUG_OCTREE_LOGGING
Definition
OODebugFlags.h:9
DEBUG_OCTREE_DRAW
@ DEBUG_OCTREE_DRAW
Definition
OODebugFlags.h:12
DEBUG_NO_SHADER_FALLBACK
@ DEBUG_NO_SHADER_FALLBACK
Definition
OODebugFlags.h:15
DEBUG_DRAW_NORMALS
@ DEBUG_DRAW_NORMALS
Definition
OODebugFlags.h:13
DEBUG_LINKED_LISTS
@ DEBUG_LINKED_LISTS
Definition
OODebugFlags.h:5
DEBUG_BOUNDING_BOXES
@ DEBUG_BOUNDING_BOXES
Definition
OODebugFlags.h:11
Generated by
1.12.0