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

[Freeciv-Dev] (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] (PR#2730) Allied victory isn't looking at aliveness
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 6 Jan 2003 23:54:18 -0800
Reply-to: rt@xxxxxxxxxxxxxx

[per - Sun Jan  5 22:12:07 2003]:

> 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.

I agree, leave players_iterate as it is and introduce
live_players_iterate or players_alive_iterate.  If there are sufficient
places that would use this?

Did the original patch get applied?  Can you close the issue?

jason



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