Update of /cvsroot/netrek/client/netrekxp/include
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20255/include
Modified Files:
packets.h
Log Message:
SP_RANK, update to new packet protocol.
Adopt COW handleRank(), more robust code.
Add check to promotion message for valid rank.
Index: packets.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/packets.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- packets.h 26 May 2009 02:18:17 -0000 1.22
+++ packets.h 28 May 2009 01:19:16 -0000 1.23
@@ -856,8 +856,9 @@
struct rank_spacket
{
char type; /* SP_RANK */
- char pad[3];
- int rankn; /* rank number */
+ char rnum; /* rank number */
+ char rmax; /* rank number maximum */
+ char pad;
char name[16]; /* full rank name */
int hours; /* hundredths of hours required */
int ratings; /* hundredths of ratings required */