diff options
author | Strangerke | 2014-02-20 00:37:11 +0100 |
---|---|---|
committer | Strangerke | 2014-02-20 00:37:11 +0100 |
commit | 27d624e79f4d488b9a97806bb5ddb81e4a40097b (patch) | |
tree | a926041c3249768a9e39f0e30ab2ce8fe1c41c93 /engines/voyeur/graphics.h | |
parent | 3584680587cc0ad5c8f6c234edced42c34ec5ca4 (diff) | |
download | scummvm-rg350-27d624e79f4d488b9a97806bb5ddb81e4a40097b.tar.gz scummvm-rg350-27d624e79f4d488b9a97806bb5ddb81e4a40097b.tar.bz2 scummvm-rg350-27d624e79f4d488b9a97806bb5ddb81e4a40097b.zip |
VOYEUR: Remove unused variables and functions in GraphicsManager
Diffstat (limited to 'engines/voyeur/graphics.h')
-rw-r--r-- | engines/voyeur/graphics.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/engines/voyeur/graphics.h b/engines/voyeur/graphics.h index 59bc29bd25..57d72228c5 100644 --- a/engines/voyeur/graphics.h +++ b/engines/voyeur/graphics.h @@ -50,9 +50,8 @@ class DrawInfo { public: int _penColor; Common::Point _pos; - int _flags; public: - DrawInfo(int penColor, const Common::Point &pos, int flags); + DrawInfo(int penColor, const Common::Point &pos); }; typedef void (GraphicsManager::*GraphicMethodPtr)(); @@ -63,32 +62,21 @@ typedef void (GraphicsManager::*ViewPortRestorePtr)(ViewPortResource *); class GraphicsManager { public: VoyeurEngine *_vm; - bool _palFlag; byte _VGAColors[PALETTE_SIZE]; - Common::Array<byte *> _colorChain; PictureResource *_backgroundPage; - int _SVGAPage; int _SVGAMode; - int _SVGAReset; ViewPortListResource *_viewPortListPtr; ViewPortResource **_vPort; - bool _MCGAMode; bool _saveBack; Common::Rect *_clipPtr; - int _screenOffset; uint _planeSelect; - int _sImageShift; Graphics::Surface _screenSurface; CMapResource *_backColors; FontInfoResource *_fontPtr; PictureResource *_fontChar; DrawInfo *_drawPtr; DrawInfo _defaultDrawInfo; - bool _drawTextPermFlag; private: - static void fadeIntFunc(); - static void vDoCycleInt(); - void restoreBack(Common::Array<Common::Rect> &rectList, int rectListCount, PictureResource *srcPic, PictureResource *destPic); public: @@ -116,7 +104,7 @@ public: void setColors(int start, int count, const byte *pal); void screenReset(); void fadeDownICF1(int steps); - void fadeUpICF1(int steps); + void fadeUpICF1(int steps = 0); void fadeDownICF(int steps); void drawDot(); @@ -124,9 +112,6 @@ public: * Synchronizes the game data */ void synchronize(Common::Serializer &s); - - // Methods in the original that are stubbed in ScummVM - void EMSMapPageHandle(int v1, int v2, int v3) {} }; } // End of namespace Voyeur |