Changeset 8809 for code/branches/output/src/orxonox/LevelManager.cc
- Timestamp:
- Aug 1, 2011, 4:37:38 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/LevelManager.cc
r8706 r8809 251 251 252 252 // Iterate over all the found *.oxw files 253 COUT(3) << "Loading LevelInfos..." << std::endl;253 orxout(internal_info) << "Loading LevelInfos..." << endl; 254 254 std::set<std::string> names; 255 255 for (Ogre::StringVector::const_iterator it = levels->begin(); it != levels->end(); ++it) … … 281 281 // Warn about levels with the same name. 282 282 if(!names.insert(info->getName()).second) 283 COUT(2) << "Warning: Multiple levels (" << info->getXMLFilename() << ") with name '" << info->getName() << "' found!" << std::endl;283 orxout(internal_warning) << "Multiple levels (" << info->getXMLFilename() << ") with name '" << info->getName() << "' found!" << endl; 284 284 285 285 // Warn about multiple items so that it gets fixed quickly 286 286 if(availableLevels_.find(info) != availableLevels_.end()) 287 287 { 288 COUT(2) << "Warning: Multiple levels (" << info->getXMLFilename() << ") with same name '" << info->getName() << "' and filename found! Exluding..." << std::endl;288 orxout(internal_warning) << "Multiple levels (" << info->getXMLFilename() << ") with same name '" << info->getName() << "' and filename found! Exluding..." << endl; 289 289 // Delete LevelInfoItem to avoid a dangling pointer 290 290 delete info;
Note: See TracChangeset
for help on using the changeset viewer.