Changeset 592 for code/branches/FICN/src/network/PacketTypes.h
- Timestamp:
- Dec 17, 2007, 8:59:31 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/PacketTypes.h
r436 r592 2 2 // C++ Interface: PacketTypes 3 3 // 4 // Description: 4 // Description: 5 5 // 6 6 // … … 25 25 26 26 27 /**28 * This struct defines a gamestate:29 * size: total size of the data in *data30 * data: pointer to the data allocated in the memory31 */27 /** 28 * This struct defines a gamestate: 29 * size: total size of the data in *data 30 * data: pointer to the data allocated in the memory 31 */ 32 32 struct GameState{ 33 33 int id; 34 int size; 34 int size; //!< total size of data 35 35 // new ---- change functions 36 36 bool diffed; 37 unsigned char *data; 37 unsigned char *data; //!< pointer to data 38 38 }; 39 39 40 /**41 * this struct defines a gamestate:40 /** 41 * this struct defines a gamestate: 42 42 * compsize is the size of the compressed data 43 43 * normsize is the size of the uncompressed data 44 44 * data are the gamestates 45 */45 */ 46 46 struct GameStateCompressed{ 47 int id; 48 int compsize; 49 int normsize; 47 int id; 48 int compsize; //!< size of compressed data 49 int normsize; //!< size of uncompressed data 50 50 // new ----- change functions 51 51 bool diffed; 52 unsigned char *data; 52 unsigned char *data; //!< gamestate data 53 53 }; 54 54 … … 59 59 const char *message; 60 60 }; 61 62 61 62 63 63 struct ack { 64 64 int id;
Note: See TracChangeset
for help on using the changeset viewer.