diff options
author | Paul Gilbert | 2012-09-15 21:42:20 +1000 |
---|---|---|
committer | Paul Gilbert | 2012-09-15 21:42:20 +1000 |
commit | e02e950a40a5abbef9f53569d99b66af6dc30345 (patch) | |
tree | 9cb982c666beb6b88fbe40a2b226bbb87cfbcfc7 /engines/hopkins/graphics.h | |
parent | d007e0aafe7932899cdf87d6007bf10ebed1cad6 (diff) | |
download | scummvm-rg350-e02e950a40a5abbef9f53569d99b66af6dc30345.tar.gz scummvm-rg350-e02e950a40a5abbef9f53569d99b66af6dc30345.tar.bz2 scummvm-rg350-e02e950a40a5abbef9f53569d99b66af6dc30345.zip |
HOPKINS: Implemented Vbe decoding so introduction now runs
Diffstat (limited to 'engines/hopkins/graphics.h')
-rw-r--r-- | engines/hopkins/graphics.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h index 756ae49cbe..6bb8f333b5 100644 --- a/engines/hopkins/graphics.h +++ b/engines/hopkins/graphics.h @@ -32,6 +32,7 @@ namespace Hopkins { #define PALETTE_SIZE 256 #define PALETTE_BLOCK_SIZE (PALETTE_SIZE * 3) +#define PALETTE_EXT_BLOCK_SIZE 800 struct RGB8 { byte r; @@ -55,7 +56,7 @@ public: int nbrligne; byte TABLE_COUL[PALETTE_SIZE]; byte cmap[PALETTE_BLOCK_SIZE]; - byte Palette[800]; + byte Palette[PALETTE_EXT_BLOCK_SIZE]; bool Linear; Graphics::Surface *VideoPtr; byte *VESA_SCREEN; @@ -73,7 +74,7 @@ public: int Agr_x, Agr_y; int Agr_Flag_x, Agr_Flag_y; int FADESPD; - byte PALPCX[800]; + byte PALPCX[PALETTE_EXT_BLOCK_SIZE]; int FADE_LINUX; bool NOLOCK; int no_scroll; |