diff options
author | Paul Gilbert | 2013-05-25 09:58:03 -0400 |
---|---|---|
committer | Paul Gilbert | 2013-05-25 09:58:03 -0400 |
commit | aff7c3d9bdd917044a7da4d5919cad9e3a86181d (patch) | |
tree | dfc759b6ee4b8b66a2bd85d4640763112239b1fa /engines/voyeur/graphics.h | |
parent | 3c6507812eed761c8c357b1bf41b378b6ca3dc9c (diff) | |
download | scummvm-rg350-aff7c3d9bdd917044a7da4d5919cad9e3a86181d.tar.gz scummvm-rg350-aff7c3d9bdd917044a7da4d5919cad9e3a86181d.tar.bz2 scummvm-rg350-aff7c3d9bdd917044a7da4d5919cad9e3a86181d.zip |
VOYEUR: Beginnings of Bolt init function array
Diffstat (limited to 'engines/voyeur/graphics.h')
-rw-r--r-- | engines/voyeur/graphics.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/engines/voyeur/graphics.h b/engines/voyeur/graphics.h index d92a6b6268..a0f01dfc63 100644 --- a/engines/voyeur/graphics.h +++ b/engines/voyeur/graphics.h @@ -36,22 +36,29 @@ namespace Voyeur { #define PALETTE_SIZE (256 * 3) class VoyeurEngine; +class GraphicsManager; + +typedef void (GraphicsManager::*GraphicMethodPtr)(); class GraphicsManager { public: VoyeurEngine *_vm; bool _palFlag; - IntNode _fadeIntNode; - IntNode _cycleIntNode; - IntNode _evintnode; - IntNode _mainintnode; byte _VGAColors[PALETTE_SIZE]; Common::Array<byte *> _colorChain; + byte *_backgroundPage; private: static void fadeIntFunc(); static void vDoFadeInt(); static void vDoCycleInt(); + + void setupMCGASaveRect(); + void restoreMCGASaveRect(); + void addRectOptSaveRect(); + void addIntNode(IntNode *node); + void setupViewPort(GraphicMethodPtr setupFn, GraphicMethodPtr addRectFn, + GraphicMethodPtr restoreFn); public: GraphicsManager(); void setVm(VoyeurEngine *vm) { _vm = vm; } @@ -59,6 +66,7 @@ public: void vInitColor(); void addFadeInt(); + void setupViewPort(); }; } // End of namespace Voyeur |