Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 10:56:01 PM (16 years ago)
Author:
scheusso
Message:

added gamestatesending

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/orxonox.cc

    r604 r605  
    162162        //if(mKeyboard->isKeyDown(OIS::KC_ESCAPE))
    163163          //cout << "maximal MouseX: " << maxMouseX << "\tminMouseX: " << minMouseX << endl;
    164         if(mode_==PRESENTATION){
     164        if(mode_==PRESENTATION)
    165165          server_g->tick(evt.timeSinceLastFrame);
    166           std::cout << "tick server" << std::endl;
    167         }
     166        else if(mode_==CLIENT)
     167          client_g->tick(evt.timeSinceLastFrame);
    168168        usleep(10);
    169169        return !mKeyboard->isKeyDown(OIS::KC_ESCAPE);
Note: See TracChangeset for help on using the changeset viewer.