Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 8:42:26 PM (14 years ago)
Author:
landauf
Message:

removed COUT, CCOUT, and DOUT macros. COUT is now defined as a deprecated function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/Orxonox.cc

    r8788 r8812  
    5959#endif
    6060{
     61    using namespace orxonox;
     62
    6163    try
    6264    {
     
    7072        const int firstArgument = 1;
    7173#endif
    72    
     74
    7375        std::string strCmdLine;
    7476        for (int i = firstArgument; i < argc; ++i)
     
    7678#endif
    7779
    78         return orxonox::main(strCmdLine);
     80        return main(strCmdLine);
    7981    }
    8082    catch (...)
    8183    {
    82         COUT(0) << "Orxonox failed to initialise: " << orxonox::Exception::handleMessage() << std::endl;
    83         COUT(0) << "Terminating program." << std::endl;
     84        orxout(user_error) << "Orxonox failed to initialise: " << orxonox::Exception::handleMessage() << endl;
     85        orxout(user_error) << "Terminating program." << endl;
    8486        return 1;
    8587    }
Note: See TracChangeset for help on using the changeset viewer.