Line data Source code
1 0 : #include <stdint.h> 2 : 3 0 : 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 0 : #define DEBUG_ALL 0xffffffff 22 : 23 : 24 : #ifndef NDEBUG 25 : 26 0 : extern NSUInteger gDebugFlags; 27 0 : extern uint32_t gLiveEntityCount; 28 0 : extern size_t gTotalEntityMemory; 29 : 30 : #else 31 : 32 : #define gDebugFlags (0) 33 : 34 : #endif