Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2001:
[Freeciv-Dev] [Patch] unit_flag
Home

[Freeciv-Dev] [Patch] unit_flag

[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] [Patch] unit_flag
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 12 Sep 2001 18:36:05 +0200
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

The starting point of the attached patch are these changes:

-int unit_flag(Unit_Type_id id, int flag);
+int unit_flag(struct unit *punit, enum unit_flag_id flag);
+int unit_type_flag(Unit_Type_id id, int flag);

The method unit_flag is used 210 times. The method unit_type_flag is
used 62 times.

Objections?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "I was dead ... but I'm better now."
    -- Capitain Sheridan in Babylon 5

Attachment: unit_flag1.diff.gz
Description: GNU Zip compressed data


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