aboutsummaryrefslogtreecommitdiff
path: root/engines/hopkins/graphics.h
diff options
context:
space:
mode:
authorPaul Gilbert2012-09-15 10:27:15 +1000
committerPaul Gilbert2012-09-15 10:27:15 +1000
commitf1fce64994e687aada097f6293776108bdedcd68 (patch)
treea1080bd8063943ab9e3a930b884b9f1e12760576 /engines/hopkins/graphics.h
parentec4c7a8baf5f276914c287f1f777e5f27d98eb0e (diff)
downloadscummvm-rg350-f1fce64994e687aada097f6293776108bdedcd68.tar.gz
scummvm-rg350-f1fce64994e687aada097f6293776108bdedcd68.tar.bz2
scummvm-rg350-f1fce64994e687aada097f6293776108bdedcd68.zip
HOPKINS: Initial implementation of main animation player method
Diffstat (limited to 'engines/hopkins/graphics.h')
-rw-r--r--engines/hopkins/graphics.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/hopkins/graphics.h b/engines/hopkins/graphics.h
index 804498c122..6451fdae5c 100644
--- a/engines/hopkins/graphics.h
+++ b/engines/hopkins/graphics.h
@@ -55,11 +55,11 @@ public:
int nbrligne;
byte TABLE_COUL[PALETTE_SIZE];
byte cmap[PALETTE_BLOCK_SIZE];
- byte Palette[PALETTE_BLOCK_SIZE];
+ byte Palette[800];
bool Linear;
Graphics::Surface *VideoPtr;
- Graphics::Surface VESA_SCREEN;
- Graphics::Surface VESA_BUFFER;
+ byte *VESA_SCREEN;
+ byte *VESA_BUFFER;
int start_x;
int ofscroll;
int SCROLL;
@@ -74,6 +74,8 @@ public:
int Agr_Flag_x, Agr_Flag_y;
int FADESPD;
byte PALPCX[800];
+ int FADE_LINUX;
+ bool NOLOCK;
public:
GraphicsManager();
~GraphicsManager();
@@ -105,6 +107,10 @@ public:
void CHANGE_PALETTE(const byte *palette);
uint16 MapRGB(byte r, byte g, byte b);
void DD_VBL();
+ void FADE_OUTW_LINUX(const byte *surface);
+ void Copy_WinScan_Vbe3(const byte *sourceSurface, byte *destSurface);
+ void Copy_Video_Vbe3(const byte *surface);
+ void Copy_Video_Vbe16(const byte *surface);
};
class ObjectManager {