aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Fix use_texture_alpha for tracksY. Wang2024-02-25
| | | | | | | | | | | | | | | | The use of textures with transparent pixels (for the default tracks: the "features" on the track) without specifying use_texture_alpha (at least for the mesh drawtype) has been deprecated in a PR from August 2020[1] (i.e. since 5.4.0[2]) and removed in the latest dev version[3]. As a consequence, regular tracks are now rendered with black markers at the same position where e.g. the blue (Lua)ATC marker would be found. This commit fixes the issue by enabling use_texture_alpha by default for all tracks. [1] https://github.com/minetest/minetest/pull/10122 [2] https://dev.minetest.net/Changelog#5.3.0_.E2.86.92_5.4.0 [3] https://github.com/minetest/minetest/pull/13929
* Add register_function command so mods can register their own functons, ↵gpcf2024-02-06
| | | | low-level interface for departure boards
* Add chatcommand and luaatc function to get global_slowdownorwell2024-02-06
|
* Set maximum train length and prevent coupling if it would exceedorwell2023-12-20
|
* advtrains_techage: Liquid infotext display needs to be added in corerelease-2.4.3orwell962023-07-20
|
* Fix path_invalidate_ahead after recent commitorwell962023-07-01
|
* Turn loading tracks into loading ramps when within the loaded areaMaverick27972023-06-24
| | | | | | | - Partially addresses Hemiptera #165 / Notabug #6 - Will recalculate wagon textures when the inventory is modified - Only acts as a loading ramp when in a loaded area. - Retains previous flood loading of entire train when area unloaded
* Occupation system: store multiple indices for the same train, introduce ↵orwell962023-06-24
| | | | reverse_lookup_sel() to select appropriate index out of multiple based on a heuristic
* Add function to get wagon in train from indexorwell962023-05-27
| | | | | Can be used to determine which wagon is at a certain world position Testing: use debugitems.lua
* Add craft recipes for the new ks speed indicatorsMaverick27972023-04-12
|
* Make selection boxes of track nodes largerBlockhead2023-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 prototypesY. Wang2023-04-12
| | | | Related issue: https://forum.minetest.net/viewtopic.php?p=414307#p414307
* Add get_fc() and set_fc() commandsMaverick27972023-03-17
| | | | | get_fc: returns a table of each wagon's FC codes set_fc: set a table to overwrite the FC codes of a train's wagons
* small security fixes in advtrains_luaautomation/Maverick27972023-03-17
| | | | | | | - fixed file permissions of advtrains_luaautomation/README.md (755->644) - fixed file permissions of advtrains_luaautomation/environment.lua (755->644) - prevented LuaATC section_occupancy() from having direct access to the interlocking section id occupancy table - simplify section_occupancy() logic
* Add punchers name to ops panel punch eventrelease-2.4.2Maverick27972023-03-12
| | | | event={type="punch", punch=true, name="foo"}
* On_Joinplayer: fix train ID check for attachment updateorwell962022-06-13
| | | | Previously, statement was always false because train_id is no longer in the luaentity
* Minor change to READMEAntonia2022-03-03
| | | | 45 degree platform design is not a sound
* Fix new wagon positioning when wheel positions are asymmetric, and remove ↵orwell962022-02-24
| | | | leftover train.debug
* Wagons: Add two-pos wheel positioning logic for more realistic look of long ↵orwell962022-02-09
| | | | | | wagons Adds field "wheel_positions" in wagon definition
* atc_reset(): Removed unused string parameter and also clear ATC autocouple ↵orwell962021-12-31
| | | | | | flag (Cpl) Fixes H#189 and H#190
* Load/Unload Track FC IntegrationMaverick27972021-12-29
| | | | | | | | - Set a freight code in the track to whitelist only wagons with that FC as the current one - Set as # to disable the track - Set as a blank field (default) to allow all wagons to activate, irrespective of their FC
* Automatically group wagons and locomotives based on definition valuesMaverick27972021-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
* Luaautomation: add section_occupancy()Maverick27972021-12-29
| | | | | | | Returns a table of train ids for the specified section. Returns nil if the section id is not provided.. Returns false if the section id is invalid. Returns an empty table if the section id is valid but empty of trains.
* Fix speed sign allowing v>max_speedY. Wang2021-12-16
|
* Add C&C Servers into the testing server list, since we are using the latest ↵Emojigit2021-11-26
| | | | commit
* Trivial fixup for train decoupling regressionrelease-2.4.1ywang2021-11-20
|
* 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.
* rewrite readme in markdown, add more informationGabriel Pérez-Cerezo2021-11-10
|
* Remove non-deterministic testGabriel Pérez-Cerezo2021-11-10
|
* Activate serialize_lib unit testsGabriel Pérez-Cerezo2021-11-10
|
* Add more unit tests, fix broken unit testGabriel Pérez-Cerezo2021-11-09
|
* configure build.yml to run the unit testsGabriel Pérez-Cerezo2021-11-09
|
* readme atc_set_ars_disable typoMaverick27972021-11-09
|
* add sourcehut build fileGabriel Pérez-Cerezo2021-11-09
|
* split_at_index where index=1Maverick27972021-11-08
| | | | | Splitting at index=1 results in multiple empty trains being created. Can be prevented by an atc_speed > 0 check by the user, but easier just to return false and do nothing.
* New-Ks: minor additions/corrections to ywang's work:orwell962021-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 aspectsywang2021-11-07
|
* Make train HUD check for existing speed restrictionsywang2021-11-07
|
* Rework textures and models; add new signal signsywang2021-11-07
|
* Support different types of speed restrictions; add documentationywang2021-11-07
|
* round speed limit if neededywang2021-11-05
|
* make distant signal aspect dropdown labels consistent with the ones for the ↵ywang2021-11-05
| | | | main aspect
* Do not allow adjusting Ks signals with trackworkersywang2021-11-05
|
* Re-add Zs 3(v) indicators; swap green and yellow lights for realismywang2021-11-05
|
* Use realistic Ra 10 signal signywang2021-11-05
|
* On-Track Collision system: Fix train teleportation when using ↵orwell962021-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: remove accidental mesecons hard-dependencyorwell962021-11-04
|
* LuaATC: Fix position of error label, use consistent name "LuaATC" instead of ↵orwell962021-11-02
| | | | "LuaAutomation"
* LuaATC: Add Mesecons LuaATC Controller (similar to Mesecons Luacontroller)orwell962021-11-02
|
* LuaATC PCNaming: Allow naming active components using the toolorwell962021-11-02
|