Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] Re: (PR#12781) Create AI guard API
Home

[Freeciv-Dev] Re: (PR#12781) Create AI guard API

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: badamson@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#12781) Create AI guard API
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Tue, 19 Apr 2005 02:09:54 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12781 >

On Mon, 18 Apr 2005, Vasco Alexandre da Silva Costa wrote:
> Not to mention it recycles ids of destroyed things. Which was really
> cumbersome for me once. Two different units may have the same id across
> the game.

IIRC this is only on game load. However, it raises an interesting question
as regards events: I think it will be necessary to store unit and city id
for referencing units and cities, so they will have to be truly unique.

I think we'll have to scrap the recycling. It is unlikely we will run out
of ids.

  - Per





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