Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2005:
[Freeciv-Dev] Re: (PR#14443) city walls not visible (effects problem)
Home

[Freeciv-Dev] Re: (PR#14443) city walls not visible (effects problem)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: chrisk@xxxxxxxxx, per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14443) city walls not visible (effects problem)
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 20 Nov 2005 20:52:23 -0800
Reply-to: bugs@xxxxxxxxxxx

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

Vasco Alexandre da Silva Costa wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14443 >
> 

> We make yet another effects query function which gets passed a struct
> unit_class pointer:
> get_city_defense_bonus(defending_city, attacking_unit_class, effect_type).

The effects don't have to be tied to *class* in the ruleset...we only do 
it this way for historic reasons.  But, that may be the best way to do it...

> Is EFT_DEFEND_BONUS the only one with a problem here?

Unlikely.

-jason





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