gameplay cleanup

This commit is contained in:
Chris Danford
2008-03-28 09:36:33 +00:00
parent 1666a53af8
commit 79bb6f677e
3 changed files with 13 additions and 2 deletions
@@ -34,6 +34,14 @@ function DifficultyDisplayTypeToColor( ddt )
return color("#000000");
end
function DifficultyDisplayTypeToDarkColor( ddt )
local c = DifficultyDisplayTypeToColor(ddt);
c[1] = c[1]/2;
c[2] = c[2]/2;
c[3] = c[3]/2;
return c;
end
function CourseDifficutlyToColor( cd )
local c = CourseDifficultyColors[cd]
if c then return c end