Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2005:
[Freeciv-Dev] Re: (PR#13474) a city_production struct
Home

[Freeciv-Dev] Re: (PR#13474) a city_production struct

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#13474) a city_production struct
From: "Benoit Hudson" <benoit.hudson@xxxxxxxxx>
Date: Fri, 15 Jul 2005 16:55:33 -0700
Reply-to: bugs@xxxxxxxxxxx

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

> Wastes less memory, makes it more obvious there can only be one item at a
> time, etc.

where "etc" maps to "more likely to call unit_type functions on a
impr_type and crash in mysterious ways.  Unions are dangerous; unless
we're extremely pinched on space (which for city structs we aren't)
they are to be avoided.

Of course, currently we're likely to occasionally use an
improvement-type index as a unit-type.





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