很多全局变量名改为大写

This commit is contained in:
MrZ626
2020-10-19 01:42:27 +08:00
parent 016efe011f
commit 60c656fd38
45 changed files with 595 additions and 596 deletions

View File

@@ -80,13 +80,13 @@ function VOC.update()
end
elseif Q.s==1 then--Waiting load source
Q[1]=getVoice(Q[1])
Q[1]:setVolume(setting.voc)
Q[1]:setVolume(SETTING.voc)
Q[1]:play()
Q.s=Q[2]and 2 or 4
elseif Q.s==2 then--Playing 1,ready 2
if Q[1]:getDuration()-Q[1]:tell()<.08 then
Q[2]=getVoice(Q[2])
Q[2]:setVolume(setting.voc)
Q[2]:setVolume(SETTING.voc)
Q[2]:play()
Q.s=3
end
@@ -106,7 +106,7 @@ function VOC.update()
end
end
function VOC.play(s,chn)
if setting.voc>0 then
if SETTING.voc>0 then
local _=VOC.list[s]
if not _ then return end
if chn then