修改模式地图评级文本
This commit is contained in:
@@ -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="已复制到剪切板",
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user