From bb48a153a6479e08fe37c3547e14622226efeeb2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 4 Aug 2014 21:35:49 -0400 Subject: ACCESS: Remove graphics manager, and added more skeleton for Amazon intro --- engines/access/screen.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'engines/access/screen.h') diff --git a/engines/access/screen.h b/engines/access/screen.h index 0d68c1bc7e..295372770a 100644 --- a/engines/access/screen.h +++ b/engines/access/screen.h @@ -26,7 +26,7 @@ #include "common/scummsys.h" #include "common/rect.h" #include "common/stream.h" -#include "graphics/surface.h" +#include "access/asurface.h" namespace Access { @@ -35,11 +35,16 @@ class AccessEngine; #define PALETTE_COUNT 256 #define PALETTE_SIZE (256 * 3) -class Screen: public Graphics::Surface { +class Screen: public ASurface { private: AccessEngine *_vm; byte _tempPalette[PALETTE_SIZE]; byte _rawPalette[PALETTE_SIZE]; + int _vesaCurrentWin; + int _currentPanel; + Common::Point _msVirtualOffset; + Common::Point _virtualOffsetsTable[4]; + bool _hideFlag; Common::Rect _lastBounds; int _leftSkip, _rightSkip; int _topSkip, _bottomSkip; @@ -57,6 +62,8 @@ public: void setDisplayScan(); + void setPanel(int num); + /** * Update the underlying screen */ @@ -72,6 +79,8 @@ public: */ void forceFadeIn(); + void clearScreen() { clearBuffer(); } + /** * Set the initial palette */ -- cgit v1.2.3