aboutsummaryrefslogtreecommitdiff
path: root/advtrains/spec/texture_spec.lua
Commit message (Collapse)AuthorAge
* 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>