summaryrefslogtreecommitdiff
path: root/src/settings_type.h
diff options
context:
space:
mode:
authorPeter Nelson <peter1138@openttd.org>2019-02-14 23:12:26 +0000
committerMichael Lutz <michi@icosahedron.de>2019-03-08 16:52:08 +0100
commitb8a0107ad157e946c46a4e65cb3f63bec1812670 (patch)
tree9985a413faa7bad1c59fe9fb0bbc86df323450e7 /src/settings_type.h
parenta69eb5f516963f6f7a39f90d959cdff61e8e70b2 (diff)
downloadopenttd-b8a0107ad157e946c46a4e65cb3f63bec1812670.tar.xz
Change: Add configurable curve penalty for ships.
Diffstat (limited to 'src/settings_type.h')
-rw-r--r--src/settings_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/settings_type.h b/src/settings_type.h
index 6fba8ed2c..46df6c8ec 100644
--- a/src/settings_type.h
+++ b/src/settings_type.h
@@ -418,6 +418,8 @@ struct YAPFSettings {
uint32 rail_longer_platform_per_tile_penalty; ///< penalty for longer station platform than train (per tile)
uint32 rail_shorter_platform_penalty; ///< penalty for shorter station platform than train
uint32 rail_shorter_platform_per_tile_penalty; ///< penalty for shorter station platform than train (per tile)
+ uint32 ship_curve45_penalty; ///< penalty for 45-deg curve for ships
+ uint32 ship_curve90_penalty; ///< penalty for 90-deg curve for ships
};
/** Settings related to all pathfinders. */