Changeset 8858 for code/trunk/src/orxonox/gametypes/UnderAttack.cc
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:ignore
-
old new 1 1 build 2 2 codeblocks 3 vs 3 4 dependencies
-
- Property svn:mergeinfo changed
/code/branches/output (added) merged: 8739-8740,8765,8771-8772,8774-8780,8787-8789,8794-8799,8801,8803-8812,8814,8816-8817,8820,8822,8825-8837,8840,8844,8846,8848-8850,8853-8854
- Property svn:ignore
-
code/trunk/src/orxonox/gametypes/UnderAttack.cc
r8327 r8858 32 32 #include "core/CoreIncludes.h" 33 33 #include "core/ConfigValueIncludes.h" 34 #include " network/Host.h"34 #include "chat/ChatManager.h" 35 35 #include "worldentities/pawns/Destroyer.h" 36 36 #include "infos/PlayerInfo.h" … … 70 70 this->end(); //end gametype 71 71 std::string message("Ship destroyed! Team 0 has won!"); 72 COUT(0) << message << std::endl; 73 Host::Broadcast(message); 72 ChatManager::message(message); 74 73 this->gameEnded_ = true; 75 74 … … 153 152 this->end(); 154 153 std::string message("Time is up! Team 1 has won!"); 155 COUT(0) << message << std::endl; 156 Host::Broadcast(message); 154 ChatManager::message(message); 157 155 158 156 for (std::map<PlayerInfo*, int>::iterator it = this->teamnumbers_.begin(); it != this->teamnumbers_.end(); ++it) … … 173 171 const std::string& message = multi_cast<std::string>(timesequence_) + " seconds left!"; 174 172 /* 175 COUT(0) << message << std::endl; 176 Host::Broadcast(message); 173 ChatManager::message(message); 177 174 */ 178 175 this->gtinfo_->sendAnnounceMessage(message);
Note: See TracChangeset
for help on using the changeset viewer.