lots of theme tweaks from midiman

This commit is contained in:
AJ Kelly
2010-06-25 20:52:45 -05:00
parent 8d160bdc56
commit 2512d5d8c3
7 changed files with 58 additions and 21 deletions
@@ -2,6 +2,27 @@
-- This is the sm-ssc version. You should not be using this in themes for
-- SM4 right now... We'll post an updated version soon.
--[[ Globals ]]
function IsArcade()
local sPayMode = GAMESTATE:GetCoinMode();
local bIsArcade = (sPayMode ~= 'CoinMode_Home');
return bIsArcade;
end
function IsHome()
local sPayMode = GAMESTATE:GetCoinMode();
local bIsArcade = (sPayMode == 'CoinMode_Home');
return bIsArcade;
end
function IsFreePlay()
if IsArcade() then
return (GAMESTATE:GetCoinMode() == 'CoinMode_Free');
else
return false
end
end
--[[ Aliases ]]
-- Blend Modes