| Commit message (Collapse) | Author | Age |
... | |
| |/
| |
| |
| |
| | |
* Fix broken link to RWT API documentation.
* w_speed is no longer relevant since the 2021 new-ks update.
|
| |
| |
| |
| |
| | |
This patch avoids sending the driver HUD if it contains the same text
that was previously sent.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This appears to fix the issue where route_rsn is not cleared and later
shown on the train HUD even when the route is set.
Note that this only works if the route is (successfully) set after this
patch is applied - it does not clear route_rsn for routes that are
already set.
How to test:
* Set a conflicting route for the train.
* Set a route for the train. Note that a message appears on the train
HUD explaining that the route cannot be set (this is also the current
behavior without the patch).
* Cancel the conflicting route. Note that the message on the train HUD
is cleared.
|
| | |
|
| |
| |
| |
| |
| | |
Returns a copy of the trainparts table to allow tracking individual wagon ids
Also fixed a couple of file permissions from previous commits
|
| | |
|
| | |
|
| |
| |
| |
| | |
remains transparent and the player can copy the Train ID.
|
| |
| |
| |
| |
| | |
This fix prevents malicious modified clients from using the PC tool
without the necessary privileges.
|
| |
| |
| |
| | |
Also added the Wagon ID to the Wagon Properties formspec
|
| | |
|
| |
| |
| |
| | |
without LuaATC
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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>
|
| |
| |
| |
| | |
Reported by Sebastien F4GRX, thank you!
|
| |
| |
| |
| | |
Actually send aspect to advtrains.interlocking.signal_set_aspect() from LuaATC set_aspect()
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes the functioning of the LuaATC function section_occupancy in
the presence of no trains.
Currently, if there is no train in the section,
advtrains.interlocking.db.get_ts will return a table with a nil entry.
When that nil value is passed to table.copy, Minetest throws out an error.
Instead of passing nil to table.copy, just make a new empty table.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This patch fixes the following problem:
* TCB marker is not removed on TCB removal
* TCB marker is recreated on removal
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
low-level interface for departure boards
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| | |
reverse_lookup_sel() to select appropriate index out of multiple based on a heuristic
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
routes
|
| | |
|
| |
| |
| |
| | |
specify table (for advanced signals)
|
| | |
|
| |
| |
| |
| | |
wallsignals
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | | |
japan signals
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|