HP/XP labels look much better and correctly-associated now

This commit is contained in:
Kistaro Windrider 2024-10-27 13:16:37 -07:00
parent 39d53c45aa
commit 1a7bc7094e
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -342,9 +342,9 @@ function drawhud()
inset(114,57,119,118)
rectfill(119,57,124,58,13)
inset(120,64,125,125)
rectfill(114,124,120,125,13)
print("XP",119,56,2)
print("HP",114,121,2)
rectfill(114,124,120,125,7)
print("XP",119,55,1)
print("HP",114,122,1)
fillp(0x5a5a)
vertmeter(115,58,118,117,primary_ship.xp, primary_ship.xptarget, powcols)
-- 59 px vertically
@ -409,7 +409,7 @@ function inset(x0,y0,x1,y1)
-- fillp
rect(x0,y0,x1,y1,119)
line(x1,y0,x0,y0,85)
line(x0,y1,85)
line(x0,y1-1,85)
end
function dropshadow(str, x, y, col)