Changeset 604
- Timestamp:
- Dec 17, 2007, 10:47:27 PM (17 years ago)
- Location:
- code/branches/FICN/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/Server.cc
r601 r604 125 125 void Server::updateGamestate(){ 126 126 gamestates->update(); 127 std::cout << "updated gamestate, sending it" << std::endl; 127 128 sendGameState(); 129 std::cout << "sent gamestate" << std::endl; 128 130 } 129 131 -
code/branches/FICN/src/orxonox/orxonox.cc
r601 r604 162 162 //if(mKeyboard->isKeyDown(OIS::KC_ESCAPE)) 163 163 //cout << "maximal MouseX: " << maxMouseX << "\tminMouseX: " << minMouseX << endl; 164 if(mode_== SERVER)164 if(mode_==PRESENTATION){ 165 165 server_g->tick(evt.timeSinceLastFrame); 166 std::cout << "tick server" << std::endl; 167 } 166 168 usleep(10); 167 169 return !mKeyboard->isKeyDown(OIS::KC_ESCAPE);
Note: See TracChangeset
for help on using the changeset viewer.