Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2000:
[Freeciv-Dev] River sailing: patch
Home

[Freeciv-Dev] River sailing: patch

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] River sailing: patch
From: Jerzy Klek <qpkjeek@xxxxxxxxxxxxxxxxxx>
Date: Fri, 25 Aug 2000 19:39:01 +0200 (MET DST)

Hi again!

So here is a much better patch, which features the following:

Moving along river is natural now.

It's impossible to upgrade units on rivers to units that can not be on rivers.

Goto and auto-explore does work. (There is actually one problem in
gotohand.c:find_the_shortest_path(): If there is a river tile with adjacent
sea in the corner only, and there is no way to get to this tile sailing on
the river you probably won't get there, but this is very unlikely. I simply
have no idea how to fix it.)

Sailing through mountain disabled (though opinions vary)

a terrain.ruleset field is added to control the extra cost of
sailing on rivers, as a default set to 1/3 (so sailing on rivers
costs 1 and 1/3 movement point). This makes Trireme to be able
to make 2 moves on river, while 3 on the sea.

Thanks to Erik Sigra for very good comments.


/Jerzy

Attachment: sail_river.diff.gz
Description: sail_river.diff.gz


[Prev in Thread] Current Thread [Next in Thread]