Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: (PR#7259) new function tile_has_river
Home

[Freeciv-Dev] Re: (PR#7259) new function tile_has_river

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#7259) new function tile_has_river
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Sun, 18 Jan 2004 09:55:33 -0800
Reply-to: rt@xxxxxxxxxxx

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

On Sat, 17 Jan 2004, Jason Short wrote:

>
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=7259 >
>
> This patch adds a function tile_has_river.  It simply checks for T_RIVER
> and S_RIVER.  This clears up the logic in several places in the code.
>
> On that note, what is the purpose of T_RIVER?  The impression I get is
> that this is just used for civ1 compatability.  But this could easily be
> accomplished just by restricting S_RIVER to grassland tiles (if that
> level of compatability is even desired).

Remember, Freeciv used to just emulate Civ1. I assume the T_RIVER flag is
to allow reading of old Freeciv scenarios.

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa






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