Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7677 in orxonox.OLD for trunk


Ignore:
Timestamp:
May 18, 2006, 12:42:31 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: POD's

Location:
trunk/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/event/key_mapper.cc

    r7661 r7677  
    148148  while( iniParser->getCurrentName() != "" )
    149149  {
    150     PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName(), iniParser->getCurrentValue());
     150    PRINTF(3)("Keys: Parsing %s, %s now.\n", iniParser->getCurrentName().c_str(), iniParser->getCurrentValue().c_str());
    151151    // map the name to an sdl index
    152152    index = nameToIndex (iniParser->getCurrentValue());
     
    229229        {
    230230          *map[i].pValue = index[1];
    231           PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLKToKeyname(index[1]), index[1]);
     231          PRINTF(4)("Mapping %s to '%s' (id %i)\n", name.c_str(), SDLKToKeyname(index[1]).c_str(), index[1]);
    232232          break;
    233233        }
    234234        else {
    235235          *map[i].pValue = index[1];
    236           PRINTF(4)("Mapping %s to '%s' (id %i)\n", name, SDLBToButtonname(index[1]), index[1]);
     236          PRINTF(4)("Mapping %s to '%s' (id %i)\n", name.c_str(), SDLBToButtonname(index[1]).c_str(), index[1]);
    237237          break;
    238238        }
  • trunk/src/lib/graphics/importer/objModel.cc

    r7676 r7677  
    7575      this->objPath.erase(len, this->objPath.size());
    7676      this->objPath[len] = '\0';
    77       PRINTF(4)("Resolved file %s to Path %s.\n", fileName.c_str()), this->objPath.c_str());
     77      PRINTF(4)("Resolved file %s to Path %s.\n", fileName, this->objPath.c_str());
    7878    }
    7979  else
  • trunk/src/orxonox.cc

    r7661 r7677  
    198198    this->configFileName = File(DEFAULT_CONFIG_FILE).name();
    199199
    200   PRINTF(3)("Parsed Config File: '%s'\n", this->configFileName);
     200  PRINTF(3)("Parsed Config File: '%s'\n", this->configFileName.c_str());
    201201}
    202202
  • trunk/src/story_entities/game_world.cc

    r7460 r7677  
    145145  PRINTF(0)("Loading the GameWorld\n");
    146146
    147   PRINTF(3)("> Loading world: '%s'\n", getLoadFile());
     147  PRINTF(3)("> Loading world: '%s'\n", getLoadFile().c_str());
    148148  TiXmlElement* element;
    149149  GameLoader* loader = GameLoader::getInstance();
  • trunk/src/story_entities/story_entity.cc

    r7661 r7677  
    139139void StoryEntity::grabWorldInfo()
    140140{
    141   PRINTF(3)("Grabbing the Worlds Settings\n", this->getLoadFile());
     141  PRINTF(3)("Grabbing the Worlds Settings\n", this->getLoadFile().c_str());
    142142  if( getLoadFile().empty())
    143143        return;
Note: See TracChangeset for help on using the changeset viewer.