diff options
author | KUDr <KUDr@openttd.org> | 2006-06-01 22:20:40 +0000 |
---|---|---|
committer | KUDr <KUDr@openttd.org> | 2006-06-01 22:20:40 +0000 |
commit | 7e6d84a34ec91e27c3c1653061f043b68cc29bac (patch) | |
tree | 0241149fb8567a25bc526c43c20c9412991a125d /settings.c | |
parent | 10185f6c1173965062400cf4e6a5e5eab4659749 (diff) | |
download | openttd-7e6d84a34ec91e27c3c1653061f043b68cc29bac.tar.xz |
(svn r5067) -Codechange: [YAPF] Platform selection feature now applies penalty per platform instead of per tile (should give better results)
Diffstat (limited to 'settings.c')
-rw-r--r-- | settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/settings.c b/settings.c index 1fd5e5d05..b1691f4bc 100644 --- a/settings.c +++ b/settings.c @@ -1408,8 +1408,8 @@ const SettingDesc _patch_settings[] = { SDT_CONDVAR (Patches, yapf.rail_look_ahead_signal_p1 , SLE_INT , 28, SL_MAX_VERSION, 0, 0, -100 , -1000000, 1000000, STR_NULL, NULL), SDT_CONDVAR (Patches, yapf.rail_look_ahead_signal_p2 , SLE_INT , 28, SL_MAX_VERSION, 0, 0, 5 , -1000000, 1000000, STR_NULL, NULL), // penalties for too long or too short station platforms (TODO: NS flag or higher revision?) - SDT_CONDVAR (Patches, yapf.rail_longer_platform_penalty, SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 10 * YAPF_TILE_LENGTH, 0, 20000, STR_NULL, NULL), - SDT_CONDVAR (Patches, yapf.rail_shorter_platform_penalty, SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 100 * YAPF_TILE_LENGTH, 0, 20000, STR_NULL, NULL), + SDT_CONDVAR (Patches, yapf.rail_longer_platform_penalty, SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 8 * YAPF_TILE_LENGTH, 0, 20000, STR_NULL, NULL), + SDT_CONDVAR (Patches, yapf.rail_shorter_platform_penalty, SLE_UINT, 28, SL_MAX_VERSION,NS, 0, 40 * YAPF_TILE_LENGTH, 0, 20000, STR_NULL, NULL), SDT_END() }; |