drawNext系列函数整理合并(略微牺牲性能),玩家用的绘制函数完全放入draw.lua

游戏参数新增holdMode
默认'hold'为普通hold模式
'swap'为跟next第一个交换(跟物理hold/多hold均兼容)
This commit is contained in:
MrZ626
2021-09-24 13:35:17 +08:00
parent 9fa4b97e5e
commit 4f939d7ea4
15 changed files with 250 additions and 209 deletions

View File

@@ -86,7 +86,7 @@ local function _parseNotice(str)
str[m:sub(1,m:find("=")-1)]=m:sub(m:find("=")+1)
end
end
return str[SETTING.locale]or str[1]
return str[SETTING.locale]or str[SETTING.locale:find'zh'and'zh'or'en']
else
return str
end