Changeset 7676 in orxonox.OLD for trunk/src/lib
- Timestamp:
- May 18, 2006, 11:46:23 AM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 9 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); -
trunk/src/lib/gui/qt_gui/Makefile.am
r7670 r7676 47 47 48 48 clean-local: 49 rm *_moc.cc49 rm -f *_moc.cc -
trunk/src/lib/parser/ini_parser/ini_parser.cc
r7661 r7676 445 445 (*section).entries.back().name.c_str(), 446 446 (*section).entries.back().value.c_str(), 447 (*section).name );447 (*section).name.c_str()); 448 448 this->currentEntry = --(*section).entries.end(); 449 449 return true; -
trunk/src/lib/shell/shell_input.cc
r7474 r7676 293 293 if (event.bPressed) 294 294 { 295 PRINTF(5)("Shell received command %s\n", SDLKToKeyname(event.type) );295 PRINTF(5)("Shell received command %s\n", SDLKToKeyname(event.type).c_str()); 296 296 if (event.type == SDLK_F1) 297 297 this->help(); -
trunk/src/lib/util/loading/factory.cc
r7462 r7676 150 150 else 151 151 { 152 PRINTF(2)("Could not Fabricate an Object of Class '%s'\n", className );152 PRINTF(2)("Could not Fabricate an Object of Class '%s'\n", className.c_str()); 153 153 return NULL; 154 154 } -
trunk/src/lib/util/loading/resource_manager.cc
r7661 r7676 436 436 if(File(fullName).isFile()) 437 437 { 438 PRINTF(4)("Image %s resides to %s\n", fileName , fullName);438 PRINTF(4)("Image %s resides to %s\n", fileName.c_str(), fullName.c_str()); 439 439 tmpResource->pointer = new Texture(fullName, tmpResource->param[0].getInt()); 440 440 } … … 447 447 if(File(imgName).isFile()) 448 448 { 449 PRINTF(4)("Image %s resides to %s\n", fileName , imgName);449 PRINTF(4)("Image %s resides to %s\n", fileName.c_str(), imgName.c_str()); 450 450 tmpResource->pointer = new Texture(imgName, tmpResource->param[0].getInt()); 451 451 break;
Note: See TracChangeset
for help on using the changeset viewer.