From 2a4f8d956ad29dd32098b33bb63308eb70e3c1fc Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Fri, 3 Apr 2009 19:56:06 +0000 Subject: [PATCH] fix too large combo numbers, fix goofy percent score formatting --- .../ScreenEvaluationStage decorations/default.lua | 7 ++++--- stepmania/Themes/default/metrics.ini | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/stepmania/Themes/default/BGAnimations/ScreenEvaluationStage decorations/default.lua b/stepmania/Themes/default/BGAnimations/ScreenEvaluationStage decorations/default.lua index ce2a057064..8901090cd7 100644 --- a/stepmania/Themes/default/BGAnimations/ScreenEvaluationStage decorations/default.lua +++ b/stepmania/Themes/default/BGAnimations/ScreenEvaluationStage decorations/default.lua @@ -53,9 +53,10 @@ if ShowStandardDecoration("ItsARecord") then local pSteps = GAMESTATE:GetCurrentSteps(pn); local hsl = PROFILEMAN:GetMachineProfile():GetHighScoreList(pSongOrCourse,pSteps); - local hsName = hsl:GetHighScores()[1]:GetName(); - local hsPerc = math.floor( hsl:GetHighScores()[1]:GetPercentDP() * 10000 ) / 100; - --hsl:GetHighScores()[1]:GetName GetScore GetPercentDP + local hs = hsl:GetHighScores()[1] + local hsName = hs:GetName(); + local hsPerc = FormatPercentScore( hs:GetPercentDP() ); + if index == 0 then self:GetChild("Record"):visible( true ); self:GetChild("NoRecord"):visible( false ); diff --git a/stepmania/Themes/default/metrics.ini b/stepmania/Themes/default/metrics.ini index 6b9dae88cd..4de7a8abd6 100644 --- a/stepmania/Themes/default/metrics.ini +++ b/stepmania/Themes/default/metrics.ini @@ -2319,9 +2319,9 @@ HoldJudgmentHeldCommand=shadowlength,0;diffusealpha,1;zoom,1.25;linear,0.3;zoomx ShowComboAt=2 LabelOnCommand=x,SCREEN_CENTER_X-314;y,SCREEN_CENTER_Y-220;shadowlength,0;horizalign,left;vertalign,bottom NumberOnCommand=y,SCREEN_CENTER_Y-216;shadowlength,0;horizalign,right;vertalign,bottom -NumberMinZoom=0.5 -NumberMaxZoom=0.8 -NumberMaxZoomAt=200 +NumberMinZoom=0.4 +NumberMaxZoom=0.6 +NumberMaxZoomAt=150 PulseCommand=%function(self,param) self:stoptweening(); self:zoom(1.2*param.Zoom); self:linear(0.05); self:zoom(param.Zoom); end [Player]