diff options
author | ywang <yw05@forksworld.de> | 2021-08-01 17:27:06 +0200 |
---|---|---|
committer | Y. Wang <yw05@forksworld.de> | 2022-03-12 18:23:30 +0100 |
commit | e82153a87a7562c542ece0afdef84a2ec5974cc0 (patch) | |
tree | 7ca7062acd03278b063a0ed66cb723c39119290f | |
parent | 135d5fb4d14d1adc889b10886556f16a821d34f4 (diff) | |
download | advtrains-e82153a87a7562c542ece0afdef84a2ec5974cc0.tar.gz advtrains-e82153a87a7562c542ece0afdef84a2ec5974cc0.tar.bz2 advtrains-e82153a87a7562c542ece0afdef84a2ec5974cc0.zip |
(Discussion needed) Use Unifont
-rw-r--r-- | advtrains/textures/advtrains_hud_atc.png | bin | 528 -> 122 bytes | |||
-rw-r--r-- | advtrains/textures/advtrains_hud_lzb.png | bin | 398 -> 125 bytes | |||
-rw-r--r-- | advtrains/textures/advtrains_hud_shunt.png | bin | 476 -> 145 bytes | |||
-rw-r--r-- | advtrains/trainhud.lua | 8 |
4 files changed, 4 insertions, 4 deletions
diff --git a/advtrains/textures/advtrains_hud_atc.png b/advtrains/textures/advtrains_hud_atc.png Binary files differindex e033653..7fd492a 100644 --- a/advtrains/textures/advtrains_hud_atc.png +++ b/advtrains/textures/advtrains_hud_atc.png diff --git a/advtrains/textures/advtrains_hud_lzb.png b/advtrains/textures/advtrains_hud_lzb.png Binary files differindex e1b5f70..8e4004d 100644 --- a/advtrains/textures/advtrains_hud_lzb.png +++ b/advtrains/textures/advtrains_hud_lzb.png diff --git a/advtrains/textures/advtrains_hud_shunt.png b/advtrains/textures/advtrains_hud_shunt.png Binary files differindex f4d27a5..84f5c31 100644 --- a/advtrains/textures/advtrains_hud_shunt.png +++ b/advtrains/textures/advtrains_hud_shunt.png diff --git a/advtrains/trainhud.lua b/advtrains/trainhud.lua index 6ba4c49..139071d 100644 --- a/advtrains/trainhud.lua +++ b/advtrains/trainhud.lua @@ -312,15 +312,15 @@ function advtrains.hud.dgraphical(train, flip) ht[#ht+1] = sformat("240,%s=(advtrains_hud_bg.png^[resize\\:25x15^[colorize\\:gray)", flip and 65 or 30) -- train control/safety indication if train.tarvelocity or train.atc_command then - ht[#ht+1] = "10,10=(advtrains_hud_atc.png^[resize\\:30x30^[multiply\\:cyan)" + ht[#ht+1] = "10,10=(advtrains_hud_atc.png^[multiply\\:cyan)" end if train.hud_lzb_effect_tmr then - ht[#ht+1] = "50,10=(advtrains_hud_lzb.png^[resize\\:30x30^[multiply\\:red)" + ht[#ht+1] = "45,10=(advtrains_hud_lzb.png^[multiply\\:red)" end if train.is_shunt then - ht[#ht+1] = "90,10=(advtrains_hud_shunt.png^[resize\\:30x30^[multiply\\:orange)" + ht[#ht+1] = "80,10=(advtrains_hud_shunt.png^[multiply\\:orange)" end - ht[#ht+1] = advtrains.hud.door(train.door_open, 170, 10, 60, 30, 2) + ht[#ht+1] = advtrains.hud.door(train.door_open, 165, 10, 60, 30, 2) -- speed indications ht[#ht+1] = advtrains.hud.number(vel, 2, 320, 10, 30, 10, 10, "[colorize\\:red\\:255") for i = 1, vel, 1 do |