- Timestamp:
- Dec 10, 2010, 5:07:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network4/src/libraries/network/packet/Gamestate.h
r7497 r7753 116 116 inline uint32_t getDataSize() const { return header_->getDataSize(); } 117 117 Gamestate* diffVariables(Gamestate *base); 118 Gamestate* diffData(Gamestate *base);119 Gamestate *undiff(Gamestate *base);120 Gamestate* doSelection(unsigned int clientID, unsigned int targetSize);118 // Gamestate* diffData(Gamestate *base); 119 // Gamestate *undiff(Gamestate *base); 120 // Gamestate* doSelection(unsigned int clientID, unsigned int targetSize); 121 121 bool compressData(); 122 122 bool decompressData(); … … 125 125 // Packet functions 126 126 private: 127 void rawDiff( uint8_t* newdata, uint8_t* data, uint8_t* basedata, uint32_t datalength, uint32_t baselength);128 inline uint32_t findObject( const SynchronisableHeader& header, uint8_t* mem, uint32_t dataLength, uint32_t startPosition = 0 );127 // void rawDiff( uint8_t* newdata, uint8_t* data, uint8_t* basedata, uint32_t datalength, uint32_t baselength); 128 // inline uint32_t findObject( const SynchronisableHeader& header, uint8_t* mem, uint32_t dataLength, uint32_t startPosition = 0 ); 129 129 virtual uint32_t getSize() const; 130 130 virtual inline bool process();
Note: See TracChangeset
for help on using the changeset viewer.