Theme changes to make other gametypes play nice

This commit is contained in:
AJ Kelly
2010-01-29 21:16:55 -06:00
parent 86ef773c27
commit 7f2330d8d5
2 changed files with 33 additions and 9 deletions
@@ -124,7 +124,7 @@ function pname(pn) return ToEnumShortString(pn); end;
--[[ end helper functions ]]
-- this code is in the public domain.
--[[ Lists & Functions ]]
--[[ Lists & Functions (sm-ssc specific code) ]]
function GameCompatibleModes()
sGame = GAMESTATE:GetCurrentGame():GetName();
@@ -137,4 +137,28 @@ function GameCompatibleModes()
lights = "Single", -- lights shouldn't be playable
};
return Modes[sGame];
end
end
function ComboContinue()
sGame = GAMESTATE:GetCurrentGame():GetName();
local Continue = {
dance = GAMESTATE:GetPlayMode() == "PlayMode_Oni" and "TapNoteScore_W2" or "TapNoteScore_W3",
pump = "TapNoteScore_W4",
beat = "TapNoteScore_W3",
kb7 = "TapNoteScore_W3",
para = "TapNoteScore_W4",
};
return Continue[sGame]
end;
function ComboMaintain()
sGame = GAMESTATE:GetCurrentGame():GetName();
local Maintain = {
dance = "TapNoteScore_W3",
pump = "TapNoteScore_W4",
beat = "TapNoteScore_W3",
kb7 = "TapNoteScore_W3",
para = "TapNoteScore_W4",
};
return Maintain[sGame]
end;