Changeset 369 for code/branches/FICN/src/network/PacketDecoder.cc
- Timestamp:
- Dec 3, 2007, 12:28:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/PacketDecoder.cc
r341 r369 100 100 enet_packet_destroy( packet ); 101 101 102 pr intChat( chatting ); //debug info102 processChat( chatting ); //debug info 103 103 104 104 } … … 118 118 //copy the gamestate data 119 119 memcpy( (void*)(currentState->data), (const void*)(data+3*sizeof( int )), currentState->size ); 120 120 121 121 //clean memory 122 122 enet_packet_destroy( packet ); 123 //run processGamestate 124 processGamestate(currentState); 125 } 126 127 // now the data processing functions: 128 129 void PacketDecoder::processChat( chat *data){ 130 printChat(data); 123 131 } 124 132
Note: See TracChangeset
for help on using the changeset viewer.