- Timestamp:
- May 18, 2006, 12:42:31 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/event/key_mapper.cc
r7661 r7677 148 148 while( iniParser->getCurrentName() != "" ) 149 149 { 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()); 151 151 // map the name to an sdl index 152 152 index = nameToIndex (iniParser->getCurrentValue()); … … 229 229 { 230 230 *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]); 232 232 break; 233 233 } 234 234 else { 235 235 *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]); 237 237 break; 238 238 } -
trunk/src/lib/graphics/importer/objModel.cc
r7676 r7677 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 .c_str()), this->objPath.c_str());77 PRINTF(4)("Resolved file %s to Path %s.\n", fileName, this->objPath.c_str()); 78 78 } 79 79 else -
trunk/src/orxonox.cc
r7661 r7677 198 198 this->configFileName = File(DEFAULT_CONFIG_FILE).name(); 199 199 200 PRINTF(3)("Parsed Config File: '%s'\n", this->configFileName );200 PRINTF(3)("Parsed Config File: '%s'\n", this->configFileName.c_str()); 201 201 } 202 202 -
trunk/src/story_entities/game_world.cc
r7460 r7677 145 145 PRINTF(0)("Loading the GameWorld\n"); 146 146 147 PRINTF(3)("> Loading world: '%s'\n", getLoadFile() );147 PRINTF(3)("> Loading world: '%s'\n", getLoadFile().c_str()); 148 148 TiXmlElement* element; 149 149 GameLoader* loader = GameLoader::getInstance(); -
trunk/src/story_entities/story_entity.cc
r7661 r7677 139 139 void StoryEntity::grabWorldInfo() 140 140 { 141 PRINTF(3)("Grabbing the Worlds Settings\n", this->getLoadFile() );141 PRINTF(3)("Grabbing the Worlds Settings\n", this->getLoadFile().c_str()); 142 142 if( getLoadFile().empty()) 143 143 return;
Note: See TracChangeset
for help on using the changeset viewer.