diff options
author | frosch <frosch@openttd.org> | 2011-05-07 00:22:46 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-05-07 00:22:46 +0000 |
commit | 83c5f7781048b5943c52b98396e54cef2c4bfe1e (patch) | |
tree | d6b91a75893cd9a4fd66534890f520eb4976d84a /src/gfx_func.h | |
parent | c2be206cd9955ccee155b13a396ddc42e2526885 (diff) | |
download | openttd-83c5f7781048b5943c52b98396e54cef2c4bfe1e.tar.xz |
(svn r22433) -Add/Fix: Add constants for the palette colours used in the smallmap and fix some windows palette indices.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index e864bbbb3..5e269bff7 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -190,6 +190,7 @@ extern bool _palette_remap_grf[]; #define GREY_SCALE(level) (level) static const uint8 PC_BLACK = GREY_SCALE(1); ///< Black palette colour. +static const uint8 PC_DARK_GREY = GREY_SCALE(6); ///< Dark grey palette colour. static const uint8 PC_GREY = GREY_SCALE(10); ///< Grey palette colour. static const uint8 PC_WHITE = GREY_SCALE(15); ///< White palette colour. @@ -197,6 +198,10 @@ static const uint8 PC_VERY_DARK_RED = 0xB2; ///< Almost-black red static const uint8 PC_DARK_RED = 0xB4; ///< Dark red palette colour. static const uint8 PC_RED = 0xB8; ///< Red palette colour. +static const uint8 PC_VERY_DARK_BROWN = 0x56; ///< Almost-black brown palette colour. + +static const uint8 PC_ORANGE = 0xC2; ///< Orange palette colour. + static const uint8 PC_YELLOW = 0xBF; ///< Yellow palette colour. static const uint8 PC_LIGHT_YELLOW = 0x44; ///< Light yellow palette colour. static const uint8 PC_VERY_LIGHT_YELLOW = 0x45; ///< Almost-white yellow palette colour. @@ -204,5 +209,6 @@ static const uint8 PC_VERY_LIGHT_YELLOW = 0x45; ///< Almost-white yel static const uint8 PC_GREEN = 0xD0; ///< Green palette colour. static const uint8 PC_DARK_BLUE = 0x9D; ///< Dark blue palette colour. +static const uint8 PC_LIGHT_BLUE = 0x98; ///< Light blue palette colour. #endif /* GFX_FUNC_H */ |