settings.c
changeset 1777 f703cf05b5b9
parent 1751 009a240d035a
child 1891 862800791170
--- a/settings.c	Sat May 07 10:26:45 2005 +0000
+++ b/settings.c	Sat May 07 22:00:36 2005 +0000
@@ -966,6 +966,10 @@
 	 * sure that it has a minimal impact on the pathfinding, only when two
 	 * paths have equal length it will make a difference */
 	{"npf_rail_curve_penalty",      SDT_UINT32, (void*)(1),                     &_patches.npf_rail_curve_penalty,       NULL},
+	/* Ths penalty is applied when a vehicle reverses inside a depot (doesn't
+	 * apply to ships, as they can just come out the other end). XXX: Is this a
+	 * good value? */
+	{"npf_rail_depot_reverse_penalty", SDT_UINT32, (void*)(NPF_TILE_LENGTH * 50), &_patches.npf_rail_depot_reverse_penalty, NULL},
 	{"npf_buoy_penalty",            SDT_UINT32, (void*)(2 * NPF_TILE_LENGTH),   &_patches.npf_buoy_penalty,             NULL},
 	/* This penalty is applied when a ship makes a turn. It is bigger than the
 	 * rail curve penalty, since ships (realisticly) have more trouble with