Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Make the track registration less manual again to prevent duplicate code | orwell96 | 2023-09-05 |
| | | | | (but keep the template table in the track mod, as it's supposed to be) | ||
* | Begin major rework of track registration system | orwell96 | 2023-09-04 |
| | |||
* | TCB Xlinking added, to make nonconnected crossings possible | orwell96 | 2023-05-27 |
| | |||
* | Auto-Repair Track Sections/TCBs (automatically when adding/removing or ↵ | orwell96 | 2023-05-27 |
| | | | | triggered by interlocking tool) | ||
* | Add TrackIterator interface as a common framework for walking along tracks ↵ | orwell96 | 2023-05-27 |
| | | | | | | (also for third-party libs) This will replace the interlocking traverser and will be used in the new itrainmap implementation | ||
* | Add function to get wagon in train from index | orwell96 | 2023-05-27 |
| | | | | | Can be used to determine which wagon is at a certain world position Testing: use debugitems.lua | ||
* | Make selection boxes of track nodes larger | Blockhead | 2023-04-12 |
| | | | | | | | This reduces the difficulty of having to point at the centre of the correct track node, and hopefully does not prevent placing tracks in more than a couple of cases. Three-way turnouts on an angle may be an exception but they may be worth it. User feedback is needed. | ||
* | 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 new wagon positioning when wheel positions are asymmetric, and remove ↵ | orwell96 | 2022-02-24 |
| | | | | leftover train.debug | ||
* | Wagons: Add two-pos wheel positioning logic for more realistic look of long ↵ | orwell96 | 2022-02-09 |
| | | | | | | wagons Adds field "wheel_positions" in wagon definition | ||
* | atc_reset(): Removed unused string parameter and also clear ATC autocouple ↵ | orwell96 | 2021-12-31 |
| | | | | | | flag (Cpl) Fixes H#189 and H#190 | ||
* | Automatically group wagons and locomotives based on definition values | Maverick2797 | 2021-12-29 |
| | | | | | | | | | Based on the advtrains wiki groups: Type Group Classifier - Locomotives: group:at_loco is_locomotive = true - Controllable: group:at_control seat_groups.dstand - Passengers: group:at_pax seat_groups.pass - Freight: group:at_freight has_inventory = true | ||
* | 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 |
| | |||
* | Interlocking: Correct duplicate influence points semi-automaticallyrelease-2.4.0 | orwell96 | 2021-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 test | Gabriel Pérez-Cerezo | 2021-11-09 |
| | |||
* | New-Ks: minor additions/corrections to ywang's work: | orwell96 | 2021-11-08 |
| | | | | | | - Add sign for line speed 20 (else no way to return to max line speed once set) - When no distant signal info available (default), Ks displays green light (2 sections free) - Normal and wall signals again signal maximum speed (persistent restriction can be given via line speed nouw) | ||
* | Add documentation on signal aspects | ywang | 2021-11-07 |
| | |||
* | Make train HUD check for existing speed restrictions | ywang | 2021-11-07 |
| | |||
* | 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. | ||
* | LuaATC: Add Mesecons LuaATC Controller (similar to Mesecons Luacontroller) | orwell96 | 2021-11-02 |
| | |||
* | Coupler types: Better output when there are no couplers on a wagon | orwell96 | 2021-10-25 |
| | |||
* | Coupling: Add concept of coupler types, allow coupling only when coupler ↵ | orwell96 | 2021-10-25 |
| | | | | types match | ||
* | 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 | ||
* | Shutdown callback: don't save advtrains save files when MT crashed within ↵ | orwell96 | 2021-07-07 |
| | | | | advtrains's main step | ||
* | 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 |
| | |||
* | Serialization: strip trailing \r also in nodedb callbackrelease-2.3.1 | orwell96 | 2021-05-07 |
| | |||
* | 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 | ||
* | Add /at_whereis command to check the position of a train. | Gabriel Pérez-Cerezo | 2021-04-10 |
| | |||
* | Remove sounds = default.sound_stone_defaults() as default is no longer a ↵ | orwell96 | 2021-04-04 |
| | | | | dependency | ||
* | Make mesecons_switch a proper optional dependency (H#175) | Blockhead | 2021-03-31 |
| | |||
* | Use mono font to ATC rail command fields | hlqkj | 2021-03-22 |
| | |||
* | Do not crash when operating signals without interlocking | Blockhead | 2021-03-22 |
| | | | | | The default set of signals were crashing when operated by right-clicking or mesecons when advtrains_interlocking was not enabled. | ||
* | Replace deprecated depends.txt's by mod.conf and organize dependencies ↵ | orwell96 | 2021-03-13 |
| | | | | consistently, add modpack.conf | ||
* | Signal influence points: Make sure to clear on removal of signal, clear ↵ | orwell96 | 2021-03-12 |
| | | | | orphaned when digging rail | ||
* | Track can-dig check: also notify user when digging is not allowed | orwell96 | 2021-03-12 |
| | |||
* | Add some missing craft recipes | orwell96 | 2021-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> | ||
* | Make DTIME_LIMIT and SAVE_INTERVAL globally accessible | orwell96 | 2021-02-15 |
| | |||
* | LZB: Look ahead before movement, not after | orwell96 | 2021-02-12 |
| | |||
* | Don't try to invalidate_ahead when path has been regularily invalidated before | orwell96 | 2021-02-10 |
| | |||
* | Prevent calling approach callbacks during routesetting | orwell96 | 2021-02-10 |
| | | | | interlocking.set_route() was updating the signal aspect, which caused LZB's invalidate_ahead callback to run, although the route isn't yet fully set. Don't look ahead at this point, but instead in the next train step. |