aboutsummaryrefslogtreecommitdiff
path: root/advtrains
Commit message (Collapse)AuthorAge
...
| * Adding Train ID to Onboard Computer formspec so we know what the Train ID is ↵erstazi2024-08-08
| | | | | | | | without LuaATC
| * Fix incorrect speed indicator; include routing info in text HUDY. Wang2024-08-08
| |
| * Rework graphical train HUD codeY. Wang2024-08-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - A basic texture manipulation API is added; currently this is only a (selected) subset of texture modifiers provided by MT; the goal is to avoid writing (potentially incorrect) texture strings by hand; - The graphical HUD code is cleaned up; in particular, most code used for generating texture patterns are moved to texture.lua so that the code can be used outside of the HUD; - Inactive elements are given the darkslategray background. A basic unittest is added; however, it needs to be expanded for better coverage. Reported-by: Lars Müller <appgurulars@gmx.de>
| * Remove superfluous train_id check from reverse_lookuprelease-2.4.4orwell2024-08-01
| | | | | | | | Reported by Sebastien F4GRX, thank you!
| * Fix crossing bell positional stereo1F616EMO2024-08-01
| |
| * Fix for broken get_trains_at, fixing LuaATC/Lines Scheduler executionorwell2024-05-06
| |
| * 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 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
| |
| * 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
* | ARS supports triggering distant signal, other bugfixesorwell2024-07-20
| |
* | SmartRoute: Implement auto route search and first prototypeorwell2024-06-22
| |
* | Fix more setstate stuff with new API (compat legacy)orwell2024-06-11
| |
* | Fix working of the legacy signals under new systemorwell2024-05-24
| |
* | Add proper UI aspect selection for static dialogorwell2024-05-23
| |
* | Connect the ropes, start on making the UI workorwell2024-05-23
| |
* | Merge branch 'new-ks-orwell' into route_prog_reworkorwell2024-04-08
|\ \
| * | Rework formspecs; add description to JP signal groupY. Wang2023-03-23
| | |
| * | Adjust signal aspect formspecs to be of similar sizeY. Wang2023-03-23
| | |
| * | Allow assigning distant signals from the main signalY. Wang2023-03-23
| | |
| * | Implement primitive distant signalingY. Wang2023-03-23
| | |
| * | Use tabs to switch between signaling and IP formsY. Wang2023-03-23
| | |
| * | Implement basic route signaling with Japanese signals for demoY. Wang2023-03-23
| | |
* | | Implement routesetting incorporating tscache, other improvementsorwell2024-01-28
| | |
* | | Re-implement point origin handling (replace old points_split hack by proper ↵orwell2023-10-15
| | | | | | | | | | | | solution)
* | | Use conn_map in the path calculationorwell2023-10-15
| | |
* | | Forget it, and use the old preset tables for track registration. Just adapt ↵orwell2023-10-15
| | | | | | | | | | | | it to the new definition.
* | | Make the track registration less manual again to prevent duplicate codeorwell962023-09-05
| | | | | | | | | | | | (but keep the template table in the track mod, as it's supposed to be)
* | | Begin major rework of track registration systemorwell962023-09-04
| | |
* | | TCB Xlinking added, to make nonconnected crossings possibleorwell962023-05-27
| | |
* | | Auto-Repair Track Sections/TCBs (automatically when adding/removing or ↵orwell962023-05-27
| | | | | | | | | | | | triggered by interlocking tool)
* | | Add TrackIterator interface as a common framework for walking along tracks ↵orwell962023-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 indexorwell962023-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 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
* 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
* 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
* 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
* Fix speed sign allowing v>max_speedY. Wang2021-12-16
|
* 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.
* Add more unit tests, fix broken unit testGabriel Pérez-Cerezo2021-11-09
|
* 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
|
* Support different types of speed restrictions; add documentationywang2021-11-07
|