Changeset 8809 for code/branches/output/src/orxonox/gamestates
- Timestamp:
- Aug 1, 2011, 4:37:38 PM (13 years ago)
- Location:
- code/branches/output/src/orxonox/gamestates
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/orxonox/gamestates/GSLevel.cc
r8729 r8809 155 155 156 156 // call the loader 157 COUT(0) << "Loading level..." << std::endl;157 orxout(user_status) << "Loading level..." << endl; 158 158 startFile_ = new XMLFile(LevelManager::getInstance().getDefaultLevel()); 159 159 bool loaded = Loader::open(startFile_); … … 169 169 delete startFile_; 170 170 171 COUT(3) << "Unloaded level. Remaining objects:" << std::endl; 171 orxout(user_status) << "Unloaded level" << 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/branches/output/src/orxonox/gamestates/GSMasterServer.cc
r8788 r8809 54 54 55 55 this->mserver = new MasterServer(); 56 COUT(0) << "Loading masterserver mode" << std::endl;56 orxout(user_status) << "Loading masterserver mode" << endl; 57 57 58 58 this->mserver->run(); -
code/branches/output/src/orxonox/gamestates/GSRoot.cc
r8706 r8809 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/branches/output/src/orxonox/gamestates/GSServer.cc
r8788 r8809 57 57 58 58 this->server_ = new Server(CommandLineParser::getValue("port")); 59 COUT(0) << "Loading scene in server mode" << std::endl;59 orxout(user_status) << "Loading scene in server mode" << endl; 60 60 61 61 server_->open();
Note: See TracChangeset
for help on using the changeset viewer.