Commit Graph

24 Commits (master)

Author SHA1 Message Date
orwell96 aee7f0d419 Fix things, rework signal aspect select dialog, transform old aspects on-the-fly 2021-02-10 16:36:24 +01:00
orwell96 119a09b784 Simplify Signal Aspect Table (H#132) [breaks compatibility with signal API] 2021-02-10 16:36:24 +01:00
orwell96 f33bb563e7 Add "Fallback state" for freed routes, move p_mesecon_iface.lua to core 2020-07-07 14:25:47 +02:00
orwell96 657446e163 Fix minetest.after() loop between ARS->update_route->update_signal_aspect->invalidate_path 2020-06-05 13:48:12 +02:00
orwell96 0252768c16 Fix the "red signals" bug that appeared when clicking a green signal 2019-11-21 16:09:47 +01:00
orwell96 c90411b880 Fix cancelling "Unknown Route" when section is deleted. 2019-03-15 16:40:23 +01:00
orwell96 ede60d0a17 Fix routesetting when TCBS is missing (H#109) 2019-02-12 22:17:43 +01:00
orwell96 7891c7c342 Signalling form auto-update 2019-02-05 11:40:24 +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 3ce98cae9a Actual working ARS 2019-01-15 17:23:03 +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 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 69f368ab34 Display route_rsn when denying routesetting by subroute locked. 2018-10-25 22:38:44 +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 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 a92ecbc26a Automatic working (re-set certain route on train pass) 2018-08-12 16:58:47 +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