Changeset 665 for code/branches/FICN/src/orxonox
- Timestamp:
- Dec 21, 2007, 10:59:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/Orxonox.cc
r663 r665 94 94 updateAI(); 95 95 96 if(mode_ ==PRESENTATION)96 if(mode_ == PRESENTATION) 97 97 server_g->tick(evt.timeSinceLastFrame); 98 else if(mode_ ==CLIENT)98 else if(mode_ == CLIENT) 99 99 client_g->tick(evt.timeSinceLastFrame); 100 100 … … 277 277 createFrameListener(); 278 278 try{ 279 server_g = new network::Server(); // add port and bindadress280 server_g->open(); // open server and create listener thread279 server_g = new network::Server(); //!< add port and bindadress 280 server_g->open(); //!< open server and create listener thread 281 281 if(ogre_ && ogre_->getRoot()) 282 282 ogre_->getRoot()->addFrameListener(new network::ServerFrameListener()); // adds a framelistener for the server … … 301 301 ogre_->setConfigPath(path); 302 302 ogre_->setup(); 303 server_g = new network::Server(); // add some settings if wanted303 server_g = new network::Server(); // FIXME add some settings if wanted 304 304 if(!ogre_->load()) die(/* unable to load */); 305 // add network framelistener305 // FIXME add network framelistener 306 306 } 307 307 … … 426 426 // fixes auto repeat problem 427 427 #if defined OIS_LINUX_PLATFORM 428 pl.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));428 pl.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true"))); 429 429 #endif 430 430 … … 446 446 } 447 447 448 // we actually want to do this differently...448 // FIXME we actually want to do this differently... 449 449 void Orxonox::createFrameListener() 450 450 { … … 455 455 ogre_->getRoot()->addFrameListener(TimerFL); 456 456 457 //if(mode_!=CLIENT) // just a hack ------- remove this in future457 //if(mode_!=CLIENT) // FIXME just a hack ------- remove this in future 458 458 frameListener_ = new OrxListener(keyboard_, auMan_, mode_); 459 459 ogre_->getRoot()->addFrameListener(frameListener_); … … 462 462 void Orxonox::startRenderLoop() 463 463 { 464 // FIXME 464 465 // this is a hack!!! 465 466 // the call to reset the mouse clipping size should probably be somewhere
Note: See TracChangeset
for help on using the changeset viewer.