Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2001:
[Freeciv-Dev] Re: Criticism
Home

[Freeciv-Dev] Re: Criticism

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Raahul Kumar <raahul_da_man@xxxxxxxxx>
Cc: Petr Baudis <pasky@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Criticism
From: "Ross W. Wetmore" <rwetmore@xxxxxxxxxxxx>
Date: Fri, 07 Dec 2001 20:13:23 -0500

Choice want is 
 < 0   an error, with a few hack-ceptions like (-199 == get_a_boat)
== 0   no want, nothing to do
<= 100 normal want
 > 100 critical want, used to requisition emergency needs
 > ??? probably an error (1024 is a reasonable upper bound)

Cheers
RossW
=====

At 05:38 PM 01/12/06 -0800, Raahul Kumar wrote:
>Just been reading advdomestic.c. 
>
> /* if (choice->want > 100) choice->want = 100; */         /* want > 100
means
>BUY RIGHT NOW */
>
> /* FIXME: rather (choice->want <= 0) --rwetmore */
>
>I do not like either change. Elsewhere in the ai code it claims
choice-want is
>in the range 0-100. I realise in fact that is actually not the case. I'd like
>it if
>you would actually make the change so that it is in the range 0-100.
>
>__________________________________________________
>Do You Yahoo!?
>Send your FREE holiday greetings online!
>http://greetings.yahoo.com




[Prev in Thread] Current Thread [Next in Thread]