Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Occupation system: store multiple indices for the same train, introduce ↵ | orwell96 | 2023-06-24 |
| | | | | reverse_lookup_sel() to select appropriate index out of multiple based on a heuristic | ||
* | Report coordinates of wagons with unregistered prototypes | Y. Wang | 2023-04-12 |
| | | | | Related issue: https://forum.minetest.net/viewtopic.php?p=414307#p414307 | ||
* | On_Joinplayer: fix train ID check for attachment update | orwell96 | 2022-06-13 |
| | | | | Previously, statement was always false because train_id is no longer in the luaentity | ||
* | Fix speed sign allowing v>max_speed | Y. Wang | 2021-12-16 |
| | |||
* | Trivial fixup for train decoupling regressionrelease-2.4.1 | ywang | 2021-11-20 |
| | |||
* | Support different types of speed restrictions; add documentation | ywang | 2021-11-07 |
| | |||
* | On-Track Collision system: Fix train teleportation when using ↵ | orwell96 | 2021-11-04 |
| | | | | | | split_at_index() from LuaATC Issue was that train thought it would collide with the newly added back portion although it was already long past this train. Added additional check that current train index is not further than the collision point. | ||
* | Train Coupling: Change behavior so that train direction of initiating train ↵ | orwell96 | 2021-10-25 |
| | | | | is kept, add ATC Cpl command | ||
* | Disable position-based collision and coupling system for very short trains ↵ | orwell96 | 2021-07-07 |
| | | | | (such as single minecarts) to solve #155 | ||
* | Rework train same-track collision system and deterministic coupling | orwell96 | 2021-07-07 |
| | | | | | | | - Adds a separate collision system for trains sharing a path - Moved some coupling-related code to couple.lua and refactor it - Handle coupling in a way that the initiating train always keeps its ID - As a side effect, engine has its direction reversed after coupling | ||
* | Make the collision mode configurable | Gabriel Pérez-Cerezo | 2021-06-30 |
| | | | | | | | | If the advtrains_forgiving_collision setting is set to true, then the train only collides with nodes that do not have normal drawtype. Otherwise the old behavior is restored. This change is being made because there were users and mods relying on the old behavior, such as the railroad_paraphernalia mod's track blocker. | ||
* | Train-World collisions: Collide only with 'normal'-drawtype nodes. | orwell96 | 2021-06-29 |
| | | | | | | | As per discussion on the forum (https://forum.minetest.net/viewtopic.php?p=396745#p396745), changes the train-world collision logic to make trains only collide with nodes that are solid cubes. This allows for more creative freedom, but shifts the responsibility of building realistic railways to the players. In the future, a more sophisticated environment collision system might be invented, but this is low-priority and should be optional to save CPU. | ||
* | Entity Damage: Correct sign entity name | orwell96 | 2021-06-29 |
| | | | | Reported by VanessaE | ||
* | Trains splitting: retain important properties (door state, line, texts etc) | orwell96 | 2021-05-22 |
| | |||
* | Deregister player from train on death in all cases (fixes #119)release-2.3.0 | orwell96 | 2021-04-25 |
| | |||
* | Prevent splitting trains when they're off track (fixes #178) | orwell96 | 2021-04-25 |
| | |||
* | Fix undeclared globals warnings (#176) | orwell96 | 2021-04-25 |
| | | | | Reported by Vanessa Dannenberg | ||
* | LZB: Look ahead before movement, not after | orwell96 | 2021-02-12 |
| | |||
* | Fix hud and trainlogic to work together | orwell96 | 2021-02-10 |
| | |||
* | Replace deprecated object:getxxx()/setxxx() by get_xxx()/set_xxx() | orwell96 | 2021-02-10 |
| | |||
* | Remove debug facilities | orwell96 | 2021-02-10 |
| | |||
* | Rewrite movement logic again | orwell96 | 2021-02-10 |
| | |||
* | Add debug prints, modify LZB to fix problems with look_ahead | orwell96 | 2021-02-10 |
| | |||
* | Start using path_invalidate_ahead() | orwell96 | 2021-02-10 |
| | |||
* | More debug info to hopefully gain more info on the bug | orwell96 | 2021-02-10 |
| | |||
* | Fix things, rework signal aspect select dialog, transform old aspects on-the-fly | orwell96 | 2021-02-10 |
| | |||
* | Always do zero-barrier check and prevent LZB 0 overruns in movement logic | orwell96 | 2021-02-10 |
| | |||
* | Fix lots of things around new LZB | orwell96 | 2021-02-10 |
| | |||
* | Remove pcall wrappers completely, add command to disable advtrains mainloop | orwell96 | 2021-02-10 |
| | |||
* | Implement a LZB speed lookup table for the path and rewrite velocity controls | orwell96 | 2021-02-10 |
| | |||
* | Discard get_node_or_nil() for area-loaded check and use either a ↵ | orwell96 | 2021-02-03 |
| | | | | | | distance-based approach or minetest.is_block_active() if available See also https://github.com/minetest/minetest/pull/10897 | ||
* | add maximum length parameter to split_at_fc and split_off_locomotive | Gabriel Pérez-Cerezo | 2020-08-21 |
| | |||
* | Add command to split off locomotive | Gabriel Pérez-Cerezo | 2020-07-28 |
| | |||
* | Add function to step through freight codes | Gabriel Pérez-Cerezo | 2020-07-26 |
| | |||
* | add split_train_at_fc luaatc command | Gabriel Pérez-Cerezo | 2020-07-26 |
| | | | | | | This command splits the train at the second non-empty FC it encounters, taking with it the first few freight cars that all go to the same destination. | ||
* | Add workaround to unload wagons that are too far away from players | orwell96 | 2020-07-12 |
| | |||
* | Add autocouple mode | Gabriel Pérez-Cerezo | 2020-06-29 |
| | | | | | | | The shunting mode no longer makes trains couple, since it was meant for other purposes. For autocoupling, the new autocoupling mode is used. If trains are in autocouple mode, they couple when they collide with another train. | ||
* | Workaround to handle split points (dt. aufgefahrene Weichen), fixing H#77 | orwell96 | 2020-06-10 |
| | |||
* | Fix trains flipping when autocoupling | Gabriel Pérez-Cerezo | 2020-06-08 |
| | |||
* | Simplify and optimize path_get_index_by_offset (cherrypicked) | orwell96 | 2019-12-09 |
| | |||
* | Tentative fix for #31 | Gabriel Pérez-Cerezo | 2019-12-03 |
| | | | | | This might fix #31 by clearing the HUD entry for the player when joining | ||
* | Don't spawn couple entities when not loaded | orwell96 | 2019-11-26 |
| | |||
* | remove obsolete code/comments | orwell96 | 2019-11-26 |
| | |||
* | Shunting mode now couples trains on collision. | Gabriel Pérez-Cerezo | 2019-08-11 |
| | | | | Trains now get coupled when one of them is in coupling mode. | ||
* | Add decoupling to luaatc | Gabriel Pérez-Cerezo | 2019-08-11 |
| | |||
* | Change API to return the id of a newly created train when discoupling | Gabriel Pérez-Cerezo | 2019-08-09 |
| | |||
* | Run entity overrun checking only in loaded areas | orwell96 | 2019-06-05 |
| | |||
* | Move LZB system to core and unify approach callback mechanism | orwell96 | 2019-04-16 |
| | |||
* | Add setting for death behavior and implement damage checks better | orwell96 | 2019-03-09 |
| | |||
* | Prioritize LZB callback (possible bugfix for H#100) | orwell96 | 2019-02-19 |
| |