Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 4:37:38 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT() with orxout() in tools and orxonox library. Requires quite some fine-tuning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/orxonox/LevelManager.cc

    r8706 r8809  
    251251
    252252        // Iterate over all the found *.oxw files
    253         COUT(3) << "Loading LevelInfos..." << std::endl;
     253        orxout(internal_info) << "Loading LevelInfos..." << endl;
    254254        std::set<std::string> names;
    255255        for (Ogre::StringVector::const_iterator it = levels->begin(); it != levels->end(); ++it)
     
    281281                // Warn about levels with the same name.
    282282                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;
    284284
    285285                // Warn about multiple items so that it gets fixed quickly
    286286                if(availableLevels_.find(info) != availableLevels_.end())
    287287                {
    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;
    289289                    // Delete LevelInfoItem to avoid a dangling pointer
    290290                    delete info;
Note: See TracChangeset for help on using the changeset viewer.