Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 6, 2008, 1:30:50 PM (16 years ago)
Author:
scheusso
Message:

first efforts to make the network module 64bit compatible
gamestates are still missing

File:
1 edited

Legend:

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

    r1775 r1890  
    3131#include <map>
    3232#include <enet/enet.h>
     33
     34#include "util/Integers.h"
    3335
    3436namespace network {
     
    7577  protected:
    7678    Packet();
    77     Packet(unsigned char *data, int clientID);
     79    Packet(uint8_t *data, unsigned int clientID);
    7880//    Packet(ENetPacket *packet, ENetPeer *peer);
    7981    enet_uint32 flags_;
    80     int clientID_;
     82    unsigned int clientID_;
    8183    ENUM::Direction packetDirection_;
    82     unsigned char *data_;
     84    uint8_t *data_;
    8385  private:
    8486    static std::map<ENetPacket *, Packet *> packetMap_;
Note: See TracChangeset for help on using the changeset viewer.