diff options
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 */ |