- Timestamp:
- Jan 23, 2007, 11:47:39 PM (18 years ago)
- Location:
- branches/mount_points/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/mount_points/src/lib/graphics/importer/static_model.cc
r10311 r10312 116 116 117 117 118 PRINTF( 0)("Found a MountPoint: %s\n", groupName.c_str());118 PRINTF(5)("Found a MountPoint: %s\n", groupName.c_str()); 119 119 120 120 StaticModelData::Face triangle[3]; 121 121 122 122 // now check if it is a mount point identifier 123 if( (*groupIt)._faces.size() != 9)123 if( (*groupIt)._faces.size() != 11) 124 124 { 125 125 PRINTF(1)("the face count of %s is wrong, perhaps you missnamed this object or used the wrong mount point object (got %i faces)\n", … … 134 134 { 135 135 triangle[i++] = (*faceIt); 136 printf("got triangle\n");137 136 } 138 137 } -
branches/mount_points/src/world_entities/mount_point.cc
r10302 r10312 34 34 MountPoint::MountPoint (const Vector& up, const Vector& forward, const Vector& center, const std::string& name) 35 35 { 36 PRINTF( 0)("Created mount point %s\n", name.c_str());36 PRINTF(5)("Created mount point %s\n", name.c_str()); 37 37 38 38 this->_name = name; … … 93 93 std::string name = element->Value(); 94 94 95 PRINTF( 0)("checking %s against local %s\n", name.c_str(), this->_name.c_str());95 PRINTF(5)("checking %s against local %s\n", name.c_str(), this->_name.c_str()); 96 96 // check if we got the right mount point 97 97 if( this->_name.find(name, 0) != std::string::npos) -
branches/mount_points/src/world_entities/world_entity.cc
r10248 r10312 279 279 void WorldEntity::loadMountPoints( Model* model, const std::string& fileName) 280 280 { 281 PRINTF( 0)("loading the oif File: %s\n", fileName.c_str());281 PRINTF(5)("loading the oif File: %s\n", fileName.c_str()); 282 282 283 283 // now load the object information file … … 379 379 else if( this->mountPoints[slot] != NULL) 380 380 { 381 PRINTF( 0)("adding a mount point to a slot, that already is occupied! ignoring - maybe some object did not get connected well (object: %s)\n", this->getClassCName());381 PRINTF(4)("adding a mount point to a slot, that already is occupied! ignoring - maybe some object did not get connected well (object: %s)\n", this->getClassCName()); 382 382 } 383 383
Note: See TracChangeset
for help on using the changeset viewer.