Changeset 3590 in orxonox.OLD for orxonox/trunk/src/defs
- Timestamp:
- Mar 17, 2005, 1:06:51 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/defs/debug.h
r3548 r3590 22 22 #define _DEBUG_H 23 23 24 #if HAVE_CONFIG_H 25 #include <config.h> 26 #endif 27 28 #include <stdio.h> 29 30 // DEFINE ERROR MODES 24 31 #define NO 0 25 32 #define ERR 1 … … 29 36 #define vDEBUGING 5 30 37 31 #if HAVE_CONFIG_H 32 #include <config.h> 33 #endif 34 35 #include <stdio.h> 36 38 #ifndef DEBUG_SPECIAL_MODULE 39 extern int verbose; 40 #else 41 // DEFINE MODULES 42 #define DEBUG_MODULE_WORLD 0 43 #define DEBUG_MODULE_PNODE 0 44 #define DEBUG_MODULE_TRACKMANAGER 0 45 #define DEBUG_MODULE_LIGHT 0 46 #define DEBUG_MODULE_WORLD_ENTITY 0 47 #define DEBUG_MODULE_PLAYER 0 48 #define DEBUG_MODULE_PNODE 0 49 #define DEBUG_MODULE_IMPORTER 0 50 #define DEBUG_MODULE_MATH 0 51 52 #define verbose DEBUG_SPECIAL_MODULE 53 54 #endif 37 55 /////////////////////////////////////////////////// 38 56 /// PRINTF: prints with filename and linenumber /// … … 40 58 41 59 #ifdef DEBUG 42 extern int verbose; 60 43 61 #define PRINTF(x) \ 44 62 PRINTF ## x … … 97 115 /////////////////////////////////////////////////// 98 116 #ifdef DEBUG 99 extern int verbose;100 117 #define PRINT(x) \ 101 118 PRINT ## x
Note: See TracChangeset
for help on using the changeset viewer.