Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12921) Clean up combat.c
Home

[Freeciv-Dev] (PR#12921) Clean up combat.c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#12921) Clean up combat.c
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Thu, 28 Apr 2005 04:19:09 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12921 >

New version.

Changes:
-renamed get_unit_*_power() to get_*_power().
-changed all references in the source to wrapper functions to point at
get_*_power() directly, except get_virtual_*_power().
-made get_*_power() a wrapper for get_combat_power(), to reduce some
redundant code.
-removed real_get_*_power() from combat.h, as they should not be seen. :)

TODO:
-comments.

Saves still match with CVS.

-James Canete

Attachment: combat_cleanup-4.diff
Description: Binary data


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