aboutsummaryrefslogtreecommitdiff
path: root/advtrains/trainhud.lua
Commit message (Collapse)AuthorAge
* Rework speed bar againY. Wang2024-10-29
|
* Rework HUD againY. Wang2024-10-27
|
* Avoid unnecessarily updating the driver HUDY. Wang2024-09-13
| | | | | This patch avoids sending the driver HUD if it contains the same text that was previously sent.
* 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>
* Make train HUD check for existing speed restrictionsywang2021-11-07
|
* Fix manual train controlorwell962021-02-10
|
* Make anti-LZB-flicker system work after rebase onto hud redesignorwell962021-02-10
|
* Fix hud and trainlogic to work togetherorwell962021-02-10
|
* Make cab signalling work with renamed lzb fieldsorwell962021-02-10
|
* Use graphical indication for more elements; improve 7-segment displayrelease-2.2.1ywang2021-01-20
|
* Use absolute positioning from the bottom of the screenywang2021-01-19
|
* Change color of max speed indicationywang2021-01-07
|
* Remove advtrains_hud_blank.pngywang2021-01-05
|
* Revert to black background; use "blocks" for the (physical) maximum speedywang2021-01-05
|
* HUD improvementsywang2021-01-04
|
* Minor optimizationsywang2020-12-30
|
* Add demoywang2020-12-27
|
* Minor improvements for speed indicatorywang2020-12-23
|
* Minor improvementsywang2020-12-23
|
* Improve speed indicationywang2020-12-23
|
* Improved HUD texturesywang2020-12-23
|
* HUD improvementsywang2020-12-22
|
* Improved speed indicationywang2020-12-19
| | | | | | | | The speed indicator is now shown on 4 lines: Line 1: ATC target speed (blue arrow pointing down) Line 2: Train velocity (black line) Line 3: Speed limit (if any) (red line) Line 4: Next speed limit (red arrow pointing up)
* Use PNG textures for the indication of reverser, lever, control mode, shunt ↵ywang2020-12-19
| | | | mode, and doors
* Redesign train HUDywang2020-12-19
| | | | Some train HUD elements _might_ be replaced in the future.
* display oncoming lzb speed restrictions in HUDGabriel Pérez-Cerezo2020-06-14
|
* Restore old door status display behaviororwell962019-03-09
|
* Shunt signals (not exactly Ks), along with fixes in other components that ↵orwell962018-12-08
| | | | those rely on
* Make "Line" property accessible from OBC and gettable via LATC, change ↵orwell962018-11-20
| | | | subway wagon texture handling
* Prevent any user control except "Brake" when an ATC override is presentorwell962018-10-17
| | | | Solves the problem of accidentally breaking atc-driven trains
* Improve ATC-LZB-User control interaction, smoothen LZB control operationsorwell962018-10-17
| | | | (prevent flickering view when atc battles against lzb)
* Properly handle speed restrictionsorwell962018-10-10
|
* Remote Routesetting from Onboard Computerorwell962018-10-10
| | | | + Fix lzb oncoming item deletion/speed restriction
* Add signal safety control override, restructure control systemorwell962018-10-10
|
* Fix path_dir to actually be an angle, path item deletion and orientation of ↵orwell962018-06-14
| | | | | | | | wagons The occupation system as it is now will change. For each position, I will save the index in the train's path, and implement a callback system. I need this because the occupation window system will not be enough to cover all use cases (e.g. to make a train stop with it's center or back at a certain position, I need 3 different brake distances, which doesn't fit into the scheme)
* Bugfixes part 1orwell962018-06-14
| | | | There's something wrong with the new paths, next time build a path validity checker to trace the issue
* Occupation System, new train steps, still incompleteorwell962018-06-14
|
* Change controls for trains (again)orwell962018-01-07
|
* Merge remote-tracking branch 'lemon-melon-repo/master'orwell962017-10-11
|\
* | Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
|/
* Restructure mod directoryorwell962017-01-04
|
* Add Automatic Train Control systemorwell962017-01-04
|
* remove train type concept and calculate train's capabilities based on used ↵orwell962016-12-22
| | | | wagons
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20