[Gcblue-commits] gcb_wx/include/network tcConnectionData.h,1.10,1.11 tcMessage.h,1.8,1.9
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2005-07-29 02:36:00
|
Update of /cvsroot/gcblue/gcb_wx/include/network In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28827/include/network Modified Files: tcConnectionData.h tcMessage.h Log Message: 0.7.2 pre-release test build, added waypoints to client display, fixed multiplayer message overload bug, added better throttling for bad multiplayer connections Index: tcMessage.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcMessage.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** tcMessage.h 22 Jun 2005 01:21:26 -0000 1.8 --- tcMessage.h 29 Jul 2005 02:35:52 -0000 1.9 *************** *** 71,74 **** --- 71,75 ---- const unsigned char *messageData); void Reset(); + void SetAck(bool state); void StampTime(); Index: tcConnectionData.h =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/include/network/tcConnectionData.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** tcConnectionData.h 29 Apr 2005 18:52:02 -0000 1.10 --- tcConnectionData.h 29 Jul 2005 02:35:52 -0000 1.11 *************** *** 93,98 **** --- 93,101 ---- unsigned long lastReadCount; ///< read count at last second mark unsigned long lastWriteCount; ///< write count at last second mark + unsigned long lastResentCount; ///< resent count at last second mark + unsigned int readCount_sec; ///< bytes read over last full second unsigned int writeCount_sec; ///< bytes written over last full second + unsigned int resentCount_sec; ///< bytes resent over last full second float pingTime_s; ///< last ping time for this connection wxIPV4address UDPaddress; *************** *** 100,104 **** unsigned int lastCountUpdate; unsigned int lastResendUpdate; ! unsigned int resentCount; ///< number of packets resent because of ack timeout void AttachAckRider(tcMessage* message); --- 103,112 ---- unsigned int lastCountUpdate; unsigned int lastResendUpdate; ! unsigned long resentCount; ///< number of packets resent because of ack timeout ! ! /** max number of packets that will be held waiting for ack. If this is exceeded ! ** UDP packets will be sent without ack request ! */ ! const unsigned int maxWaitingForAck; void AttachAckRider(tcMessage* message); |