新增BGM:sugar fairy,修改newera文件名,三个音频模块的加载表移至模块外

This commit is contained in:
MrZ626
2020-11-15 17:34:59 +08:00
parent 1fb50e3f4e
commit 234ee0c4d1
11 changed files with 76 additions and 62 deletions

View File

@@ -3,15 +3,6 @@ local rem=table.remove
local voiceQueue={free=0}
local bank={}--{vocName1={SRC1s},vocName2={SRC2s},...}
local VOC={}
VOC.name={
"zspin","sspin","lspin","jspin","tspin","ospin","ispin",
"single","double","triple","techrash",
"mini","b2b","b3b",
"perfect_clear","half_clear",
"win","lose","bye",
"test","happy","doubt","sad","egg",
"welcome_voc",
}
VOC.list={}
local function loadVoiceFile(N,vocName)
@@ -22,6 +13,11 @@ local function loadVoiceFile(N,vocName)
return true
end
end
function VOC.set(L)
VOC.name=L
VOC.len=#L
end
function VOC.loadOne(name)
local N=VOC.name[name]
VOC.list[N]={}