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

                 Summary: players_in_same_range() and other refactoring
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sat Jan  4 19:13:44 2014
                Category: None
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: jtn
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Some refactoring in requirements.c on the way to patch #4388.
* Invent new players_in_same_range() for use in the various functions that
look for player with some property within a requirement range. Not saving much
yet, but it will when REQ_RANGE_TEAM is added.
* Rework buildings_in_range() 'survives' to use a switch statement.
* Factor out is_achievement_in_range()
Untested so far.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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