Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] Re: Freeciv commit: ali: Add macro is_city_hilited().
Home

[Freeciv-Dev] Re: Freeciv commit: ali: Add macro is_city_hilited().

[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] Re: Freeciv commit: ali: Add macro is_city_hilited().
From: Raimar Falke <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Sun, 4 Jan 2004 11:30:36 +0100

On Sat, Jan 03, 2004 at 08:20:45AM -0800, Raimar Falke wrote:
> Date: Sat Jan 03 16:09:10 2004-Sat Jan 03 16:09:11 2004
> Author: ali
> Subject: ali: Add macro is_city_hilited().

> +#define is_city_hilited(pcity)                                              \
> +  (map_get_tile((pcity)->x, (pcity)->y)->client.hilite == HILITE_CITY)      \
> +

It was my error to not report earlier but such macros should really be
functions.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "This is Linux Country. On a quiet night, you can hear Windows reboot."


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