Merge branch 'changes-beta4' of https://github.com/Midiman/stepmania
This commit is contained in:
@@ -232,7 +232,7 @@ Branch = {
|
||||
end
|
||||
|
||||
if STATSMAN:GetStagesPlayed() == 0 then
|
||||
return "ScreenSelectPlayMode"
|
||||
return "ScreenSelectStyle"
|
||||
end
|
||||
|
||||
return "ScreenProfileLoad"
|
||||
|
||||
@@ -47,9 +47,13 @@ setmetatable(Color, { __call = function(self, c) return self[c] end })
|
||||
|
||||
GameColor = {
|
||||
PlayerColors = {
|
||||
PLAYER_1 = color("#ff4444"),
|
||||
PLAYER_1 = color("#ed5565"),
|
||||
PLAYER_2 = color("#5d9cec"),
|
||||
},
|
||||
PlayerDarkColors = {
|
||||
PLAYER_1 = color("#da4453"),
|
||||
PLAYER_2 = color("#4a89dc"),
|
||||
},
|
||||
Difficulty = {
|
||||
--[[ These are for 'Custom' Difficulty Ranks. It can be very useful
|
||||
in some cases, especially to apply new colors for stuff you
|
||||
@@ -126,13 +130,18 @@ function ColorDarkTone(c)
|
||||
end
|
||||
|
||||
function PlayerColor( pn )
|
||||
if pn == PLAYER_1 then return GameColor.PlayerColors["PLAYER_1"] end -- pink-red
|
||||
if pn == PLAYER_2 then return GameColor.PlayerColors["PLAYER_2"] end -- sea-blue
|
||||
if pn == PLAYER_1 then return GameColor.PlayerColors["PLAYER_1"] end
|
||||
if pn == PLAYER_2 then return GameColor.PlayerColors["PLAYER_2"] end
|
||||
return color("1,1,1,1")
|
||||
end
|
||||
|
||||
function PlayerScoreColor( pn )
|
||||
if pn == PLAYER_1 then return GameColor.PlayerColors["PLAYER_1"] end -- pink-red
|
||||
if pn == PLAYER_2 then return GameColor.PlayerColors["PLAYER_2"] end -- sea-blue
|
||||
return PlayerColor( pn );
|
||||
end
|
||||
|
||||
function PlayerDarkColor( pn )
|
||||
if pn == PLAYER_1 then return GameColor.PlayerDarkColors["PLAYER_1"] end
|
||||
if pn == PLAYER_2 then return GameColor.PlayerDarkColors["PLAYER_2"] end
|
||||
return color("1,1,1,1")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user