patchFreeciv - Patches: patch #3637, Road move mode

Show feedback again

patch #3637: Road move mode

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Thu Jan 31 01:55:09 2013  
Category: generalPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Fri Feb 1 23:43:56 2013, SVN revision 22260:

Added move mode for roads to control how move costs are applied.
Alien ruleset "Tunnel" road type is defined to have "NoBonus" mode.

See gna patch #3637

(Browse SVN revision 22260)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu Jan 31 01:55:09 2013, original submission:

Add move mode for roads to control how move costs are applied. This is step toward having rivers as special road type in the future. Modes are same ones that are available for rivers, but implemented in a more ruleset-author-friendly way.

One thing this is useful for already is defining road types for reasons other than move bonus. Such roads can now be defined with "NoBonus" move mode. This is now used in alien ruleset Tunnel definition that used to work around the limitation by defining so high move_cost that it would never be used instead of terrain cost.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #17062:  RoadMoveMode.patch added by cazfi (14kB - text/x-diff)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri Feb 1 23:44:09 2013cazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
    Thu Jan 31 01:55:09 2013cazfiAttached File-=>Added RoadMoveMode.patch, #17062
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup