修改模式地图评级文本

This commit is contained in:
MrZ626
2020-10-18 11:47:16 +08:00
parent 43d747d421
commit 565f2afae7
2 changed files with 5 additions and 8 deletions

View File

@@ -633,7 +633,7 @@ local langList={
recSavingError="纪录保存失败:",
switchSpawnSFX="请开启方块出生音效",
getRank="本局评级:",
ranks={"","","","",""},
ranks={"","","","",""},
needRestart="重新开始以生效",
copySuccess="已复制到剪切板",
@@ -2380,7 +2380,7 @@ local langList={
recSavingError="纪录保存失败:",
switchSpawnSFX="请开启方块出生音效",
getRank="本局评级:",
ranks={"D","C","B","A","S"},
ranks={"","","","",""},
needRestart="重新开始以生效",
copySuccess="已复制到剪切板",

View File

@@ -615,9 +615,6 @@ do--mode
end
end
local rankString={
"D","C","B","A","S",
}
local modeRankColor={
color.dRed, --D
color.dOrange, --C
@@ -636,7 +633,6 @@ do--mode
gc.scale(cam.k1)
local R=modeRanks
local sel=cam.sel
setFont(30)
--Draw lines connecting modes
gc.setLineWidth(8)
@@ -650,6 +646,7 @@ do--mode
end
end
setFont(60)
for name,M in next,Modes do
if R[name]then
local S=M.size
@@ -685,10 +682,10 @@ do--mode
gc.circle("line",M.x,M.y,S,8)
end
end
name=drawableText[rankString[R[M.name]]]
name=text.ranks[R[M.name]]
if name then
gc.setColor(0,0,0,.26)
mDraw(name,M.x,M.y)
mStr(name,M.x,M.y-40)
end
--[[
if M.icon then