URL:
  <http://gna.org/patch/?2564>

                 Summary: Move some attack/defense rating functions from
default ai to advisors
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 26 Feb 2011 01:26:16 AM EET
                Category: ai
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.4.0

    _______________________________________________________

Details:

This patch moves some functions needed by existing advisors code from default
ai to advisors and adds prefix 'adv_' to their names. This reduces number of
direct function calls from server common code to default ai.

unittype_att_rating() -> adv_unittype_att_rating()
unit_att_rating() -> adv_unit_att_rating()
unit_def_rating_basic() -> adv_unit_def_rating_basic()
unit_def_rating_basic_sq() -> adv_unit_def_rating_basic_sq()



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 26 Feb 2011 01:26:16 AM EET  Name: AdvAttRating.diff  Size: 12kB  
By: cazfi

<http://gna.org/patch/download.php?file_id=12558>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?2564>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to