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/gamestates/GSLevel.cc

    r8729 r8809  
    155155
    156156        // call the loader
    157         COUT(0) << "Loading level..." << std::endl;
     157        orxout(user_status) << "Loading level..." << endl;
    158158        startFile_ = new XMLFile(LevelManager::getInstance().getDefaultLevel());
    159159        bool loaded = Loader::open(startFile_);
     
    169169        delete startFile_;
    170170
    171         COUT(3) << "Unloaded level. Remaining objects:" << std::endl;
     171        orxout(user_status) << "Unloaded level" << endl;
     172        orxout(internal_info) << "Remaining objects:" << endl;
    172173        unsigned int i = 0;
    173174        for (ObjectList<BaseObject>::iterator it = ObjectList<BaseObject>::begin(); it != ObjectList<BaseObject>::end(); ++it)
     
    176177            if (find == this->staticObjects_.end())
    177178            {
    178                 COUT(3) << ++i << ": " << it->getIdentifier()->getName() << " (" << *it << "), references: " << it->getReferenceCount() << std::endl;
     179                orxout(internal_info) << ++i << ": " << it->getIdentifier()->getName() << " (" << *it << "), references: " << it->getReferenceCount() << endl;
    179180            }
    180181        }
    181         COUT(3) << i << " objects remaining.";
     182        orxout(internal_info) << i << " objects remaining.";
    182183        if (i == 0)
    183             COUT(3) << " Well done!" << std::endl;
     184            orxout(internal_info) << " Well done!" << endl;
    184185        else
    185             COUT(3) << " Try harder!" << std::endl;
     186            orxout(internal_info) << " Try harder!" << endl;
    186187    }
    187188
Note: See TracChangeset for help on using the changeset viewer.