Changeset 8811 for code/branches/output/src/modules/gametypes
- Timestamp:
- Aug 1, 2011, 7:09:29 PM (13 years ago)
- Location:
- code/branches/output/src/modules/gametypes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/modules/gametypes/RaceCheckPoint.cc
r8706 r8811 109 109 { 110 110 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; 113 113 const_cast<GametypeInfo*>(gametype->getGametypeInfo())->sendAnnounceMessage(message); 114 114 } -
code/branches/output/src/modules/gametypes/SpaceRace.cc
r8740 r8811 59 59 + "You didn't reach the check point " + multi_cast<std::string>(this->bCheckpointsReached_+1) 60 60 + " before the time limit. You lose!"; 61 COUT(3) << message;61 orxout(level::message) << message << endl; 62 62 const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message); 63 63 Host::Broadcast(message); … … 70 70 const std::string& message = "You win!! You have reached the last check point after "+ multi_cast<std::string>(s) 71 71 + "." + multi_cast<std::string>(ms) + " seconds."; 72 COUT(3) << message << std::endl;72 orxout(level::message) << message << endl; 73 73 const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message); 74 74 Host::Broadcast(message); … … 77 77 std::set<float>::iterator it; 78 78 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; 80 80 } 81 81 } … … 86 86 87 87 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; 89 89 Host::Broadcast(message); 90 90 } … … 98 98 const std::string& message = "Checkpoint " + multi_cast<std::string>(this->getCheckpointsReached()) 99 99 + " 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; 102 102 const_cast<GametypeInfo*>(this->getGametypeInfo())->sendAnnounceMessage(message); 103 103 Host::Broadcast(message);
Note: See TracChangeset
for help on using the changeset viewer.