Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 18, 2009, 5:13:38 PM (16 years ago)
Author:
scheusso
Message:

changed some debug output
removed some uneccessary "multi"threading
some enhancements in Connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/netp6/src/network/GamestateManager.cc

    r3240 r3302  
    9999
    100100  bool GamestateManager::processGamestates(){
     101    if( this->gamestateQueue.empty() )
     102        return true;
    101103    std::map<unsigned int, packet::Gamestate*>::iterator it;
    102104    // now push only the most recent gamestates we received (ignore obsolete ones)
     
    141143      int cid = temp->getID(); //get client id
    142144     
    143       packet::Gamestate *gs;
    144145      unsigned int gID = temp->getGamestateID();
    145146      if(!reference)
     
    242243
    243244    assert(curid==(unsigned int)GAMESTATEID_INITIAL || curid<gamestateID);
    244     COUT(4) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl;
     245    COUT(5) << "acking gamestate " << gamestateID << " for clientid: " << clientID << " curid: " << curid << std::endl;
    245246    std::map<unsigned int, packet::Gamestate*>::iterator it;
    246247    for(it = gamestateMap_[clientID].begin(); it!=gamestateMap_[clientID].end() && it->first<gamestateID; ){
Note: See TracChangeset for help on using the changeset viewer.