Date:	Tuesday June 27, 2000 @ 18:04
Author:	ahn

Update of /home/netrek/cvsroot/Vanilla/robots
In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv5306/robots

Modified Files:
	inl.c inlcomm.c 
Log Message:
Updated Continuous Scoring support and some docs.


****************************************

Index: Vanilla/robots/inl.c
diff -u Vanilla/robots/inl.c:1.31 Vanilla/robots/inl.c:1.32
--- Vanilla/robots/inl.c:1.31	Wed Jun  7 15:41:17 2000
+++ Vanilla/robots/inl.c	Tue Jun 27 18:04:48 2000
@@ -1,7 +1,7 @@
-/* 	$Id: inl.c,v 1.31 2000/06/07 20:41:17 ahn Exp $	 */
+/* 	$Id: inl.c,v 1.32 2000/06/27 23:04:48 ahn Exp $	 */
 
 #ifndef lint
-static char vcid[] = "$Id: inl.c,v 1.31 2000/06/07 20:41:17 ahn Exp $";
+static char vcid[] = "$Id: inl.c,v 1.32 2000/06/27 23:04:48 ahn Exp $";
 #endif /* lint */
 
 /*
@@ -736,8 +736,8 @@
 /* Determine if there is a winner at the end of regulation.
    returns 0 if game is tied
    returns 1 if there is a winner by planet count
-   returns 2 if there is a winner by continuous score > 0.5
-   returns 3 if there is a winner by continuous score < 0.5 & planet 11-8-1
+   returns 2 if there is a winner by continuous score > 1.50
+   returns 3 if there is a winner by continuous score < 1.50 & planet 11-8-1
    -da
  */
 int check_winner() {
@@ -771,11 +771,11 @@
   if (delta < 0.0)
     delta *= -1.0;
 
-  /* if continuous score delta is >= 0.5, we have winner */
-  if (delta >= 0.5)
+  /* if continuous score delta is >= 1.50, we have winner */
+  if (delta >= 1.50)
     return 2;
 
-  /* if continuous score detla is < 0.5, but a team has > 11-8-1,
+  /* if continuous score delta is < 1.50, but a team has > 11-8-1,
      we have a winner */
   else if ((inl_teams[HOME].planets > inl_teams[AWAY].planets + 2) ||
            (inl_teams[AWAY].planets > inl_teams[HOME].planets + 2))
@@ -805,10 +805,10 @@
           pmessage(0, MALL, inl_from, "Winning condition: planet count");
           break;
         case 2:
-          pmessage(0, MALL, inl_from, "Winning condition: continuous score >= 0.5");
+          pmessage(0, MALL, inl_from, "Winning condition: continuous score >= 1.5");
           break;
         case 3:
-          pmessage(0, MALL, inl_from, "Winning condition: score < 0.5, planet count");
+          pmessage(0, MALL, inl_from, "Winning condition: score < 1.5, planet count");
           break;
         default:
           pmessage(0, MALL, inl_from, "Winning condition: UNKNOWN");
Index: Vanilla/robots/inlcomm.c
diff -u Vanilla/robots/inlcomm.c:1.16 Vanilla/robots/inlcomm.c:1.17
--- Vanilla/robots/inlcomm.c:1.16	Wed Jun  7 15:41:17 2000
+++ Vanilla/robots/inlcomm.c	Tue Jun 27 18:04:48 2000
@@ -1087,11 +1087,11 @@
         break;
       case 2:
         pmessage(who, flag, addr_mess(who, flag),
-          "%s is winning by score >= 0.5", side);
+          "%s is winning by score >= 1.5", side);
         break;
       case 3:
         pmessage(who, flag, addr_mess(who, flag),
-          "%s is winning by score < 0.5 but planet > 11-8-1 ", side);
+          "%s is winning by score < 1.5 but planet > 11-8-1 ", side);
         break;
     }
   }