72 Commits

Author SHA1 Message Date
orwell96
ee079d02ff Improve Signal IP form/workflow 2019-02-16 13:09:33 +01:00
orwell96
aa2b08b985 Fix TCBS crash also for route_ui 2019-02-16 13:00:59 +01:00
orwell96
ede60d0a17 Fix routesetting when TCBS is missing (H#109) 2019-02-12 22:17:43 +01:00
orwell96
fcb3dec0c0 Fixes regarding signal assignments/tcbs
- No longer crashes when assigned tcb is removed
- don't forbid modification just because signal is assigned
2019-02-09 19:24:10 +01:00
orwell96
7891c7c342 Signalling form auto-update 2019-02-05 11:40:24 +01:00
orwell96
e7dcee1127 Force LZB Halt setting 2019-02-05 11:23:17 +01:00
orwell96
be09acf5e2 Minor Bugfixes 2019-02-03 16:37:03 +01:00
orwell96
9da148347d Basic functions of "stop rail", missing ARS rules and signal.
For signal, need to think of a callback system for signals and moving atlatc queue to core?
2019-01-24 17:50:26 +01:00
orwell96
2976bae452 Point speed restriction rails 2019-01-24 13:43:22 +01:00
orwell96
f6f922c90c Fix last commit (and another warn2log) 2019-01-22 23:40:53 +01:00
orwell96
f2a62c2d77 Fix atc command evaluation BB command 2019-01-22 23:26:20 +01:00
orwell96
2b87106961 Make LZB params adjustable 2019-01-22 23:16:26 +01:00
orwell96
7537d2026f another small fix for route_ui 2019-01-22 21:39:06 +01:00
orwell96
7c60b8ffd1 Fix small bug in routeui and make another message log-only 2019-01-22 21:06:26 +01:00
orwell96
a34c2f4053 disable debug print of ARS 2019-01-22 18:48:46 +01:00
orwell96
0617a6a1bd Fix may_modify_section on newly created sections 2019-01-22 17:47:43 +01:00
orwell96
6c1ca46d6e Fix invalid path invalidation in ARS code 2019-01-22 12:43:11 +01:00
orwell96
64e59b54f8 Prohibit removing/changing of TCBs and sections while routes or signals are set 2019-01-22 12:07:53 +01:00
orwell96
cb48aea3e0 Do not run LZB traverser when path does not exist 2019-01-21 20:50:42 +01:00
orwell96
08649b84a0 Fix route aspect dialog 2019-01-15 20:06:45 +01:00
orwell96
a3baead979 Fix Routingcode ARS 2019-01-15 17:43:55 +01:00
orwell96
c180582f3d Can disable automatic working without cancelling route 2019-01-15 17:25:51 +01:00
orwell96
3ce98cae9a Actual working ARS 2019-01-15 17:23:03 +01:00
orwell96
a751d1da9c Add Automatic Routesetting UI
Settings have no effect so far
2019-01-09 18:03:40 +01:00
orwell96
c8788e6ca7 Fix crashes:
1. when train hit a route, nil access to already cancelled route caused crash
2. fix crash when trying to ensure_init a train that doesn't exist
2018-12-10 22:57:16 +01:00
orwell96
7a970dd4fa Signs (static signals) 2018-12-08 18:23:34 +01:00
orwell96
c3c5431412 Shunt signals (not exactly Ks), along with fixes in other components that those rely on 2018-12-08 17:12:57 +01:00
orwell96
e37f4f9188 Apply speed restriction 0.5 indexes later, do not cap tarvelocity by speed_restriction 2018-12-04 19:27:44 +01:00
orwell96
e1a8a2e974 Do not set speed_restriction for npr 2018-12-04 00:17:54 +01:00
orwell96
ec68eaa229 Added on_train_approach callback, non-permanent external LZB brakepoints and basis for "stop rails"
Stop rails ATM use the aforementioned things to add a pointwise "2" speed restriction. Seems to work.
2018-11-29 17:52:56 +01:00
orwell96
e2a844f5bf Permit basic signal aspect setting
(basically only usable with Ks signals, because they're the only signals supporting slow move and/or shunt move
2018-11-19 23:53:42 +01:00
orwell96
7bbe0c2468 Replace "Allow accelereting train towards signal"
This is a better implementation of the same goal. The last commit caused trains to overrun the IP sometimes. Haven't noticed so far with this approach
2018-10-30 16:19:37 +01:00
orwell96
f8c00bcba3 Make fillout_aspect also fill "info" field 2018-10-30 15:36:39 +01:00
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