split trick on powcols, save more tokens
This commit is contained in:
		| @@ -245,6 +245,7 @@ function drawgame() | ||||
|  drawhud() | ||||
| end | ||||
|  | ||||
| powcols=split"170,154,153,148,68" | ||||
| function drawhud() | ||||
|  -- 112-and-right is hud zone | ||||
|  rectfill(112, 0, 127, 127,0x56) | ||||
| @@ -258,7 +259,7 @@ function drawhud() | ||||
|  dropshadow("pwr",114,59,1) | ||||
|  inset(114,66,125,92) | ||||
|  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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user