Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: [Patch] turn_founded
Home

[Freeciv-Dev] Re: [Patch] turn_founded

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: [Patch] turn_founded
From: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Date: Mon, 4 Mar 2002 12:31:38 +0100 (MET)

On Mon, 4 Mar 2002, Jason Short wrote:
> >>>try to buy something. Solved by introducing a turn_founded field in
> >>>struct city.

How about reseting turn_founded whenever the city is conquered by
somebody? That way, the conqueror gets the city last in his city view (as
I think is proper), and the field can be used to check how long you have
had that city. This latter is useful for some civ3-like rebellion stuff
that shouldn't affect recently acquired "holdings", as sometimes happened
in civ3 to may great dismay.

The ideal solution is three fields

        founder = player_no
        turn_founded = some int
        turn_lastconquered = some int

and if (founder==current_player->player_no) use turn_founded, otherwise
use turn_lastconquered. The "founder" field could be presented in the city
view for flavour, and it coul probably be useful for something else some
day, too.

Yours,
Per

"What we anticipate seldom occurs: but what we least expect generally
happens." -- Benjamin Disraeli



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