Skip to content

Commit

Permalink
remove dp from score displays and random test garbage that was left over
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 1, 2017
1 parent 23f847d commit 8936fcf
Showing 1 changed file with 4 additions and 87 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,20 +116,6 @@ t[#t+1] = LoadFont("Common Large")..{
ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
}

-- DP display
t[#t+1] = LoadFont("Common Normal")..{
Name="Score",
InitCommand=cmd(xy,frameX+offsetX+55,frameY+offsetY+14;zoom,0.5;halign,0),
SetCommand=function(self)
if score ~= nil then
self:settextf("%05.2f%% (%s)",score:GetPercentDP()*100, scoringToText(1))
else
self:settextf("00.00%% (%s)", scoringToText(1))
end
end,
ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
}

-- Wife display
t[#t+1] = LoadFont("Common Normal")..{
Name="Score",
Expand Down Expand Up @@ -168,90 +154,21 @@ t[#t+1] = LoadFont("Common Normal")..{

-- t[#t+1] = LoadFont("Common Normal")..{
-- Name="Score",
-- InitCommand=cmd(xy,frameX+offsetX+155,frameY+offsetY+28;zoom,0.5;halign,0),
-- InitCommand=cmd(xy,frameX+offsetX+155,frameY+offsetY+58;zoom,0.5;halign,0),
-- SetCommand=function(self)
-- if score ~= nil then
-- if score:GetWifeScore() == 0 then
-- self:settextf("NA (%s)", "Wife")
-- self:settext("")
-- else
-- self:settextf("%05.2f%% (%s)", notShit.floor(score:RescoreToDPJudge(4)*10000)/100, "DP J4")
-- self:settextf("%5.2f", score:GetSkillsetSSR(5))
-- end
-- else
-- self:settextf("00.00%% (%s)", "Wife")
-- self:settext("")
-- end
-- end,
-- ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
-- }

-- SSR displays
t[#t+1] = LoadFont("Common Normal")..{
Name="Score",
InitCommand=cmd(xy,frameX+offsetX+155,frameY+offsetY+28;zoom,0.5;halign,0),
SetCommand=function(self)
if score ~= nil then
if score:GetWifeScore() == 0 then
self:settext("")
else
self:settextf("%5.2f", score:GetSkillsetSSR(2))
end
else
self:settext("")
end
end,
ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
}

t[#t+1] = LoadFont("Common Normal")..{
Name="Score",
InitCommand=cmd(xy,frameX+offsetX+155,frameY+offsetY+38;zoom,0.5;halign,0),
SetCommand=function(self)
if score ~= nil then
if score:GetWifeScore() == 0 then
self:settext("")
else
self:settextf("%5.2f", score:GetSkillsetSSR(3))
end
else
self:settext("")
end
end,
ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
}

t[#t+1] = LoadFont("Common Normal")..{
Name="Score",
InitCommand=cmd(xy,frameX+offsetX+155,frameY+offsetY+48;zoom,0.5;halign,0),
SetCommand=function(self)
if score ~= nil then
if score:GetWifeScore() == 0 then
self:settext("")
else
self:settextf("%5.2f", score:GetSkillsetSSR(4))
end
else
self:settext("")
end
end,
ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
}

t[#t+1] = LoadFont("Common Normal")..{
Name="Score",
InitCommand=cmd(xy,frameX+offsetX+155,frameY+offsetY+58;zoom,0.5;halign,0),
SetCommand=function(self)
if score ~= nil then
if score:GetWifeScore() == 0 then
self:settext("")
else
self:settextf("%5.2f", score:GetSkillsetSSR(5))
end
else
self:settext("")
end
end,
ScoreUpdateMessageCommand=cmd(queuecommand,"Set")
}

t[#t+1] = LoadFont("Common Normal")..{
Name="ClearType",
InitCommand=cmd(xy,frameX+offsetX,frameY+offsetY+41;zoom,0.5;halign,0);
Expand Down

0 comments on commit 8936fcf

Please sign in to comment.