aboutsummaryrefslogtreecommitdiff
path: root/advtrains/track_reg_helper.lua
Commit message (Collapse)AuthorAge
* Fix use_texture_alpha for tracksY. Wang2024-11-11
| | | | | | | | | | | | | | | | | | 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 comment orwell96: Commit applied manually to new location in route_prog_rework, and uses clip instead of blend
* 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.