Summary: Unhardcode "IgWall"
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 13 Jun 2014 05:46:54 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0



Attached patch removes "IgWall" unit type flag. It has never been very clean
implementation in that it causes unit to ignore *any* kind of Defend_Bonus
effects, with no way of ruleset author to affect that. Since we have
"UnitFlag" requirement type and user defined unit type flags, it's much better
to implement this kind of ruleset features as negated ("not present")
requirements for the defense bonus effects.

In addition to removing the IgWall -flag from the engine, attached patch adds
"Howitzer" user defined flag to rulesets having IgWall Howitzer. I'm going to
change that to next version of the patch, though. As there's just one unit
type where it applies, it's better to use "UnitType" requirement directly than


File Attachments:

Date: Fri 13 Jun 2014 05:46:54 AM EEST  Name: IgWallRm.patch.bz2  Size: 6kB  
By: cazfi



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to