aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/routesetting.lua
diff options
context:
space:
mode:
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