aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking/routesetting.lua
Commit message (Collapse)AuthorAge
* Clear tcbs.route_rsn when a route is setY. Wang2024-09-02
| | | | | | | | | | | | | | | | | This appears to fix the issue where route_rsn is not cleared and later shown on the train HUD even when the route is set. Note that this only works if the route is (successfully) set after this patch is applied - it does not clear route_rsn for routes that are already set. How to test: * Set a conflicting route for the train. * Set a route for the train. Note that a message appears on the train HUD explaining that the route cannot be set (this is also the current behavior without the patch). * Cancel the conflicting route. Note that the message on the train HUD is cleared.
* Fix things, rework signal aspect select dialog, transform old aspects on-the-flyorwell962021-02-10
|
* Simplify Signal Aspect Table (H#132) [breaks compatibility with signal API]orwell962021-02-10
|
* Add "Fallback state" for freed routes, move p_mesecon_iface.lua to coreorwell962020-07-07
|
* Fix minetest.after() loop between ↵orwell962020-06-05
| | | | ARS->update_route->update_signal_aspect->invalidate_path
* Fix the "red signals" bug that appeared when clicking a green signalorwell962019-11-21
|
* Fix cancelling "Unknown Route" when section is deleted.orwell962019-03-15
|
* Fix routesetting when TCBS is missing (H#109)orwell962019-02-12
|
* Signalling form auto-updateorwell962019-02-05
|
* Prohibit removing/changing of TCBs and sections while routes or signals are setorwell962019-01-22
|
* Actual working ARSorwell962019-01-15
|
* Permit basic signal aspect settingorwell962018-11-19
| | | | (basically only usable with Ks signals, because they're the only signals supporting slow move and/or shunt move
* Replace "Allow accelereting train towards signal"orwell962018-10-30
| | | | 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
* Miscellaneous routesetting fixesorwell962018-10-29
| | | | | | | - 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
* Display route_rsn when denying routesetting by subroute locked.orwell962018-10-25
|
* Improve route programming:orwell962018-10-07
| | | | | | | - 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
* Add LuaAutomation interface functions for interlocking routesetting and ↵orwell962018-08-24
| | | | | | aspect requesting. This allows to incorporate interlocking to automated systems
* Move passive API to the advtrains coreorwell962018-08-16
| | | | to remove dependency of interlocking on luaautomation
* Fix various bugs found while testingorwell962018-08-13
|
* Automatic working (re-set certain route on train pass)orwell962018-08-12
|
* Signal aspect handling, make default signals compatible, fix signal diggingorwell962018-08-12
|
* Add routesetting callbacks.orwell962018-08-12
| | | | Now, only the signal aspect setting is still missing
* Uncommitted route handling (update_route function)orwell962018-08-03
|
* Implement routesettingorwell962018-07-21
| | | | Missing things: signal aspect updating, waiting routes handling, management /info tool
* Change stuff on route programming, begin routesettingorwell962018-07-17