Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 23, 2008, 11:09:55 PM (16 years ago)
Author:
rgrieder
Message:

Merged revision 2371 to bugger branch.

Location:
code/branches/bugger
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/bugger

  • code/branches/bugger/src/network/GamestateManager.cc

    r2176 r2531  
    4949#include "core/BaseObject.h"
    5050#include "ClientInformation.h"
    51 #include "Synchronisable.h"
     51#include "synchronisable/Synchronisable.h"
     52#include "synchronisable/NetworkCallbackManager.h"
    5253#include "packet/Acknowledgement.h"
    5354
     
    8788    // now clear the queue
    8889    gamestateQueue.clear();
     90    //and call all queued callbacks
     91    NetworkCallbackManager::callCallbacks();
    8992    return true;
    9093  }
     
    135138    if(!reference)
    136139      return 0;
    137     gs = reference->doSelection(clientID);
    138 //     gs = new packet::Gamestate(*reference);
     140    gs = reference->doSelection(clientID, 10000);
    139141//     gs = new packet::Gamestate(*reference);
    140142    // save the (undiffed) gamestate in the clients gamestate map
Note: See TracChangeset for help on using the changeset viewer.