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

                 Summary: Stop interpreting action max_distance everywhere
                 Project: Freeciv
            Submitted by: sveinung
            Submitted on: Wed 14 Sep 2016 11:31:16 AM UTC
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: sveinung
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 3.0.0
 Contains string changes: No

    _______________________________________________________

Details:

An action's max_distance can now be a regular value or
ACTION_DISTANCE_UNLIMITED. The latter is a special value signaling that the
action has unlimited range. At the moment this doesn't cause any issues
because the special value representing "unlimited" is larger than any legal
regular distance value.

Introduce the new function action_distance_inside_max(). Have it replace
checking if a given distance is inside an action's max_distance.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 14 Sep 2016 11:31:16 AM UTC  Name:
0001-Stop-interpreting-action-max_distance-everywhere.patch  Size: 8kB   By:
sveinung

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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