Midi changed the player colors

This commit is contained in:
AJ Kelly
2010-04-28 09:37:07 -05:00
parent d680bdad85
commit 614cef0b87
+10 -4
View File
@@ -161,6 +161,12 @@ Color = {
}; };
-- Remapped Color Module, since some themes are crazy -- Remapped Color Module, since some themes are crazy
Colors = Color; Colors = Color;
local PlayerColors = {
PLAYER_1 = color("#ef403d"),
PLAYER_2 = color("#0089cf"),
};
local DifficultyColors = { local DifficultyColors = {
--[[ These are for 'Custom' Difficulty Ranks. It can be very useful --[[ These are for 'Custom' Difficulty Ranks. It can be very useful
in some cases, especially to apply new colors for stuff you in some cases, especially to apply new colors for stuff you
@@ -234,13 +240,13 @@ function ColorDarkTone(c)
end; end;
function PlayerColor( pn ) function PlayerColor( pn )
if pn == PLAYER_1 then return Colors.Player['P1'] end -- pink-red if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
if pn == PLAYER_2 then return Colors.Player['P2'] end -- sea-blue if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
return color("1,1,1,1") return color("1,1,1,1")
end end
function PlayerScoreColor( pn ) function PlayerScoreColor( pn )
if pn == PLAYER_1 then return Colors.Player['P1'] end -- pink-red if pn == PLAYER_1 then return color("#ef403d") end -- pink-red
if pn == PLAYER_2 then return Colors.Player['P2'] end -- sea-blue if pn == PLAYER_2 then return color("#0089cf") end -- sea-blue
return color("1,1,1,1") return color("1,1,1,1")
end end