Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] [RFC] currently_building
Home

[Freeciv-Dev] [RFC] currently_building

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv development list <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] [RFC] currently_building
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 5 Mar 2002 11:05:18 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

currently_building in struct city is an int. However it should be
Impr_Type_id or Unit_Type_id depending on the the value of
is_building_unit. This is bad from the type checking point of view.

Solution 1: union
Solution 2: cid (see client/climisc.h)

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  Tank: So what do you need? Besides a miracle.
  Neo: Guns. Lots of guns.
    -- From The Matrix


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] [RFC] currently_building, Raimar Falke <=