more theme tidying. hopefully get this better running for saner people.

This commit is contained in:
Jonathan Payne
2011-07-19 17:09:43 -07:00
parent c14dfd767c
commit 1d557bf968
16 changed files with 50 additions and 32 deletions
+5 -4
View File
@@ -6,6 +6,7 @@ Color = {
-- These colors are pure swatch colors and are here purely to be used
-- on demand without having to type color("stuff") or dig through
-- a palette to get the color you want.
__call(_color) = function(self, _color) return self[_color] end,
Black = color("0,0,0,1"),
White = color("1,1,1,1"),
Red = color("#ed1c24"),
@@ -31,7 +32,7 @@ Color = {
end
}
-- Remapped Color Module, since some themes are crazy
Colors = Color;
-- Colors = Color;
GameColor = {
PlayerColors = {
@@ -95,9 +96,9 @@ GameColor.Difficulty["Nightmare"] = GameColor.Difficulty["Challenge"];
GameColor.Difficulty["HalfDouble"] = GameColor.Difficulty["Medium"];
--[[ Fallbacks ]]
function Color(c)
return Colors[c]
end
function Color( in_c )
return __call(in_c)
end --]]
function BoostColor( cColor, fBoost )
local c = cColor