aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add scheduling commandsatcjitywang2021-08-05
|
* Rename unittest directoryywang2021-08-04
|
* Fix A command after rebasingywang2021-08-04
|
* Optimizationsywang2021-08-04
|
* Add command to view generated lua code; add unittests for repeating codeywang2021-08-04
|
* JIT-compile ATC commandsywang2021-08-04
|
* Disable position-based collision and coupling system for very short trains ↵orwell962021-07-07
| | | | (such as single minecarts) to solve #155
* Rework train same-track collision system and deterministic couplingorwell962021-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 ↵orwell962021-07-07
| | | | advtrains's main step
* Make the collision mode configurableGabriel Pérez-Cerezo2021-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.orwell962021-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 nameorwell962021-06-29
| | | | Reported by VanessaE
* Trains splitting: retain important properties (door state, line, texts etc)orwell962021-05-22
|
* Serialization: strip trailing \r also in nodedb callbackrelease-2.3.1orwell962021-05-07
|
* Merge commit 'd4593491efbcab47efd918d7918b97b4621828b3'orwell962021-05-03
|\
| * Strip trailing \r's also for first and last lineorwell962021-05-03
| |
| * Make strict loading the defaultorwell962021-05-03
| |
| * Strip trailing \r from lines (possibly fixes windows migration)orwell962021-05-03
| |
* | Deregister player from train on death in all cases (fixes #119)release-2.3.0orwell962021-04-25
| |
* | Prevent splitting trains when they're off track (fixes #178)orwell962021-04-25
| |
* | Hopefully fix #177orwell962021-04-25
| |
* | Fix undeclared globals warnings (#176)orwell962021-04-25
| | | | | | | | Reported by Vanessa Dannenberg
* | Add check for box inventoryGabriel Pérez-Cerezo2021-04-11
| | | | | | | | | | this fixes a crash when the new technic train battery wagon passes over a loading / unloading track.
* | Add /at_whereis command to check the position of a train.Gabriel Pérez-Cerezo2021-04-10
| |
* | Update serialize_liborwell962021-04-04
|\|
| * Open files in binary mode; also serialize carriage returnorwell962021-04-04
| | | | | | | | Bumps serialization version as CR escape would not be read correctly in older version
| * Add documentation and licenseorwell962021-03-22
| |
| * Fix init.lua functions to do what is documented on errororwell962021-03-22
| |
* | Remove sounds = default.sound_stone_defaults() as default is no longer a ↵orwell962021-04-04
| | | | | | | | dependency
* | Make mesecons_switch a proper optional dependency (H#175)Blockhead2021-03-31
| |
* | Increase size of LuaATC code input forms to 15x12 unitsorwell962021-03-22
| | | | | | | | | | The current size of the code form is rather limiting as it fills only a small part of the screen. Also adds global constant in init.lua so this can easily adapted in the future
* | Remove "Last punched" from LuaATC init code fshlqkj2021-03-22
| | | | | | | | | | Also removed the now-dead last punch pos helper code. Resized buttons accordinghly.
* | Rework route ui formspec layouthlqkj2021-03-22
| | | | | | | | | | - Aligned stuff - Added style to use monospaced font in the ars rules editor textarea
* | Rework active_common formspec layouthlqkj2021-03-22
| | | | | | | | | | | | - Aligned stuff - Added style to use monospaced font in the code editor textarea - Added label to the environment dropdown
* | Rework envsetup formspec layouthlqkj2021-03-22
| | | | | | | | | | - Aligned stuff - Added style to use monospaced font in the code editor textarea
* | Use mono font to ATC rail command fieldshlqkj2021-03-22
| |
* | Rework stoprail formspec layout and add mono stylehlqkj2021-03-22
| | | | | | | | | | - Rework formspec layout, fixed tab order - Added style to use monospaced font for the stn and ars fields
* | Do not return early after setting station info on stop railBlockhead2021-03-22
| | | | | | | | Solves Hemiptera#171
* | Do not crash when operating signals without interlockingBlockhead2021-03-22
| | | | | | | | | | The default set of signals were crashing when operated by right-clicking or mesecons when advtrains_interlocking was not enabled.
* | Add 'serialize_lib/' from commit 'a6e8b8b4353863ad563a4d5187f40fea702ea2de'orwell962021-03-13
|\| | | | | | | | | | | git-subtree-dir: serialize_lib git-subtree-mainline: b82e10051d69730b7459cceae4e4e8719b4445d0 git-subtree-split: a6e8b8b4353863ad563a4d5187f40fea702ea2de
| * mod.conf: Add more information about the mod, not just the nameorwell962021-03-13
| |
| * add unit tests for serialize_libGabriel Pérez-Cerezo2021-01-31
| |
| * Fix serialisation: breach of contract, file left openBlockhead2021-01-18
| | | | | | | | Previous commit did not fix saving, but is kept because there is a corner case for which it is required (see MT forum)
| * Fix atomic saving on windows when save file does not existorwell962021-01-17
| |
| * Some more serializer fixes (backported from new_lzb):orwell962021-01-12
| | | | | | | | | | | | - Move DUMP_DEBUG_SAVE block before the actual saving so it can be used to trace serializer errors - Don't crash on functions in data, ignore them silently - Increase the save interval
| * serialize_lib: Allow empty strings in keyorwell962021-01-12
| |
| * Serialize_lib: finish up and add atomic apiorwell962021-01-12
| |
| * Implement basic serialization and file openingorwell962021-01-12
|
* Remove serialize_lib in order to re-add it as subtreeorwell962021-03-13
|
* Replace deprecated depends.txt's by mod.conf and organize dependencies ↵orwell962021-03-13
| | | | consistently, add modpack.conf