Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2008, 10:57:09 PM (15 years ago)
Author:
scheusso
Message:

some changes. still not working yet, but will correct theese problems after merge with network64

File:
1 edited

Legend:

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

    r1916 r2351  
    3535#include "Packet.h"
    3636#include "network/Synchronisable.h"
     37#include "network/TrafficControl.h"
    3738#include <map>
     39#include <vector>
    3840#ifndef NDEBUG
    3941#include "util/CRC32.h"
     
    7981    Gamestate *undiff(Gamestate *base);
    8082    Gamestate* intelligentUnDiff(Gamestate *base);
    81     Gamestate* doSelection(unsigned int clientID);
     83    Gamestate* doSelection(unsigned int clientID, unsigned int targetSize);
    8284    bool compressData();
    8385    bool decompressData();
     
    9294    unsigned int calcGamestateSize(unsigned int id, int mode=0x0);
    9395    void removeObject(orxonox::ObjectListIterator<Synchronisable> &it);
    94     std::map<unsigned int, Synchronisable*> dataMap_;
     96    std::vector<obj> dataMap_;
    9597};
    9698
Note: See TracChangeset for help on using the changeset viewer.