Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7676 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
May 18, 2006, 11:46:23 AM (18 years ago)
Author:
bensch
Message:

some POD's

Location:
trunk/src/lib/graphics/importer
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/material.cc

    r7221 r7676  
    291291void Material::setDiffuseMap(const std::string& dMap, GLenum target)
    292292{
    293   PRINTF(5)("setting Diffuse Map %s\n", dMap);
     293  PRINTF(5)("setting Diffuse Map %s\n", dMap.c_str());
    294294  if (this->diffuseTexture != NULL)
    295295    ResourceManager::getInstance()->unload(this->diffuseTexture);
  • trunk/src/lib/graphics/importer/objModel.cc

    r7221 r7676  
    7575      this->objPath.erase(len, this->objPath.size());
    7676      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());
    7878    }
    7979  else
  • trunk/src/lib/graphics/importer/static_model.cc

    r7221 r7676  
    226226  while (tmpGroup != NULL)
    227227  {
    228     PRINTF(5)("Drawing model %s\n", tmpGroup->name);
     228    PRINTF(5)("Drawing model %s\n", tmpGroup->name.c_str());
    229229    glCallList (tmpGroup->listNumber);
    230230    tmpGroup = tmpGroup->next;
     
    253253    if (counter == groupNumber)
    254254    {
    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());
    256256      glCallList (tmpGroup->listNumber);
    257257      return;
     
    368368bool StaticModel::addGroup(const std::string& groupString)
    369369{
    370   PRINTF(5)("Read Group: %s.\n", groupString);
     370  PRINTF(5)("Read Group: %s.\n", groupString.c_str());
    371371  if (this->groupCount != 0 && this->currentGroup->faceCount > 0)
    372372  {
  • trunk/src/lib/graphics/importer/texture.cc

    r7221 r7676  
    9090      if(tmpSurf != NULL)
    9191      {
    92         PRINTF(4)("loading Image %s\n", imageName);
     92        PRINTF(4)("loading Image %s\n", imageName.c_str());
    9393        bool hasAlpha;
    9494        SDL_Surface* newSurf = this->prepareSurface(tmpSurf, hasAlpha);
Note: See TracChangeset for help on using the changeset viewer.