aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/routesetting.lua
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2018-07-17 21:02:01 +0200
committerorwell96 <orwell@bleipb.de>2018-07-17 21:02:01 +0200
commit5fc5eb9c2abd1cc30277cfda953b4696274ecd31 (patch)
treeabd897dd070b5954cacab4cab35566a41f24ebd7 /advtrains_interlocking/routesetting.lua
parente3667b630c6c232f012bbebc3a72c751c085d416 (diff)
downloadadvtrains-5fc5eb9c2abd1cc30277cfda953b4696274ecd31.tar.gz
advtrains-5fc5eb9c2abd1cc30277cfda953b4696274ecd31.tar.bz2
advtrains-5fc5eb9c2abd1cc30277cfda953b4696274ecd31.zip
Change stuff on route programming, begin routesetting
Diffstat (limited to 'advtrains_interlocking/routesetting.lua')
-rw-r--r--advtrains_interlocking/routesetting.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/advtrains_interlocking/routesetting.lua b/advtrains_interlocking/routesetting.lua
new file mode 100644
index 0000000..bee183c
--- /dev/null
+++ b/advtrains_interlocking/routesetting.lua
@@ -0,0 +1,12 @@
+-- Setting and clearing routes
+
+local ilrs = {}
+
+
+-- 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