Changeset 5300 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Oct 7, 2005, 1:59:44 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.