- gauge breakpoint for excessive rate in result
This commit is contained in:
parent
65e3e5d0a5
commit
960c9fdfd3
|
@ -286,7 +286,6 @@ local drawRightPanelContent = function()
|
|||
|
||||
elseif result.gauge_type == 1 then
|
||||
gaugeFillImage = gaugeExcFillImage;
|
||||
gaugeBreakpoint = 0.3;
|
||||
elseif result.gauge_type == 2 then
|
||||
gaugeFillImage = gaugePermFillImage;
|
||||
elseif result.gauge_type == 3 then -- BLASTIVE RATE
|
||||
|
@ -399,6 +398,20 @@ local drawBottomPanelContent = function (deltatime)
|
|||
-- Draw IR text
|
||||
gfx.FontSize(22)
|
||||
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
|
||||
|
||||
local drawJacketPanel = function()
|
||||
|
@ -516,15 +529,6 @@ result_set = function()
|
|||
end
|
||||
|
||||
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
|
||||
|
||||
render = function(deltaTime, showStats)
|
||||
|
|
Loading…
Reference in New Issue