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

                 Summary: Obsolete "NoBonus" road move mode
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Mon 30 Jun 2014 02:55:37 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Now that move_mode is used to things other than speed calculations (move
legality, for example around river corners), "NoBonus" mode is causing
trouble. One cannot have road type without move bonus but with move legality
restricted. To achieve former, one would set "NoBonus" and for the latter mode
needs to be something else.

Attached patch removes "NoBonus" mode, and codes the fact that road provides
no speed bonuses to move_cost, which was earlier completely ignored in
conjunction with "NoBonus". Move_cost value of "-1" (or any negative value,
but consider others reserved) means that road provides no speed bonus.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 30 Jun 2014 02:55:37 AM EEST  Name: RoadNoBonusRm.patch  Size: 11kB 
 By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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