Changeset 7676 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- May 18, 2006, 11:46:23 AM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/material.cc
r7221 r7676 291 291 void Material::setDiffuseMap(const std::string& dMap, GLenum target) 292 292 { 293 PRINTF(5)("setting Diffuse Map %s\n", dMap );293 PRINTF(5)("setting Diffuse Map %s\n", dMap.c_str()); 294 294 if (this->diffuseTexture != NULL) 295 295 ResourceManager::getInstance()->unload(this->diffuseTexture); -
trunk/src/lib/graphics/importer/objModel.cc
r7221 r7676 75 75 this->objPath.erase(len, this->objPath.size()); 76 76 this->objPath[len] = '\0'; 77 PRINTF(4)("Resolved file %s to Path %s.\n", fileName , this->objPath);77 PRINTF(4)("Resolved file %s to Path %s.\n", fileName.c_str()), this->objPath.c_str()); 78 78 } 79 79 else -
trunk/src/lib/graphics/importer/static_model.cc
r7221 r7676 226 226 while (tmpGroup != NULL) 227 227 { 228 PRINTF(5)("Drawing model %s\n", tmpGroup->name );228 PRINTF(5)("Drawing model %s\n", tmpGroup->name.c_str()); 229 229 glCallList (tmpGroup->listNumber); 230 230 tmpGroup = tmpGroup->next; … … 253 253 if (counter == groupNumber) 254 254 { 255 PRINTF(4)("Drawing model number %i named %s\n", counter, tmpGroup->name );255 PRINTF(4)("Drawing model number %i named %s\n", counter, tmpGroup->name.c_str()); 256 256 glCallList (tmpGroup->listNumber); 257 257 return; … … 368 368 bool StaticModel::addGroup(const std::string& groupString) 369 369 { 370 PRINTF(5)("Read Group: %s.\n", groupString );370 PRINTF(5)("Read Group: %s.\n", groupString.c_str()); 371 371 if (this->groupCount != 0 && this->currentGroup->faceCount > 0) 372 372 { -
trunk/src/lib/graphics/importer/texture.cc
r7221 r7676 90 90 if(tmpSurf != NULL) 91 91 { 92 PRINTF(4)("loading Image %s\n", imageName );92 PRINTF(4)("loading Image %s\n", imageName.c_str()); 93 93 bool hasAlpha; 94 94 SDL_Surface* newSurf = this->prepareSurface(tmpSurf, hasAlpha);
Note: See TracChangeset
for help on using the changeset viewer.