[Freeciv-Dev] Re: Cleanup blink_active_unit function
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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.
cleanup_unit_blink-1.diff
Description: Text document
jjm
|
|