Changeset 6388 for code/branches/presentation2/src/libraries/network/packet
- Timestamp:
- Dec 21, 2009, 1:28:10 PM (15 years ago)
- Location:
- code/branches/presentation2/src/libraries/network/packet
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/network/packet/FunctionIDs.cc
r6387 r6388 48 48 FunctionIDs::FunctionIDs( ) : Packet(){ 49 49 std::string functionname; 50 unsigned int nrOfFunctions=0; 50 unsigned int nrOfFunctions=0; 51 51 unsigned int packetSize=2*sizeof(uint32_t); //space for the packetID and for the nroffunctions 52 52 uint32_t networkID; -
code/branches/presentation2/src/libraries/network/packet/Gamestate.cc
r6387 r6388 437 437 // uint8_t *ndata = new uint8_t[dest_length*sizeof(uint8_t)+GamestateHeader::getSize()]; 438 438 // uint8_t *dest = ndata + GamestateHeader::getSize(); 439 // 440 // 439 // 440 // 441 441 // // LOOP-UNROLLED DIFFING 442 442 // uint32_t *dest32 = (uint32_t*)dest, *base32 = (uint32_t*)basep, *gs32 = (uint32_t*)gs; … … 465 465 // } 466 466 // } 467 // 467 // 468 468 // Gamestate *g = new Gamestate(ndata, getClientID()); 469 469 // *(g->header_) = *header_; -
code/branches/presentation2/src/libraries/network/packet/Packet.cc
r6387 r6388 102 102 Destroys a packet completely. 103 103 104 That also means destroying the ENetPacket if one exists. There 104 That also means destroying the ENetPacket if one exists. There 105 105 */ 106 106 Packet::~Packet(){
Note: See TracChangeset
for help on using the changeset viewer.