Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] Re: Cleanup blink_active_unit function
Home

[Freeciv-Dev] Re: Cleanup blink_active_unit function

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Cleanup blink_active_unit function
From: Jeff Mallatt <jjm@xxxxxxxxxxxx>
Date: Tue, 04 Apr 2000 16:00:50 -0500

At 2000/04/04 11:05 , Thue Janus Kristensen wrote:
>Cleanup blink_active_unit function:
>1) move it to control.c as it seems to be gui-independant
>2) remove legacy code (putting a unit on top of linked list) made obsolete by
>the changes in find_visible_unit

Nice cleanup!  A couple of minor problems:

- The semicolon was missing on the blink_active_unit() prototype in control.h.

- Needed to include control.h in gui-xaw/gui_main.c, so it could see the
prototype.

Attachment: cleanup_unit_blink-1.diff
Description: Text document

jjm

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