patchFreeciv - Patches: patch #3637, Road move mode

 
 
Show feedback again

patch #3637: Road move mode

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

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Fri 01 Feb 2013 11:43:56 PM UTC, 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 31 Jan 2013 01:55:09 AM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Feb 2013 11:44:09 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Thu 31 Jan 2013 01:55:09 AM UTCcazfiAttached File-=>Added RoadMoveMode.patch, #17062
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup