Move Routine noteskin selection to lua.

Only dance mode's skins are definite for now.
This commit is contained in:
Jason Felds
2010-12-29 19:03:37 -05:00
parent fd1024db48
commit bbee5633a9
2 changed files with 28 additions and 2 deletions
+26
View File
@@ -147,6 +147,32 @@ function FailCombo()
return Combo[sGame] return Combo[sGame]
end end
function RoutineSkinP1()
sGame = GAMESTATE:GetCurrentGame():GetName()
local Combo = {
dance = "midi-routine-p1",
pump = "default",
beat = "default",
kb7 = "default",
para = "default",
guitar = "default"
}
return Combo[sGame]
end
function RoutineSkinP2()
sGame = GAMESTATE:GetCurrentGame():GetName()
local Combo = {
dance = "midi-routine-p2",
pump = "simple",
beat = "default",
kb7 = "retrobar",
para = "default",
guitar = "default"
}
return Combo[sGame]
end
-- todo: use tables for some of these -aj -- todo: use tables for some of these -aj
function HoldTiming() function HoldTiming()
if GAMESTATE:GetCurrentGame():GetName() == "pump" then if GAMESTATE:GetCurrentGame():GetName() == "pump" then
+2 -2
View File
@@ -867,8 +867,8 @@ Bar4thAlpha=1
Bar8thAlpha=1 Bar8thAlpha=1
Bar16thAlpha=1 Bar16thAlpha=1
# #
RoutineNoteSkinP1="midi-routine-p1" RoutineNoteSkinP1=RoutineSkinP1()
RoutineNoteSkinP2="midi-routine-p2" RoutineNoteSkinP2=RoutineSkinP2()
[PlayerStageStats] [PlayerStageStats]
# Original CVS Grading # Original CVS Grading