[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeciv-commits
Subject:    [Freeciv-commits] r13901 - in /branches/S2_1: client/
From:       William Allen Simpson <william.allen.simpson () domain ! hid>
Date:       2007-10-30 9:13:41
Message-ID: E1ImnAM-0002jG-Bh () domain ! hid
[Download RAW message or body]

Author: wsimpson
Date: Tue Oct 30 10:13:34 2007
New Revision: 13901

URL: http://svn.gna.org/viewcvs/freeciv?rev=13901&view=rev
Log:
(PR#39801) harmonize goto_map_list with focus_units

Added goto_unit_killed() to keep them synchronized whenever a unit is killed.   

Fixed memory leak that occurred upon freeing at the end of every client goto 
-- the pf structures in the part weren't freed.

New head_of_units_in_focus() -- all that was needed was the head of the
list.  These probably need more examination (several already had FIXMEs).

Also, swapped the struct unit_order out of map.h into unit.h, where it
more properly belongs (where its enums are also).

Modified:
    branches/S2_1/client/climap.h
    branches/S2_1/client/climisc.c
    branches/S2_1/client/control.c
    branches/S2_1/client/control.h
    branches/S2_1/client/goto.c
    branches/S2_1/client/goto.h
    branches/S2_1/client/gui-ftwl/gotodlg.c
    branches/S2_1/client/gui-ftwl/gui_text.c
    branches/S2_1/client/gui-gtk-2.0/gui_main.c
    branches/S2_1/client/gui-sdl/dialogs.c
    branches/S2_1/client/gui-sdl/diplomat_dialog.c
    branches/S2_1/client/gui-sdl/gotodlg.c
    branches/S2_1/client/gui-sdl/gui_main.c
    branches/S2_1/client/gui-sdl/mapctrl.c
    branches/S2_1/client/gui-sdl/menu.c
    branches/S2_1/client/gui-win32/gotodlg.c
    branches/S2_1/client/gui-win32/menu.c
    branches/S2_1/client/gui-xaw/gui_main.c
    branches/S2_1/common/map.h
    branches/S2_1/common/unit.h



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic