- gauge breakpoint for excessive rate in result

This commit is contained in:
FajsiEx 2021-08-18 15:12:50 +02:00
parent 65e3e5d0a5
commit 960c9fdfd3
1 changed files with 14 additions and 10 deletions

View File

@ -286,7 +286,6 @@ local drawRightPanelContent = function()
elseif result.gauge_type == 1 then elseif result.gauge_type == 1 then
gaugeFillImage = gaugeExcFillImage; gaugeFillImage = gaugeExcFillImage;
gaugeBreakpoint = 0.3;
elseif result.gauge_type == 2 then elseif result.gauge_type == 2 then
gaugeFillImage = gaugePermFillImage; gaugeFillImage = gaugePermFillImage;
elseif result.gauge_type == 3 then -- BLASTIVE RATE elseif result.gauge_type == 3 then -- BLASTIVE RATE
@ -399,6 +398,20 @@ local drawBottomPanelContent = function (deltatime)
-- Draw IR text -- Draw IR text
gfx.FontSize(22) gfx.FontSize(22)
gfx.Text(irText, bottomPanelX+80, bottomPanelY+461); gfx.Text(irText, bottomPanelX+80, bottomPanelY+461);
-- Draw median and mean hit delta
local leftX = bottomPanelX+600
local rightX = bottomPanelX+900
local baseY = bottomPanelY+440
local detailTextMargin = 25
gfx.FontSize(20)
gfx.Text('Median hit delta', leftX, baseY);
gfx.Text('Mean hit delta', leftX, baseY+detailTextMargin);
gfx.TextAlign(gfx.TEXT_ALIGN_RIGHT + gfx.TEXT_ALIGN_MIDDLE)
gfx.Text(result.medianHitDelta, rightX, baseY);
gfx.Text(result.meanHitDelta, rightX, baseY+detailTextMargin);
end end
local drawJacketPanel = function() local drawJacketPanel = function()
@ -516,15 +529,6 @@ result_set = function()
end end
earlyLateBarsStats.criticals = result.perfects -- Criticals are for all objects earlyLateBarsStats.criticals = result.perfects -- Criticals are for all objects
-- misses on LONGs or LAZERs are automatically late errors
-- so we add errors that are not ealy or late to late errors
-- earlyLateBarsStats.lateErrors = earlyLateBarsStats.lateErrors +
-- (result.misses -
-- earlyLateBarsStats.lateErrors -
-- earlyLateBarsStats.earlyErrors)
-- criticals are same for all objects so we just copy them from results
end end
render = function(deltaTime, showStats) render = function(deltaTime, showStats)