Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] Re: (PR#2730) Allied victory isn't looking at aliveness
Home

[Freeciv-Dev] Re: (PR#2730) Allied victory isn't looking at aliveness

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ue80@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2730) Allied victory isn't looking at aliveness
From: "Per I. Mathisen via RT" <rt@xxxxxxxxxxxxxx>
Date: Sun, 5 Jan 2003 14:12:08 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sun, 5 Jan 2003, Gregory Berkolaiko via RT wrote:
> I thought about while testing AI diplomacy and it is actually applicable
> in a lot of places:there should be a
>       players_iterate-- which iterates through live players
> and
>       all_players_iterate-- which iterates through both dead and alive
> players.

Yes, that _is_ a good idea. Although it should be called
players_all_iterate() for consistency.

May be better to introduce players_alive_iterate(), though, since that
would mean less changes.

  - Per




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