diff options
author | Paul Gilbert | 2008-01-05 11:24:37 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-01-05 11:24:37 +0000 |
commit | 9e02b32220b6331b5a7280d563c58c652a1adc66 (patch) | |
tree | 5a77426d3b0ab610e79c795027bdd11c1adceb6a /engines | |
parent | 735ea1eaaae1036771f858fa5656f2ce71ba8e9d (diff) | |
download | scummvm-rg350-9e02b32220b6331b5a7280d563c58c652a1adc66.tar.gz scummvm-rg350-9e02b32220b6331b5a7280d563c58c652a1adc66.tar.bz2 scummvm-rg350-9e02b32220b6331b5a7280d563c58c652a1adc66.zip |
Made standard EGA background colour a constant
svn-id: r30233
Diffstat (limited to 'engines')
-rw-r--r-- | engines/lure/luredefs.h | 1 | ||||
-rw-r--r-- | engines/lure/surface.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/lure/luredefs.h b/engines/lure/luredefs.h index 8345f0c0b1..a8af495bb4 100644 --- a/engines/lure/luredefs.h +++ b/engines/lure/luredefs.h @@ -192,6 +192,7 @@ enum CursorType {CURSOR_ARROW = 0, CURSOR_DISK = 1, CURSOR_TIME_START = 2, #define EGA_DIALOG_WHITE_COLOUR 2 #define VGA_DIALOG_TEXT_COLOUR 0xe2 #define VGA_DIALOG_WHITE_COLOUR 0xe3 +#define EGA_DIALOG_BG_COLOUR 13 #define INFO_DIALOG_X 69 #define INFO_DIALOG_Y 61 #define INFO_DIALOG_WIDTH 191 diff --git a/engines/lure/surface.cpp b/engines/lure/surface.cpp index 99de61724e..0ed2caba19 100644 --- a/engines/lure/surface.cpp +++ b/engines/lure/surface.cpp @@ -127,7 +127,7 @@ void Surface::egaCreateDialog(bool blackFlag) { byte lineColours2[3] = {7, 0, 12}; // Surface contents - data().setBytes(blackFlag ? 0 : 13, 0, data().size()); + data().setBytes(blackFlag ? 0 : EGA_DIALOG_BG_COLOUR, 0, data().size()); // Top/bottom lines for (int y = 2; y >= 0; --y) { |