Commit Graph

40 Commits (master)

Author SHA1 Message Date
ywang 3c92fa597c Make train HUD check for existing speed restrictions 2021-11-07 14:06:50 +01:00
orwell96 0859e50c6e Fix manual train control 2021-02-10 18:26:53 +01:00
orwell96 17e29a2511 Make anti-LZB-flicker system work after rebase onto hud redesign 2021-02-10 17:07:38 +01:00
orwell96 fad6f88bab Fix hud and trainlogic to work together 2021-02-10 16:45:29 +01:00
orwell96 838cf61eac Make cab signalling work with renamed lzb fields 2021-02-10 16:37:21 +01:00
ywang ef21e70479 Use graphical indication for more elements; improve 7-segment display 2021-01-20 17:12:25 +01:00
ywang 371b5ac503 Use absolute positioning from the bottom of the screen 2021-01-19 16:38:20 +01:00
ywang 8655eebc5f Change color of max speed indication 2021-01-07 21:05:05 +01:00
ywang 6575b3dac7 Remove advtrains_hud_blank.png 2021-01-05 15:10:58 +01:00
ywang 741ed7b4a7 Revert to black background; use "blocks" for the (physical) maximum speed 2021-01-05 00:03:16 +01:00
ywang 501911f94c HUD improvements 2021-01-04 23:48:12 +01:00
ywang f4d193c6d1 Minor optimizations 2020-12-30 02:13:57 +01:00
ywang 846e688200 Add demo 2020-12-27 15:24:52 +01:00
ywang b74fc92f81 Minor improvements for speed indicator 2020-12-23 21:20:31 +01:00
ywang 5a0a6fa96d Minor improvements 2020-12-23 11:29:07 +01:00
ywang f4e2277f32 Improve speed indication 2020-12-23 11:14:18 +01:00
ywang 749edd62d1 Improved HUD textures 2020-12-23 10:35:16 +01:00
ywang 0395e81b79 HUD improvements 2020-12-22 23:15:04 +01:00
ywang 5659134c8c Improved speed indication
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)
2020-12-19 19:40:13 +01:00
ywang d6acadf018 Use PNG textures for the indication of reverser, lever, control mode, shunt mode, and doors 2020-12-19 18:15:02 +01:00
ywang a88e5aad64 Redesign train HUD
Some train HUD elements _might_ be replaced in the future.
2020-12-19 13:32:38 +01:00
Gabriel Pérez-Cerezo ae79af604c display oncoming lzb speed restrictions in HUD 2020-06-14 12:02:48 +02:00
orwell96 56a105dd2e Restore old door status display behavior 2019-03-09 09:58:17 +01:00
orwell96 c3c5431412 Shunt signals (not exactly Ks), along with fixes in other components that those rely on 2018-12-08 17:12:57 +01:00
orwell96 37166b5c14 Make "Line" property accessible from OBC and gettable via LATC, change subway wagon texture handling 2018-11-20 11:57:46 +01:00
orwell96 267ce6fe6d Prevent any user control except "Brake" when an ATC override is present
Solves the problem of accidentally breaking atc-driven trains
2018-10-17 19:10:37 +02:00
orwell96 b4534c6f12 Improve ATC-LZB-User control interaction, smoothen LZB control operations
(prevent flickering view when atc battles against lzb)
2018-10-17 18:58:57 +02:00
orwell96 11fe530e18 Properly handle speed restrictions 2018-10-10 23:31:12 +02:00
orwell96 9db52bcd32 Remote Routesetting from Onboard Computer
+ Fix lzb oncoming item deletion/speed restriction
2018-10-10 23:17:31 +02:00
orwell96 33c839b40d Add signal safety control override, restructure control system 2018-10-10 21:49:52 +02:00
orwell96 caf2bda7bc Fix path_dir to actually be an angle, path item deletion and orientation of 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)
2018-06-14 17:39:42 +02:00
orwell96 139a26fccc Bugfixes part 1
There's something wrong with the new paths, next time build a path validity checker to trace the issue
2018-06-14 17:39:42 +02:00
orwell96 30e98520e7 Occupation System, new train steps, still incomplete 2018-06-14 17:39:42 +02:00
orwell96 1f26781b6a Change controls for trains (again) 2018-01-07 20:41:48 +01:00
orwell96 6ade65b6d6 Merge remote-tracking branch 'lemon-melon-repo/master' 2017-10-11 12:32:23 +02:00
rubenwardy d65c4916ce Remove zip release files, move mod to root, exclude assets from Makefile (#92) 2017-09-20 18:05:04 +02:00
orwell96 2d0b51b897 Restructure mod directory 2017-01-04 19:10:03 +01:00
orwell96 853a9e690e Add Automatic Train Control system 2017-01-04 12:02:00 +01:00
orwell96 d08e202346 remove train type concept and calculate train's capabilities based on used wagons 2016-12-22 18:55:10 +01:00
orwell96 f806ed9eee Turning mod into a modpack and separating the trains from the core mod 2016-12-20 14:17:39 +01:00