Changeset 8858 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Aug 23, 2011, 12:45:53 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 7 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/gamestates/GSClient.cc
r7163 r8858 29 29 #include "GSClient.h" 30 30 31 #include "util/Debug.h"32 31 #include "util/Exception.h" 33 32 #include "core/CommandLineParser.h" … … 53 52 void GSClient::activate() 54 53 { 54 orxout(user_status) << "Starting client" << endl; 55 55 56 GameMode::setIsClient(true); 56 57 -
code/trunk/src/orxonox/gamestates/GSLevel.cc
r8729 r8858 74 74 void GSLevel::activate() 75 75 { 76 orxout(user_status) << "Loading level" << endl; 77 76 78 if (GameMode::showsGraphics()) 77 79 { … … 155 157 156 158 // call the loader 157 COUT(0) << "Loading level..." << std::endl;158 159 startFile_ = new XMLFile(LevelManager::getInstance().getDefaultLevel()); 159 160 bool loaded = Loader::open(startFile_); … … 169 170 delete startFile_; 170 171 171 COUT(3) << "Unloaded level. Remaining objects:" << std::endl;172 orxout(internal_info) << "Remaining objects:" << endl; 172 173 unsigned int i = 0; 173 174 for (ObjectList<BaseObject>::iterator it = ObjectList<BaseObject>::begin(); it != ObjectList<BaseObject>::end(); ++it) … … 176 177 if (find == this->staticObjects_.end()) 177 178 { 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; 179 180 } 180 181 } 181 COUT(3) << i << " objects remaining.";182 orxout(internal_info) << i << " objects remaining."; 182 183 if (i == 0) 183 COUT(3) << " Well done!" << std::endl;184 orxout(internal_info) << " Well done!" << endl; 184 185 else 185 COUT(3) << " Try harder!" << std::endl;186 orxout(internal_info) << " Try harder!" << endl; 186 187 } 187 188 -
code/trunk/src/orxonox/gamestates/GSMainMenu.cc
r8079 r8858 95 95 void GSMainMenu::activate() 96 96 { 97 orxout(user_status) << "Loading main menu" << endl; 98 97 99 // show main menu 98 100 GraphicsManager::getInstance().setCamera(this->camera_); -
code/trunk/src/orxonox/gamestates/GSMasterServer.cc
r7801 r8858 30 30 #include "GSMasterServer.h" 31 31 32 #include "util/ Debug.h"32 #include "util/Output.h" 33 33 #include "core/Game.h" 34 34 #include "core/GameMode.h" … … 50 50 void GSMasterServer::activate() 51 51 { 52 orxout(user_status) << "Starting masterserver" << endl; 53 52 54 /* TODO make this work for masterserver as well */ 53 55 //GameMode::setIsServer(true); 54 56 55 57 this->mserver = new MasterServer(); 56 COUT(0) << "Loading masterserver mode" << std::endl;57 58 58 this->mserver->run(); 59 59 } -
code/trunk/src/orxonox/gamestates/GSRoot.cc
r8706 r8858 77 77 { 78 78 if (dynamic_cast<Synchronisable*>(*it)) 79 COUT(0) << "object: " << it->getIdentifier()->getName() << " id: " << dynamic_cast<Synchronisable*>(*it)->getObjectID() << std::endl;79 orxout(debug_output) << "object: " << it->getIdentifier()->getName() << " id: " << dynamic_cast<Synchronisable*>(*it)->getObjectID() << endl; 80 80 else 81 COUT(0) << "object: " << it->getIdentifier()->getName() << std::endl;81 orxout(debug_output) << "object: " << it->getIdentifier()->getName() << endl; 82 82 nr++; 83 83 } 84 COUT(0) << "currently got " << nr << " objects" << std::endl;84 orxout(debug_output) << "currently got " << nr << " objects" << endl; 85 85 } 86 86 -
code/trunk/src/orxonox/gamestates/GSServer.cc
r7801 r8858 29 29 #include "GSServer.h" 30 30 31 #include "util/ Debug.h"31 #include "util/Output.h" 32 32 #include "core/CommandLineParser.h" 33 33 #include "core/Game.h" … … 54 54 void GSServer::activate() 55 55 { 56 orxout(user_status) << "Starting server" << endl; 57 56 58 GameMode::setIsServer(true); 57 59 58 60 this->server_ = new Server(CommandLineParser::getValue("port")); 59 COUT(0) << "Loading scene in server mode" << std::endl;61 orxout(user_status) << "Loading scene in server mode" << endl; 60 62 61 63 server_->open();
Note: See TracChangeset
for help on using the changeset viewer.