Date: Friday April 27, 2001 @ 23:38 Author: cameron Update of /home/netrek/cvsroot/Vanilla/robots In directory swashbuckler.fortress.real-time.com:/var/tmp/cvs-serv19511/robots Modified Files: inl.c Log Message: * robots/inl.c: change default gametime to 60 20 on request of Tom Holub. **************************************** Index: Vanilla/robots/inl.c diff -u Vanilla/robots/inl.c:1.37 Vanilla/robots/inl.c:1.38 --- Vanilla/robots/inl.c:1.37 Thu Feb 22 20:34:09 2001 +++ Vanilla/robots/inl.c Fri Apr 27 23:38:56 2001 @@ -1,7 +1,7 @@ -/* $Id: inl.c,v 1.37 2001/02/23 02:34:09 ahn Exp $ */ +/* $Id: inl.c,v 1.38 2001/04/28 04:38:56 cameron Exp $ */ #ifndef lint -static char vcid[] = "$Id: inl.c,v 1.37 2001/02/23 02:34:09 ahn Exp $"; +static char vcid[] = "$Id: inl.c,v 1.38 2001/04/28 04:38:56 cameron Exp $"; #endif /* lint */ /* @@ -35,6 +35,18 @@ #include "proto.h" #include "ltd_stats.h" +/* + +From: Tom Holub <doosh at best.com> +Date: Fri, 27 Apr 2001 20:37:06 -0700 +Message-ID: <20010427203706.A17757 at best.com> + +Default regulation and overtime periods + +*/ +#define INL_REGULATION 60 +#define INL_OVERTIME 20 + int debug=0; static int cambot_pid = 0; @@ -59,8 +71,8 @@ HOMETEAM, /* Race flag */ NOT_CHOOSEN, /* index into side array */ 17, /* armies requested to start with */ - 90, /* requested length of game */ - 30, /* requested length of overtime */ + INL_REGULATION, /* requested length of game */ + INL_OVERTIME, /* requested length of overtime */ 0, /* team flags */ 1, /* tmout counter */ 10, /* number of planets owned */ @@ -75,8 +87,8 @@ AWAYTEAM, /* Race flag */ NOT_CHOOSEN, /* index into side array */ 17, /* armies requested to start with */ - 90, /* requsted length of game */ - 30, /* requested length of overtime */ + INL_REGULATION, /* requested length of game */ + INL_OVERTIME, /* requested length of overtime */ 0, /* team flags */ 1, /* tmout counter */ 10, /* number of planets owned */ @@ -1111,8 +1123,8 @@ inl_stat.ticks = 0; inl_stat.game_ticks = 0; inl_stat.tmout_ticks = 0; - inl_stat.time = 90 * PERMIN; - inl_stat.overtime = 30 * PERMIN; + inl_stat.time = INL_REGULATION * PERMIN; + inl_stat.overtime = INL_OVERTIME * PERMIN; inl_stat.score_mode = 0; inl_stat.weighted_divisor = 0.0; @@ -1123,8 +1135,8 @@ inl_teams[HOME].side = HOMETEAM; inl_teams[HOME].side_index = NOT_CHOOSEN; inl_teams[HOME].start_armies = 17; - inl_teams[HOME].time = 90; - inl_teams[HOME].overtime = 30; + inl_teams[HOME].time = INL_REGULATION; + inl_teams[HOME].overtime = INL_OVERTIME; inl_teams[HOME].flags = 0; inl_teams[HOME].tmout = 1; inl_teams[HOME].planets = 10; @@ -1140,8 +1152,8 @@ inl_teams[AWAY].side = AWAYTEAM; inl_teams[AWAY].side_index = NOT_CHOOSEN; inl_teams[AWAY].start_armies = 17; - inl_teams[AWAY].time = 90; - inl_teams[AWAY].overtime = 30; + inl_teams[AWAY].time = INL_REGULATION; + inl_teams[AWAY].overtime = INL_OVERTIME; inl_teams[AWAY].flags = 0; inl_teams[AWAY].tmout = 1; inl_teams[AWAY].planets = 10;