Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2008, 3:36:36 PM (16 years ago)
Author:
scheusso
Message:

changes in trafficcontrol:

  • configvalue for targetsize (size of each gamestate)
Location:
code/branches/presentation/src/network/packet
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation/src/network/packet/Gamestate.cc

    r2371 r2382  
    4949
    5050#define PACKET_FLAG_GAMESTATE  ENET_PACKET_FLAG_RELIABLE
    51  
    52 TrafficControl Gamestate::trafficControl_;
    5351
    5452Gamestate::Gamestate()
     
    362360
    363361  //call TrafficControl
    364   trafficControl_.processObjectList( clientID, HEADER->id, &dataMap_ );
     362  TrafficControl::getInstance()->processObjectList( clientID, HEADER->id, &dataMap_ );
    365363 
    366364  //copy in the zeros
  • code/branches/presentation/src/network/packet/Gamestate.h

    r2371 r2382  
    9595    void removeObject(ObjectListIterator<Synchronisable> &it);
    9696    std::list<obj> dataMap_;
    97     static TrafficControl trafficControl_;
     97//     static TrafficControl *trafficControl_;
    9898};
    9999
Note: See TracChangeset for help on using the changeset viewer.