diff options
author | frosch <frosch@openttd.org> | 2011-05-04 17:45:16 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-05-04 17:45:16 +0000 |
commit | 22286bd7b6ece453e449f9b9f9f360484925457c (patch) | |
tree | 6827e0912689694ba65e13df1b125458458faaa5 /src/gfx_func.h | |
parent | bfb419f9d81bbbf9435fcc0848480f4a3e38c138 (diff) | |
download | openttd-22286bd7b6ece453e449f9b9f9f360484925457c.tar.xz |
(svn r22421) -Fix: Replace various references to Windows palette greyscale indices with the DOS palette indices.
Diffstat (limited to 'src/gfx_func.h')
-rw-r--r-- | src/gfx_func.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gfx_func.h b/src/gfx_func.h index cfedd74c1..a0beed105 100644 --- a/src/gfx_func.h +++ b/src/gfx_func.h @@ -182,4 +182,11 @@ extern byte _colour_gradient[COLOUR_END][8]; extern bool _palette_remap_grf[]; +/** + * Return the colour for a particular greyscale level. + * @param level Intensity, 0 = black, 15 = white + * @return colour + */ +#define GREY_SCALE(level) (level) + #endif /* GFX_FUNC_H */ |