aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/graphics.h
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-06 13:22:21 +0000
committerNicola Mettifogo2007-08-06 13:22:21 +0000
commit15c326497166bb1c734a06bf240663872b3c3548 (patch)
tree2350581db60c9a49cc2a755510ec8d58e65ae33f /engines/parallaction/graphics.h
parentbd56174b5dc138438f0a8dd7684b54b76cd9ced9 (diff)
downloadscummvm-rg350-15c326497166bb1c734a06bf240663872b3c3548.tar.gz
scummvm-rg350-15c326497166bb1c734a06bf240663872b3c3548.tar.bz2
scummvm-rg350-15c326497166bb1c734a06bf240663872b3c3548.zip
Changed internal graphics buffers to use Surface instead of vanilla arrays. ScummVM's stock surfaces are used for the moment.
svn-id: r28469
Diffstat (limited to 'engines/parallaction/graphics.h')
-rw-r--r--engines/parallaction/graphics.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/parallaction/graphics.h b/engines/parallaction/graphics.h
index f518bd6625..9c1b962ae5 100644
--- a/engines/parallaction/graphics.h
+++ b/engines/parallaction/graphics.h
@@ -29,6 +29,7 @@
#include "common/rect.h"
#include "common/stream.h"
+#include "graphics/surface.h"
#include "parallaction/defs.h"
@@ -154,9 +155,7 @@ public:
// bit buffers
kBitFront,
kBitBack,
- kBit2,
- // mask buffers
- kMask0
+ kBit2
};
public:
@@ -233,7 +232,8 @@ public:
protected:
Parallaction* _vm;
- static byte * _buffers[NUM_BUFFERS];
+ Graphics::Surface *_buffers[NUM_BUFFERS];
+ byte *_depthMask;
static byte _mouseArrow[256];
StaticCnv *_mouseComposedArrow;
Font *_font;