modeData地位提升,模式环境变量target移入其中,大规模整理代码,可读性增强

This commit is contained in:
MrZ626
2021-03-23 19:11:05 +08:00
parent ac8a41004b
commit 374f2ab779
76 changed files with 356 additions and 373 deletions

View File

@@ -1,6 +1,4 @@
local gc=love.graphics
local int=math.floor
local sin,log=math.sin,math.log10
local format=string.format
@@ -251,7 +249,7 @@ function scene.draw()
if M.sel>0 then
_=M.color
gc.setColor(_[1],_[2],_[3],T)
mStr(M.id,810+M.no%8*60,560+int(M.no/8)*45)
mStr(M.id,810+M.no%8*60,560+math.floor(M.no/8)*45)
end
end
end