aboutsummaryrefslogtreecommitdiff
path: root/advtrains_interlocking
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.
* Remove TCB marker on TCB removal1F616EMO2024-08-01
| | | | | | | This patch fixes the following problem: * TCB marker is not removed on TCB removal * TCB marker is recreated on removal
* Interlocking: Correct duplicate influence points semi-automaticallyrelease-2.4.0orwell962021-11-14
| | | | Searches and deletes duplicate influence points for the same signal when "Influence Point" formspec is opened.
* Add more unit tests, fix broken unit testGabriel Pérez-Cerezo2021-11-09
|
* Support different types of speed restrictions; add documentationywang2021-11-07
|
* make distant signal aspect dropdown labels consistent with the ones for the ↵ywang2021-11-05
| | | | main aspect
* Re-add Zs 3(v) indicators; swap green and yellow lights for realismywang2021-11-05
|
* Route Formspec: When cancelling route, disable ARS only temporarily, not ↵orwell962021-10-26
| | | | permanently
* Remove sounds = default.sound_stone_defaults() as default is no longer a ↵orwell962021-04-04
| | | | dependency
* Rework route ui formspec layouthlqkj2021-03-22
| | | | | - Aligned stuff - Added style to use monospaced font in the ars rules editor textarea
* Replace deprecated depends.txt's by mod.conf and organize dependencies ↵orwell962021-03-13
| | | | consistently, add modpack.conf
* Signal influence points: Make sure to clear on removal of signal, clear ↵orwell962021-03-12
| | | | orphaned when digging rail
* Added alternative recipes, falling back on the default: items as they seem ↵Maverick27972021-03-06
| | | | | | to be in the rest of the mod. May need rebalancing though.
* Fix protection of TSR railorwell962021-02-19
|
* Add some missing craft recipesorwell962021-02-19
| | | | | | | - LuaATC remains non-craftable for now (elevated privs necessary anyway) - Some crafts altered from dario's proposal Co-authored-by: W3RQ01 <dario23@linux-forks.de>
* fix legacy signal aspect converterorwell962021-02-10
|
* Remove debug facilitiesorwell962021-02-10
|
* Add debug prints, modify LZB to fix problems with look_aheadorwell962021-02-10
|
* Add sign to make shunt moves proceed as main and improve doc of signalsorwell962021-02-10
|
* Fix new green signals bug caused by old trav_lzbdata, and callback loop in ↵orwell962021-02-10
| | | | signalling formspec
* Start using path_invalidate_ahead()orwell962021-02-10
|
* 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
|
* Fix lots of things around new LZBorwell962021-02-10
|
* Implement a LZB speed lookup table for the path and rewrite velocity controlsorwell962021-02-10
|
* Disable ARS train flag and surrounding usesorwell962021-02-10
|
* Fix removing stale TCB nodesrelease-2.2.0orwell962021-01-12
|
* Forbid track modification when train, IP or TCB is on it, better handle ↵orwell962020-10-07
| | | | removing of TCBs (H#149)
* tcb: Fix crash when player is nilLinus Jahn2020-09-01
|
* DISCARD ON MERGE!: Temporary compatibility fix: translate signal aspects ↵orwell962020-07-23
| | | | back to old format if they are in the new format, to allow reverting from new_lzb
* Make using the default tracks optional, even in submodsBlockhead2020-07-10
| | | | | | | | | | If advtrains_train_track is disabled, don't register any tracks that use its model like the LuaATC automation rail, point speed restriction rail, station/stop rail. For LuaATC, the definition for firing an event when a train runs over the rail needs to be moved into the common defs so that other mods like linetrack can use that as an interface.
* 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
* Apply minetest.formspec_escape() to prevent formspec injection (H#143)MT0.4Blockhead2020-01-04
|
* Add inverse ARS rulesGabriel Pérez-Cerezo2019-12-05
| | | | | | | | !RC foo !LN bar will match all trains except those matching RC foo or LN bar. This can be useful to exclude one specific service from a component.
* Fix the "red signals" bug that appeared when clicking a green signalorwell962019-11-21
|
* Do not throw error when sync_tcb_neighbors failsorwell962019-08-29
|
* Don't allow to remove TCB when a signal is assignedorwell962019-08-26
|
* Various small fixesGabriel Pérez-Cerezo2019-07-16
| | | | | | - Also do atomic operations on nodedb - no longer require Worldedit for at_sync_ndb - "overrun LZB 0 restriction" should now show where it happened.
* Fix remote routesettingorwell962019-04-16
|
* Move LZB system to core and unify approach callback mechanismorwell962019-04-16
|
* Disable-ARS switch in signal and set this when cancelling an ARS routeorwell962019-03-15
|
* Ugly workaround for green signals bugorwell962019-03-15
|
* Fix cancelling "Unknown Route" when section is deleted.orwell962019-03-15
|
* Do not clear LZB control when invalidating.orwell962019-02-23
| | | | Prevents trains accelerating towards red signals on /at_reroute
* possible fix for "trains standing at green signals"orwell962019-02-21
|
* Fix moving Signal IPs (no duplicate IPs)orwell962019-02-21
|
* Add ARS rules for stop railsorwell962019-02-19
|
* Prioritize LZB callback (possible bugfix for H#100)orwell962019-02-19
|
* Improve Signal IP form/workfloworwell962019-02-16
|