aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainlogic.lua
Commit message (Expand)AuthorAge
* More debug info to hopefully gain more info on the bugorwell962021-02-10
* Fix things, rework signal aspect select dialog, transform old aspects on-the-flyorwell962021-02-10
* Always do zero-barrier check and prevent LZB 0 overruns in movement logicorwell962021-02-10
* Fix lots of things around new LZBorwell962021-02-10
* Remove pcall wrappers completely, add command to disable advtrains mainlooporwell962021-02-10
* Implement a LZB speed lookup table for the path and rewrite velocity controlsorwell962021-02-10
* Discard get_node_or_nil() for area-loaded check and use either a distance-bas...orwell962021-02-03
* add maximum length parameter to split_at_fc and split_off_locomotiveGabriel Pérez-Cerezo2020-08-21
* Add command to split off locomotiveGabriel Pérez-Cerezo2020-07-28
* Add function to step through freight codesGabriel Pérez-Cerezo2020-07-26
* add split_train_at_fc luaatc commandGabriel Pérez-Cerezo2020-07-26
* Add workaround to unload wagons that are too far away from playersorwell962020-07-12
* Add autocouple modeGabriel Pérez-Cerezo2020-06-29
* Workaround to handle split points (dt. aufgefahrene Weichen), fixing H#77orwell962020-06-10
* Fix trains flipping when autocouplingGabriel Pérez-Cerezo2020-06-08
* Simplify and optimize path_get_index_by_offset (cherrypicked)orwell962019-12-09
* Tentative fix for #31Gabriel Pérez-Cerezo2019-12-03
* Don't spawn couple entities when not loadedorwell962019-11-26
* remove obsolete code/commentsorwell962019-11-26
* Shunting mode now couples trains on collision.Gabriel Pérez-Cerezo2019-08-11
* Add decoupling to luaatcGabriel Pérez-Cerezo2019-08-11
* Change API to return the id of a newly created train when discouplingGabriel Pérez-Cerezo2019-08-09
* Run entity overrun checking only in loaded areasorwell962019-06-05
* Move LZB system to core and unify approach callback mechanismorwell962019-04-16
* Add setting for death behavior and implement damage checks betterorwell962019-03-09
* Prioritize LZB callback (possible bugfix for H#100)orwell962019-02-19
* Point speed restriction railsorwell962019-01-24
* Possible fix for braking problems + debug outputsorwell962019-01-23
* output step distance in train (debugging purposes)orwell962019-01-22
* Make "Can't restore train" a log message instead of atwarn()orwell962019-01-22
* Warn when something clears the path winthin train steporwell962019-01-22
* Revert "Correct last commit"orwell962019-01-22
* Revert "Debugging code to trace down path_invalidate within callbacks error"orwell962019-01-22
* Revert "Index NaN check (tracking obscure error detected on LW migration)"orwell962019-01-22
* Correct last commitorwell962019-01-22
* Debugging code to trace down path_invalidate within callbacks errororwell962019-01-22
* Workaroundorwell962019-01-21
* Do not run train steps when path has been deletedorwell962019-01-21
* Avoid division through zero in get_accelerationorwell962019-01-21
* Index NaN check (tracking obscure error detected on LW migration)orwell962019-01-21
* Fix player_to_train_mapping (H#74)orwell962018-12-16
* Fix crashes:orwell962018-12-10
* Shunt signals (not exactly Ks), along with fixes in other components that tho...orwell962018-12-08
* Apply speed restriction 0.5 indexes later, do not cap tarvelocity by speed_re...orwell962018-12-04
* Remove superfluous "tarvelocity" assignmentsorwell962018-11-20
* Remove "couple locks" and apply protection to the actual coupling process, an...orwell962018-11-10
* Document fix 0a982b6356b2f4b6a28e74f9f90c4f584169a96dorwell962018-10-29
* Actually set last_connid to 1, to prevent warningorwell962018-10-29
* Handle the case that a train is not initialized (train_ensure_init returns ni...orwell962018-10-29
* Small fixes which do not have any effectorwell962018-10-29