Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2001:
[Freeciv-Dev] Re: [RFC PATCH] init_techs
Home

[Freeciv-Dev] Re: [RFC PATCH] init_techs

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: rf13@xxxxxxxxxxxxxxxxxxxxxx
Cc: Gregory Berkolaiko <gberkolaiko@xxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [RFC PATCH] init_techs
From: Arien Malec <arien_malec@xxxxxxxxx>
Date: Fri, 5 Oct 2001 12:15:01 -0700 (PDT)

--- Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Can you give examples? Is someone working on this?

create tech automobile {
   name = "Automobile";
   req1 = ... }

(where braces might be parens, and semicolons might be commas)

No one is actively working on it. I don't know what the status of the split
function patch is -- that's the infrastructure that comes first.
 
> I propose that the identifier doesn't depend on any actual data. The
> identifier is choosen by the user and is used only for identifying a
> certain object. The identifier won't change after the object has been
> created. This is much like the current
> "[building_asmiths_trading_co]".

Right, that's my proposal exactlly.

> Maybe I didn't understood it correctly and you mean that the
> identifier is more like a variable than an id. Than you could do
> things like:
>  a=create tech (...);
>  b=a; // assume deep copy
>  set b.name="asdda";
> and
>  a=create tech (...);
>  a=create tech (...); // oops we losse the first one

That's not my proposal but may be interesting with an embedded Python...

Arien

__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1


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