aboutsummaryrefslogtreecommitdiff
path: root/engines/access/screen.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/screen.h')
-rw-r--r--engines/access/screen.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/access/screen.h b/engines/access/screen.h
index f8e0dab1b1..d16333c46e 100644
--- a/engines/access/screen.h
+++ b/engines/access/screen.h
@@ -25,6 +25,7 @@
#include "common/scummsys.h"
#include "common/rect.h"
+#include "common/stream.h"
#include "graphics/surface.h"
namespace Access {
@@ -40,8 +41,12 @@ private:
byte _tempPalette[PALETTE_SIZE];
byte _rawPalette[PALETTE_SIZE];
+ void setPalette();
+
void updatePalette();
public:
+ bool _loadPalFlag;
+public:
Screen(AccessEngine *vm);
void setDisplayScan();
@@ -65,6 +70,13 @@ public:
* Set the initial palette
*/
void setInitialPalettte();
+
+ void loadPalette(Common::SeekableReadStream *stream);
+
+ /**
+ * Copy a buffer to the screen
+ */
+ void copyBuffer(const byte *data);
};
} // End of namespace Access