diff options
author | Paul Gilbert | 2010-06-20 07:04:58 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-06-20 07:04:58 +0000 |
commit | fcdb7807a456f5a6cb94932977a1b0e4f0e11089 (patch) | |
tree | b34c46eae56a405dbe0f3ec6d62af1fbc3202916 /engines/m4/graphics.h | |
parent | d6cd656f15aed3ac3b8428442f9397944e6b2c85 (diff) | |
download | scummvm-rg350-fcdb7807a456f5a6cb94932977a1b0e4f0e11089.tar.gz scummvm-rg350-fcdb7807a456f5a6cb94932977a1b0e4f0e11089.tar.bz2 scummvm-rg350-fcdb7807a456f5a6cb94932977a1b0e4f0e11089.zip |
Implemented explicit transparency index support - the previous hardcoded index of 0 wasn't correct, since some sprites need that index
svn-id: r50070
Diffstat (limited to 'engines/m4/graphics.h')
-rw-r--r-- | engines/m4/graphics.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h index 24c0edf223..96cd039e27 100644 --- a/engines/m4/graphics.h +++ b/engines/m4/graphics.h @@ -40,6 +40,7 @@ namespace M4 { #define MADS_SCREEN_HEIGHT 200 #define MADS_Y_OFFSET ((MADS_SCREEN_HEIGHT - MADS_SURFACE_HEIGHT) / 2) +#define TRANSPARENT_COLOUR_INDEX 0xFF struct BGR8 { uint8 b, g, r; |