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

Modified Files:
	playback.c socket.c 
Log Message:
Add hint about options menu.
Fix paradise cambot playback - needed special paradise only
packet type REC_UPDATE.
Clean up todo list.

Index: playback.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/playback.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- playback.c	13 Feb 2009 02:40:19 -0000	1.28
+++ playback.c	6 Mar 2009 04:09:27 -0000	1.29
@@ -550,7 +550,9 @@
     }
 
     size = handlers[buf[0]].size;
-    if (size == -1)
+
+    /* paradise hack - REC_UPDATE */
+    if (size == -1 || buf[0] == REC_UPDATE)
     {
         if (buf[0] == SP_S_MESSAGE)
         {
@@ -574,11 +576,13 @@
         return 1;
     }
 
+    if (buf[0] != REC_UPDATE) {
     (*(handlers[buf[0]].handler)) (buf
 #ifdef CORRUPTED_PACKETS
                                    , recordFile
 #endif
         );
+    }
     return 0;
 }
 

Index: socket.c
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/src/socket.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- socket.c	12 Feb 2009 03:48:25 -0000	1.53
+++ socket.c	6 Mar 2009 04:09:27 -0000	1.54
@@ -1036,6 +1036,10 @@
     case SP_S_KILLS:           /* S_P2 */
         size = ((unsigned char) bufptr[1] * 2) + 2;
         break;
+    case REC_UPDATE:
+        if (paradise && inplayback)	/* if not, something's very wrong... */
+            size = 4;
+        break;
     default:
         LineToConsole ("Unknown variable packet\n");
         /* terminate(1); */