Update of /cvsroot/netrek/client/netrekxp/include
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv16177/include

Modified Files:
	data.h 
Log Message:
Set lastUpdateSpeed to be same as updatesPerSec during read_defaults,
rather than setting it to arbitrary value.  This fixes client so it only sends
update request if value changes from initial value.
Added special case to options menu to handle updates rate.  Value is
now constrained as divisors of server_fps, similiar to code in server
daemon.  I.e. for server running at 50 fps, only valid update values
are 1,2,5,10,25,50.

Index: data.h
===================================================================
RCS file: /cvsroot/netrek/client/netrekxp/include/data.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- data.h	28 Feb 2007 12:21:49 -0000	1.52
+++ data.h	1 Mar 2007 11:13:21 -0000	1.53
@@ -138,6 +138,7 @@
 #endif
 
 extern int updatesPerSec;	/* client requested updates per second */
+extern int lastUpdateSpeed;	/* last update speed client requested */
 extern int server_ups;		/* server responded updates per second */
 extern int server_fps;		/* server configured frames per second */