- unused code

This commit is contained in:
FajsiEx 2021-07-26 17:11:13 +02:00
parent fbe94a1414
commit e017fef0eb
1 changed files with 1 additions and 21 deletions

View File

@ -740,27 +740,7 @@ function draw_gauge(deltaTime)
-- --draw gauge % label
-- posx = posx / scale
-- posx = posx + (-20 * 0.5)
-- -- 630 = 0% position
-- height = 960 * 0.5
-- posy = posy / scale
-- tw, th = gfx.ImageSize(gaugeNumBack)
-- 80 = 100% position
-- posy = posy + (95 * 0.5) + height - height * gameplay.gauge.value
-- -- Draw the background
-- gfx.BeginPath()
-- gfx.FillColor(255, 255, 255)
-- gfx.ImageRect(posx - 44, posy - 10, tw, th, gaugeNumBack, 1, 0)
-- gfx.BeginPath()
-- gfx.FillColor(250, 228, 112)
-- draw_number(posx - 24, posy + 4, 1.0, math.floor(gameplay.gauge.value * 100), 3, numberImages, true)
-- gfx.TextAlign(gfx.TEXT_ALIGN_RIGHT + gfx.TEXT_ALIGN_MIDDLE)
-- gfx.FontSize(18)
-- gfx.Text(string.format("%d", math.floor(gameplay.gauge.value * 100)), posx, posy + 4)
-- TODO: Draw gauge % label
end
-- -------------------------------------------------------------------------- --
-- draw_combo: --