Update of /cvsroot/netrek/client/netrekxp/src
In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12195/src

Modified Files:
	data.c feature.c socket.c 
Log Message:
SP_RANK, change naming and packet definitions to match
server protocol.

Index: feature.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/feature.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- feature.c	25 May 2009 14:43:53 -0000	1.30
+++ feature.c	26 May 2009 02:18:17 -0000	1.31
@@ -104,7 +104,7 @@
     {"TERRAIN", &F_terrain, 'S', 1, 0, 0},
     /* armies in paradise ship_cap_spacket */
     {"ARMIES_IN_SHIPCAP", &F_armies_shipcap, 'S', 1, 0, 0},
-    {"SP_RANKS", &F_sp_ranks, 'S', 1, 0, 0},
+    {"SP_RANK", &F_sp_rank, 'S', 1, 0, 0},
     {0, 0, 0, 0, 0, 0}
 };
 

Index: socket.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/socket.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -d -r1.61 -r1.62
--- socket.c	25 May 2009 17:00:53 -0000	1.61
+++ socket.c	26 May 2009 02:18:17 -0000	1.62
@@ -197,7 +197,7 @@
 #ifdef FEATURE_PACKETS
     {sizeof (struct feature_cpacket), handleFeature},   /* CP_FEATURE; 60 */
 #endif
-    {sizeof (struct ranks_spacket), handleRanks},      /* SP_RANKS */
+    {sizeof (struct rank_spacket), handleRank},      /* SP_RANK */
 };
 
 int sizes[] = {
@@ -2810,7 +2810,7 @@
 }
 
 void
-handleRanks (struct ranks_spacket *packet)
+handleRank (struct rank_spacket *packet)
 {
     int rankn;
     int size;

Index: data.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/data.c,v
retrieving revision 1.123
retrieving revision 1.124
diff -u -d -r1.123 -r1.124
--- data.c	25 May 2009 14:43:53 -0000	1.123
+++ data.c	26 May 2009 02:18:17 -0000	1.124
@@ -760,7 +760,7 @@
 int F_sp_flags_all = 0;
 int F_why_dead_2 = 0;
 int F_auto_weapons = 0;
-int F_sp_ranks = 0;
+int F_sp_rank = 0;
 int F_terrain = 0;		/* paradise */
 int F_armies_shipcap = 0;	/* paradise */