Commit Graph

89 Commits (fdfb3dba5fe46dfa799ed2471acc01830541f6ba)

Author SHA1 Message Date
orwell96 c4bac79bf0 Do not allow static signals for routesetting 2018-10-30 15:36:24 +01:00
orwell96 1ff809b883 Do not print "couldn't determine section" warning when all traverser ends were end-of-track 2018-10-29 21:28:03 +01:00
orwell96 6298f8b081 Allow to accelerate trains slowly towards red signals from stand.
Previously, it was impossible to accelerate a standing train once it was ~10m in front of a red signal.
2018-10-29 20:49:31 +01:00
orwell96 ef50505e95 Fix typo in signal assignment, causing crash 2018-10-29 20:11:22 +01:00
orwell96 68f047cc01 Miscellaneous routesetting fixes
- Move handling of "route_committed" to the routesetting function
- Put aspect in every TCBS on the way
- Add "route_origin" to TCBS fields to prevent subroute cancelling
- Cancel entire route when another train enters from the wrong TCB
2018-10-29 20:06:04 +01:00
orwell96 0ae0b6a768 Fix signal_get_aspect()
Had a series of bugs as result, like auto-clearing IPs and not-working lzb
2018-10-29 18:12:00 +01:00
orwell96 c1d5fb0e8c Add Interlocking Tool to inspect route locks 2018-10-26 19:44:16 +02:00
orwell96 012c01fcc7 Add "Reset track section" function 2018-10-26 19:05:57 +02:00
orwell96 6bb6c7d345 Fix demo signals 2018-10-25 22:49:30 +02:00
orwell96 f007017aa4 Add doc for supported_aspects, improve other doc and aspect autofill 2018-10-25 22:40:28 +02:00
orwell96 69f368ab34 Display route_rsn when denying routesetting by subroute locked. 2018-10-25 22:38:44 +02:00
orwell96 b4534c6f12 Improve ATC-LZB-User control interaction, smoothen LZB control operations
(prevent flickering view when atc battles against lzb)
2018-10-17 18:58:57 +02:00
orwell96 e04d84cb4c Actually allow what manual promises (setting IP on non-assigned signals) 2018-10-17 17:37:03 +02:00
orwell96 9db52bcd32 Remote Routesetting from Onboard Computer
+ Fix lzb oncoming item deletion/speed restriction
2018-10-10 23:17:31 +02:00
orwell96 842a85606e Properly implement invalidate_all_paths, recheck lzb on aspect change 2018-10-10 22:41:59 +02:00
orwell96 33c839b40d Add signal safety control override, restructure control system 2018-10-10 21:49:52 +02:00
orwell96 8f8f009425 Make signal influence point (~halt point) specifiable
Also extend signal api necessarily
2018-10-09 12:07:23 +02:00
orwell96 8df7bcf6b6 Improve route programming:
- Formspec for TCBs instead of unhandy chatcommands
- Ability to advance route over the next secction without punching end
- Better visualization
- Ability to route into dead-end sections
2018-10-07 22:21:49 +02:00
orwell96 8e70c070c1 Fix route programming lock-placement 2018-09-28 22:27:08 +02:00
orwell96 d837e7e5e9 Add LuaAutomation interface functions for interlocking routesetting and aspect requesting.
This allows to incorporate interlocking to automated systems
2018-08-24 22:39:13 +02:00
orwell96 05cb6090ac Move passive API to the advtrains core
to remove dependency of interlocking on luaautomation
2018-08-16 19:18:03 +02:00
orwell96 5fad61e9c9 Fix various bugs found while testing 2018-08-13 11:27:38 +02:00
orwell96 224d5cbfd3 Add 'interlocking' privilege and add security checks 2018-08-12 17:23:52 +02:00
orwell96 a92ecbc26a Automatic working (re-set certain route on train pass) 2018-08-12 16:58:47 +02:00
orwell96 d7e2918009 fix digging unconfigured tcbs 2018-08-12 14:27:54 +02:00
orwell96 cb56b8b49a Signal aspect handling, make default signals compatible, fix signal digging 2018-08-12 14:25:38 +02:00
orwell96 6cdb47edd2 Add routesetting callbacks.
Now, only the signal aspect setting is still missing
2018-08-12 13:23:36 +02:00
orwell96 0d130bb262 Uncommitted route handling (update_route function) 2018-08-03 19:20:10 +02:00
orwell96 c34794e8a1 Implement routesetting
Missing things: signal aspect updating, waiting routes handling, management /info tool
2018-07-21 16:31:00 +02:00
orwell96 5fc5eb9c2a Change stuff on route programming, begin routesetting 2018-07-17 21:02:01 +02:00
orwell96 e3667b630c Basic route management from signalling formspec 2018-07-04 19:31:44 +02:00
orwell96 031aab4633 Signal assignment and route programming procedure 2018-07-04 17:48:33 +02:00
orwell96 820503ba81 Implement trains blocking sections 2018-06-29 16:16:55 +02:00
orwell96 86fa420500 get_ts_at_pos(), file for train-related stuff 2018-06-29 11:50:55 +02:00
orwell96 1a64e96ae9 Complete Track Section handling, incl. removing tcb's and marker entities 2018-06-26 10:46:40 +02:00
orwell96 e1ebbff23c Add track section concept and rework TCB design, implement new linking behavior 2018-06-21 20:34:20 +02:00
orwell96 5992618ee8 Add Track Circuit Breaks (TCBs), Database and Track Circuit Setup
Does not get saved yet.
2018-06-20 20:13:12 +02:00
orwell96 65675664e3 Interlocking: Create demo signals, signal API and model for TCB configurer node 2018-06-19 19:50:11 +02:00
orwell96 712db5bd7f Draft of interlocking system 2018-06-14 17:39:42 +02:00