aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/tcb_ts_ui.lua
diff options
context:
space:
mode:
authororwell <orwell@bleipb.de>2024-06-22 21:11:50 +0200
committerorwell <orwell@bleipb.de>2024-06-22 21:11:50 +0200
commitc145e5db7473a0baab6438d7c2ed9616948d8387 (patch)
tree2baf1c31d8057369098a37103bf4762cd61ca0c8 /advtrains_interlocking/tcb_ts_ui.lua
parent3606a9bdfcd3dda888ff528b7e5071d35df05ef9 (diff)
downloadadvtrains-c145e5db7473a0baab6438d7c2ed9616948d8387.tar.gz
advtrains-c145e5db7473a0baab6438d7c2ed9616948d8387.tar.bz2
advtrains-c145e5db7473a0baab6438d7c2ed9616948d8387.zip
SmartRoute: Implement auto route search and first prototype
Diffstat (limited to 'advtrains_interlocking/tcb_ts_ui.lua')
-rwxr-xr-xadvtrains_interlocking/tcb_ts_ui.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains_interlocking/tcb_ts_ui.lua b/advtrains_interlocking/tcb_ts_ui.lua
index bdb0a18..7f75bb9 100755
--- a/advtrains_interlocking/tcb_ts_ui.lua
+++ b/advtrains_interlocking/tcb_ts_ui.lua
@@ -616,6 +616,9 @@ function advtrains.interlocking.show_signalling_form(sigd, pname, sel_rte, calle
local strtab = {}
for idx, route in ipairs(tcbs.routes) do
local clr = ""
+ if route.smartroute_generated then
+ clr = "#FFFF55"
+ end
if route.ars then
clr = "#FF5555"
if route.ars.default then