fix colors can't be overridden by themes, because they're locals

This commit is contained in:
Glenn Maynard
2009-11-10 06:45:26 +00:00
parent 54ccc2e5a7
commit 2526bf141c
+5 -5
View File
@@ -11,7 +11,7 @@ function PlayerScoreColor( pn )
end
-- let driving themes override just this table
local GameCustomDifficultyColors = {
GameCustomDifficultyColors = {
Beginner = color("#ff32f8"),
Easy = color("#2cff00"),
Medium = color("#fee600"),
@@ -19,13 +19,13 @@ local GameCustomDifficultyColors = {
Challenge = color("#1cd8ff"),
};
local CommonCustomDifficultyColors = {
CommonCustomDifficultyColors = {
Edit = color("0.8,0.8,0.8,1"), -- gray
Couple = color("#ff9a00"), -- orange
Routine = color("#ff9a00"), -- orange
};
local CourseDifficultyColors = {
CourseDifficultyColors = {
Difficulty_Beginner = color("0.0,0.9,1.0,1"), -- light blue
Difficulty_Easy = color("0.9,0.9,0.0,1"), -- yellow
Difficulty_Medium = color("1.0,0.1,0.1,1"), -- light red
@@ -56,7 +56,7 @@ function StepsOrTrailToColor(StepsOrTrail)
end
local StageColors = {
StageColors = {
Stage_1st = color("#00ffc7"),
Stage_2nd = color("#58ff00"),
Stage_3rd = color("#f400ff"),
@@ -86,7 +86,7 @@ function StageToStrokeColor( stage )
end
local JudgmentLineColors = {
JudgmentLineColors = {
JudgmentLine_W1 = color("#00ffc7"),
JudgmentLine_W2 = color("#f6ff00"),
JudgmentLine_W3 = color("#00ff78"),