From 814f9f7e0f9bdbc506e2fc2a75ee9ecc22c85f49 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 17 Jun 2018 04:27:03 +0100 Subject: [PATCH] Implement bidirectional mode for signals on bridges/tunnels --- docs/landscape.html | 5 ++ src/lang/english.txt | 3 ++ src/pathfinder/npf/npf.cpp | 2 +- src/pathfinder/yapf/yapf_costrail.hpp | 2 +- src/pbs.cpp | 17 +++++-- src/rail_cmd.cpp | 48 ++++++++++++++++-- src/rail_gui.cpp | 1 + src/rail_map.h | 2 +- src/settings_gui.cpp | 1 + src/settings_type.h | 1 + src/table/settings.ini | 8 +++ src/train_cmd.cpp | 42 ++++++++++------ src/tunnelbridge.h | 13 +---- src/tunnelbridge_cmd.cpp | 70 ++++++++++++++------------- src/tunnelbridge_map.h | 26 +++++++++- 15 files changed, 170 insertions(+), 71 deletions(-) diff --git a/docs/landscape.html b/docs/landscape.html index 86a6943fdd..ededf0a3f0 100644 --- a/docs/landscape.html +++ b/docs/landscape.html @@ -1554,6 +1554,11 @@ 2  signal simulation exit (bit 6 set) + + + 3  + signal simulation bidirectional entrance and exit (bits 5 and 6 set) + If signal simulation entrance or exit: