- Timestamp:
- Oct 7, 2005, 1:59:44 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/defs/debug.h
r5299 r5300 55 55 #define HARD_DEBUG_LEVEL DEBUG 56 56 #else /* DEBUG_SPECIAL_MODULE */ 57 // DEFINE MODULES 57 //////////////////// 58 // DEFINE MODULES // 59 //////////////////// 60 // FRAMEWORK 58 61 #define DEBUG_MODULE_ORXONOX 2 59 62 #define DEBUG_MODULE_WORLD 2 63 #define DEBUG_MODULE_NETWORK 2 64 65 // LOADING 66 #define DEBUG_MODULE_LOAD 2 67 #define DEBUG_MODULE_IMPORTER 2 68 69 // ENGINES 70 #define DEBUG_MODULE_GRAPHICS 2 71 #define DEBUG_MODULE_EVENT 2 72 #define DEBUG_MODULE_FONT 2 73 #define DEBUG_MODULE_PARTICLE 2 74 #define DEBUG_MODULE_PHYSICS 2 75 #define DEBUG_MODULE_GARBAGE_COLLECTOR 2 76 #define DEBUG_MODULE_OBJECT_MANAGER 2 77 #define DEBUG_MODULE_ANIM 2 78 #define DEBUG_MODULE_COLLISON_DETECTION 2 79 #define DEBUG_MODULE_SPATIAL_SEPARATION 2 80 81 // MISC 82 #define DEBUG_MODULE_TRACK_MANAGER 2 83 #define DEBUG_MODULE_MATH 2 84 #define DEBUG_MODULE_LIGHT 2 85 60 86 #define DEBUG_MODULE_PNODE 2 61 87 #define DEBUG_MODULE_WORLD_ENTITY 2 62 #define DEBUG_MODULE_COMMAND_NODE 2 63 #define DEBUG_MODULE_GRAPHICS 2 64 #define DEBUG_MODULE_LOAD 2 65 66 #define DEBUG_MODULE_IMPORTER 2 67 #define DEBUG_MODULE_TRACK_MANAGER 2 68 #define DEBUG_MODULE_GARBAGE_COLLECTOR 2 69 #define DEBUG_MODULE_OBJECT_MANAGER 2 70 #define DEBUG_MODULE_LIGHT 2 88 71 89 #define DEBUG_MODULE_PLAYER 2 72 90 #define DEBUG_MODULE_WEAPON 2 73 #define DEBUG_MODULE_MATH 274 #define DEBUG_MODULE_FONT 275 #define DEBUG_MODULE_ANIM 276 #define DEBUG_MODULE_PARTICLE 277 #define DEBUG_MODULE_PHYSICS 278 #define DEBUG_MODULE_EVENT 279 80 #define DEBUG_MODULE_NULL_PARENT 281 #define DEBUG_MODULE_NETWORK 282 83 #define DEBUG_MODULE_COLLISON_DETECTION 284 #define DEBUG_MODULE_SPATIAL_SEPARATION 285 91 86 92 #define HARD_DEBUG_LEVEL DEBUG_SPECIAL_MODULE -
trunk/src/glmenu/glmenu_imagescreen.cc
r5155 r5300 16 16 */ 17 17 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_LOAD 18 19 19 20 #include "glmenu_imagescreen.h" … … 25 26 26 27 CREATE_FACTORY(GLMenuImageScreen); 27 28 28 29 29 using namespace std; -
trunk/src/glmenu/glmenu_imagescreen.h
r5039 r5300 1 1 /*! 2 2 * @file glmenu_imagescreen.h 3 *class to display a LoadScreen4 */3 * class to display a LoadScreen 4 */ 5 5 6 6 #ifndef _GLMENU_IMAGESCREEN_H -
trunk/src/lib/coord/null_parent.cc
r5082 r5300 16 16 */ 17 17 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_ NULL_PARENT18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_PARENT_NODE 19 19 20 20 #include "null_parent.h" -
trunk/src/lib/event/event_handler.cc
r5297 r5300 110 110 this->listeners[i][eventType] = el; 111 111 else 112 PRINTF( 1)("%s of class %s tried to subscribe to event %i @ state %i but this event has already been subscribed\n", el->getName(), el->getClassName(), eventType, state);112 PRINTF(2)("%s of class %s tried to subscribe to event %i @ state %i but this event has already been subscribed\n", el->getName(), el->getClassName(), eventType, state); 113 113 } 114 114 else … … 118 118 } 119 119 else 120 PRINTF( 1)("% of class %s tried to subscribe to event %i @ state %i but this event has already been subscribed\n", el->getName(), el->getClassName(), eventType, state);120 PRINTF(2)("% of class %s tried to subscribe to event %i @ state %i but this event has already been subscribed\n", el->getName(), el->getClassName(), eventType, state); 121 121 } 122 122 -
trunk/src/lib/graphics/importer/objModel.cc
r5014 r5300 75 75 strncpy(this->objPath, fileName, len); 76 76 this->objPath[len] = '\0'; 77 PRINTF( 1)("Resolved file %s to Path %s.\n", fileName, this->objPath);77 PRINTF(4)("Resolved file %s to Path %s.\n", fileName, this->objPath); 78 78 } 79 79 else … … 94 94 if( (stream = fopen (fileName, "r")) == NULL) 95 95 { 96 printf("Object File Could not be Opened %s\n", fileName);96 PRINTF(2)("Object File Could not be Opened %s\n", fileName); 97 97 return false; 98 98 } … … 145 145 else if (!strncmp(buffer, "s ", 2)) //! @todo smoothing groups have to be implemented 146 146 { 147 PRINTF( 2)("smoothing groups not supportet yet. line: %s\n", buffer);147 PRINTF(3)("smoothing groups not supportet yet. line: %s\n", buffer); 148 148 } 149 149 } … … 153 153 154 154 /** 155 * Function to read in a mtl File. 156 * @param mtlFile The .mtl file to read 157 158 This Function parses all Lines of an mtl File. 159 The reason for it not to be in the materials-class is, 160 that a material does not have to be able to read itself in from a File. 161 162 */ 155 * Function to read in a mtl File. 156 * @param mtlFile The .mtl file to read 157 * 158 * This Function parses all Lines of an mtl File. 159 * The reason for it not to be in the materials-class is, 160 * that a material does not have to be able to read itself in from a File. 161 */ 163 162 bool OBJModel::readMtlLib (const char* mtlFile) 164 163 { … … 170 169 { 171 170 PRINTF(2)("MaterialLibrary could not be opened %s\n", fileName); 172 delete []fileName;171 delete[] fileName; 173 172 return false; 174 173 } -
trunk/src/story_entities/campaign.cc
r5292 r5300 43 43 this->setClassID(CL_CAMPAIGN, "Campaign"); 44 44 45 PRINTF( 3)("Loading Campaign...\n");45 PRINTF(4)("Loading Campaign...\n"); 46 46 47 47 assert( root != NULL); … … 92 92 while( element != NULL) 93 93 { 94 printf("Campaign: Constructor: adding a world\n");94 PRINTF(5)("Campaign: Constructor: adding a world\n"); 95 95 StoryEntity* created = (StoryEntity*) GameLoader::getInstance()->fabricate(element); 96 96 /* -
trunk/src/util/loading/game_loader.cc
r5208 r5300 15 15 co-programmer: ... 16 16 */ 17 18 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_LOAD 17 19 18 20 #include "game_loader.h" -
trunk/src/world_entities/player.cc
r5212 r5300 139 139 this->setClassID(CL_PLAYER, "Player"); 140 140 141 PRINTF( 1)("PLAYER INIT\n");141 PRINTF(4)("PLAYER INIT\n"); 142 142 travelSpeed = 15.0; 143 143 bUp = bDown = bLeft = bRight = bAscend = bDescend = false; -
trunk/src/world_entities/world_entity.cc
r5285 r5300 15 15 co-programmer: Christian Meyer 16 16 */ 17 #define DEBUG_SPECIAL_MODULE DEBUG_MODULE_WORLD_ENTITY 17 18 18 19 #include "world_entity.h"
Note: See TracChangeset
for help on using the changeset viewer.