Skip to content

Commit

Permalink
update all ByMSD calls to new function name
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jul 16, 2018
1 parent 5075df2 commit 0914eee
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ function scoreBoard(pn,position)
SetCommand=function(self)
local meter = GAMESTATE:GetCurrentSteps(PLAYER_1):GetMSD(getCurRateValue(), 1)
self:settextf("%5.2f", meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
end,
};
t[#t+1] = LoadFont("Common Large")..{
Expand All @@ -153,7 +153,7 @@ function scoreBoard(pn,position)
SetCommand=function(self)
local meter = score:GetSkillsetSSR("Overall")
self:settextf("%5.2f", meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
end,
};
t[#t+1] = LoadFont("Common Large") .. {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ local t = Def.ActorFrame{
SetCommand=function(self)
local meter = GAMESTATE:GetCurrentSteps(PLAYER_1):GetMSD(getCurRateValue(),1)
self:settextf("%05.2f",meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
end,
DoneLoadingNextSongMessageCommand=function(self)
self:queuecommand("Set")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function scoreBoard(pn,position)
SetCommand=function(self)
local meter = GAMESTATE:GetCurrentSteps(PLAYER_1):GetMSD(getCurRateValue(), 1)
self:settextf("%5.2f", meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
end,
};
t[#t+1] = LoadFont("Common Large")..{
Expand All @@ -156,7 +156,7 @@ function scoreBoard(pn,position)
SetCommand=function(self)
local meter = score:GetSkillsetSSR("Overall")
self:settextf("%5.2f", meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
end,
};
t[#t+1] = LoadFont("Common Large") .. {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ local function littlebits(i)
SetCommand=function(self)
local rating = profile:GetPlayerSkillsetRating(ms.SkillSets[i])
self:settextf("%5.2f",rating)
self:diffuse(ByMSD(rating))
self:diffuse(byMSD(rating))
end
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ local function littlebits(i)
SetCommand=function(self)
if song and steps then
self:settextf("%05.2f",meter[i+1])
self:diffuse(ByMSD(meter[i+1]))
self:diffuse(byMSD(meter[i+1]))
else
self:settext("")
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ t[#t+1] = LoadFont("Common Large") .. {
self:settext("")
else
self:settextf("%05.2f",meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
end
else
self:settext("")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ local function PackLabel(i)
PacksPageMessageCommand=function(self)
local rating = packlist[i + ((currentpage - 1) * perpage)] and packlist[i + ((currentpage - 1) * perpage)]:GetAvgDifficulty() or 0
self:settextf("%.2f", rating)
self:diffuse(ByMSD(rating))
self:diffuse(byMSD(rating))
end,
UpdatePacksMessageCommand=function(self) self:queuecommand("PacksPage") end,
DlInputEndedMessageCommand=function(self) self:queuecommand("PacksPage") end,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ local function makescoregoal(i)
if sg and goalsteps then
local msd = goalsteps:GetMSD(sg:GetRate(), 1)
self:settextf("%5.1f", msd)
self:diffuse(ByMSD(msd))
self:diffuse(byMSD(msd))
self:visible(true)
else
self:visible(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ local function littlebits(i)
SetCommand=function(self)
if song and steps then
self:settextf("%05.2f",meter[i+1])
self:diffuse(ByMSD(meter[i+1]))
self:diffuse(byMSD(meter[i+1]))
else
self:settext("")
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ local function rankingLabel(i)
if chartloaded then
local rating = stepslist[i + ((currentchartpage - 1) * chartsperplaylist)]:GetMSD(chart:GetRate(),1)
self:settextf("%.2f", rating)
self:diffuse(ByMSD(rating))
self:diffuse(byMSD(rating))
else
local rating = 0
self:settextf("%.2f", rating)
Expand Down Expand Up @@ -630,7 +630,7 @@ local function PlaylistSelectLabel(i)
if allplaylists[i + ((currentplaylistpage - 1) * playlistsperpage)] then
local rating = allplaylists[i + ((currentplaylistpage - 1) * playlistsperpage)]:GetAverageRating()
self:settextf("%.2f", rating)
self:diffuse(ByMSD(rating))
self:diffuse(byMSD(rating))
end
end
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ local function littlebits(i)
rating = DLMAN:GetSkillsetRating(ms.SkillSets[i])
self:settextf("%5.2f(#%i)",rating, DLMAN:GetSkillsetRank(ms.SkillSets[i]))
end
self:diffuse(ByMSD(rating))
self:diffuse(byMSD(rating))
end,
UpdateRankingMessageCommand=function(self)
self:queuecommand("Set")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ local function netscoreitem(drawindex)
SetCommand=function(self)
if tmpScore then
self:settextf("%.2f",tmpScore.Overall)
self:diffuse(ByMSD(tmpScore.Overall))
self:diffuse(byMSD(tmpScore.Overall))
else
self:settext("")
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ t[#t+1] = LoadFont("Common Large") .. {
if song then
local meter = steps:GetMSD(getCurRateValue(), 1)
self:settextf("%05.2f",meter)
self:diffuse(ByMSD(meter))
self:diffuse(byMSD(meter))
else
self:settext("")
end
Expand Down

0 comments on commit 0914eee

Please sign in to comment.