split trick on powcols, save more tokens
This commit is contained in:
parent
43e6160dbc
commit
5591068f1d
@ -245,6 +245,7 @@ function drawgame()
|
|||||||
drawhud()
|
drawhud()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
powcols=split"170,154,153,148,68"
|
||||||
function drawhud()
|
function drawhud()
|
||||||
-- 112-and-right is hud zone
|
-- 112-and-right is hud zone
|
||||||
rectfill(112, 0, 127, 127,0x56)
|
rectfill(112, 0, 127, 127,0x56)
|
||||||
@ -258,7 +259,7 @@ function drawhud()
|
|||||||
dropshadow("pwr",114,59,1)
|
dropshadow("pwr",114,59,1)
|
||||||
inset(114,66,125,92)
|
inset(114,66,125,92)
|
||||||
fillp(0x5a5a)
|
fillp(0x5a5a)
|
||||||
vertmeter(115,67,124,91,primary_ship.power, primary_ship.max_power, {170,154,153,148,68})
|
vertmeter(115,67,124,91,primary_ship.power, primary_ship.max_power, powcols)
|
||||||
|
|
||||||
|
|
||||||
dropshadow("h s",114,97,1)
|
dropshadow("h s",114,97,1)
|
||||||
|
Loading…
Reference in New Issue
Block a user