Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 1, 2011, 7:09:29 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT() with orxout() in all modules. phew.

Location:
code/branches/output/src/modules/gametypes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/modules/gametypes/RaceCheckPoint.cc

    r8706 r8811  
    109109            {
    110110                const std::string& message =  "You have " + multi_cast<std::string>(this->bTimeLimit_)
    111                             + " seconds to reach the check point " + multi_cast<std::string>(this->bCheckpointIndex_+1) + "\n";
    112                 COUT(3) << message;
     111                            + " seconds to reach the check point " + multi_cast<std::string>(this->bCheckpointIndex_+1);
     112                orxout(level::message) << message << endl;
    113113                const_cast<GametypeInfo*>(gametype->getGametypeInfo())->sendAnnounceMessage(message);
    114114            }
  • code/branches/output/src/modules/gametypes/SpaceRace.cc

    r8740 r8811  
    5959                        + "You didn't reach the check point " + multi_cast<std::string>(this->bCheckpointsReached_+1)
    6060                        + " before the time limit. You lose!";
    61             COUT(3) << message;
     61            orxout(level::message) << message << endl;
    6262            const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message);
    6363            Host::Broadcast(message);
     
    7070            const std::string& message = "You win!! You have reached the last check point after "+ multi_cast<std::string>(s)
    7171                        + "." + multi_cast<std::string>(ms) + " seconds.";
    72             COUT(3) << message << std::endl;
     72            orxout(level::message) << message << endl;
    7373            const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message);
    7474            Host::Broadcast(message);
     
    7777            std::set<float>::iterator it;
    7878            for (it=this->scores_.begin(); it!=this->scores_.end(); it++)
    79             COUT(3) <<  multi_cast<std::string>(*it) << std::endl;
     79            orxout(level::message) << multi_cast<std::string>(*it) << endl;
    8080        }
    8181    }
     
    8686
    8787        std::string message("The match has started! Reach the check points as quickly as possible!");
    88         COUT(3) << message << std::endl;
     88        orxout(level::message) << message << endl;
    8989        Host::Broadcast(message);
    9090    }
     
    9898        const std::string& message = "Checkpoint " + multi_cast<std::string>(this->getCheckpointsReached())
    9999                        + " reached after " + multi_cast<std::string>(s) + "." + multi_cast<std::string>(ms)
    100                         + " seconds.\n";
    101         COUT(3) << message;
     100                        + " seconds.";
     101        orxout(level::message) << message << endl;
    102102        const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message);
    103103        Host::Broadcast(message);
Note: See TracChangeset for help on using the changeset viewer.