aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/routesetting.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-08-24 22:39:13 +0200
committerorwell96 <orwell@bleipb.de>2018-08-24 22:39:13 +0200
commitd837e7e5e9d2d6de7903e91b3efc36e0dd032b92 (patch)
tree5dfb88b2ee30a4f674eb7517479fa4fa6b666e11 /advtrains_interlocking/routesetting.lua
parent5039c958a2bbc8e3ffa1e59522e3bc5e9b2e2872 (diff)
downloadadvtrains-d837e7e5e9d2d6de7903e91b3efc36e0dd032b92.tar.gz
advtrains-d837e7e5e9d2d6de7903e91b3efc36e0dd032b92.tar.bz2
advtrains-d837e7e5e9d2d6de7903e91b3efc36e0dd032b92.zip
Add LuaAutomation interface functions for interlocking routesetting and aspect requesting.
This allows to incorporate interlocking to automated systems
Diffstat (limited to 'advtrains_interlocking/routesetting.lua')
-rw-r--r--advtrains_interlocking/routesetting.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/advtrains_interlocking/routesetting.lua b/advtrains_interlocking/routesetting.lua
index 4e32b10..66f2d2b 100644
--- a/advtrains_interlocking/routesetting.lua
+++ b/advtrains_interlocking/routesetting.lua
@@ -20,13 +20,6 @@ ilrs.rte_callbacks = {
lck = {}
}
--- Requests the given route
--- This function will try to set the designated route.
--- If this is not possible, route is inserted in the subscriber list for
--- the problematic lock points
-function ilrs.request_route(signal, tcbs, routeid)
-
-end
-- main route setting. First checks if everything can be set as designated,
-- then (if "try" is not set) actually sets it