Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2004:
[Freeciv-Dev] (PR#7249) Auto settlers don't irrigate or mine
Home

[Freeciv-Dev] (PR#7249) Auto settlers don't irrigate or mine

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7249) Auto settlers don't irrigate or mine
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Sun, 22 Feb 2004 17:49:31 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7249 >

Here's a patch that just changes the variable names and adds some
comments to consider_settler_action() in server/settlers.c.  I've tried
to keep the editorializing to a minimum.  :)

Although I do notice that a lot of the code seems designed around the
non-use of floating point values, variables, and calculations.  I'm
guessing this is because different compilers and architectures might
handle floats/doubles differently, or perhaps it's purely performance
related.  I have no idea, really. :)

Also, does/will gen-terrain include generalized terrain improvements? 
That would streamline this as well as the calling function
evaluate_improvements.

-James Canete

Attachment: comment_csa.diff
Description: Binary data


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