aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorD G Turner2014-05-26 20:45:47 +0100
committerD G Turner2014-05-26 20:45:47 +0100
commit4e47f42853d69ee6bb3ccf7bfa3d073c598d451e (patch)
tree908e0c1870a3c4f9b93eaeacb41bc7e35185c613 /engines/voyeur
parent76ea8c5a20cd8ef77ce5706a9c972a65a941db26 (diff)
downloadscummvm-rg350-4e47f42853d69ee6bb3ccf7bfa3d073c598d451e.tar.gz
scummvm-rg350-4e47f42853d69ee6bb3ccf7bfa3d073c598d451e.tar.bz2
scummvm-rg350-4e47f42853d69ee6bb3ccf7bfa3d073c598d451e.zip
VOYEUR: Make engine pointer in graphics class private.
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/graphics.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/voyeur/graphics.h b/engines/voyeur/graphics.h
index 221d31061d..41a1bafaca 100644
--- a/engines/voyeur/graphics.h
+++ b/engines/voyeur/graphics.h
@@ -61,7 +61,6 @@ typedef void (GraphicsManager::*ViewPortRestorePtr)(ViewPortResource *);
class GraphicsManager {
public:
- VoyeurEngine *_vm;
byte _VGAColors[PALETTE_SIZE];
PictureResource *_backgroundPage;
int _SVGAMode;
@@ -77,6 +76,8 @@ public:
DrawInfo *_drawPtr;
DrawInfo _defaultDrawInfo;
private:
+ VoyeurEngine *_vm;
+
void restoreBack(Common::Array<Common::Rect> &rectList, int rectListCount,
PictureResource *srcPic, PictureResource *destPic);
public: