From e82153a87a7562c542ece0afdef84a2ec5974cc0 Mon Sep 17 00:00:00 2001 From: ywang Date: Sun, 1 Aug 2021 17:27:06 +0200 Subject: (Discussion needed) Use Unifont --- advtrains/textures/advtrains_hud_atc.png | Bin 528 -> 122 bytes advtrains/textures/advtrains_hud_lzb.png | Bin 398 -> 125 bytes advtrains/textures/advtrains_hud_shunt.png | Bin 476 -> 145 bytes 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 index e033653..7fd492a 100644 Binary files a/advtrains/textures/advtrains_hud_atc.png and b/advtrains/textures/advtrains_hud_atc.png differ diff --git a/advtrains/textures/advtrains_hud_lzb.png b/advtrains/textures/advtrains_hud_lzb.png index e1b5f70..8e4004d 100644 Binary files a/advtrains/textures/advtrains_hud_lzb.png and b/advtrains/textures/advtrains_hud_lzb.png differ diff --git a/advtrains/textures/advtrains_hud_shunt.png b/advtrains/textures/advtrains_hud_shunt.png index f4d27a5..84f5c31 100644 Binary files a/advtrains/textures/advtrains_hud_shunt.png and b/advtrains/textures/advtrains_hud_shunt.png differ 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 -- cgit v1.2.3