Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6345) starting positions for scenarios
Home

[Freeciv-Dev] Re: (PR#6345) starting positions for scenarios

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6345) starting positions for scenarios
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Thu, 2 Oct 2003 06:10:33 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, 30 Sep 2003, Jason Short wrote:

>
> The current method of putting down starting units in scenario games is
> highly flawed.  It attempts to match up nations with starting position
> IDs so that the scenario can specify which nation goes where.  But the
> nation is referenced by ID too, so
>
> 1.  With lots of nations, it just doesn't work.
> 2.  When a new nation is added, all existing scenarios have their
> starting positions invalidated.
>
> I'm not sure how this _should_ be done, but the current method is pretty

How about storing the civ name strings with the starting positions and
matching the nations by name?

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






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