aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/paint32.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-02-04 19:22:40 +0000
committerMartin Kiewitz2010-02-04 19:22:40 +0000
commit3ce2e229786f1ce81935883ed934d14fbc3444f7 (patch)
tree599c1b816d48c2cad73cb5b4accb150de4c0e6cc /engines/sci/graphics/paint32.h
parent5dc8f75b68a95e4c6f69921c29d773e902022708 (diff)
downloadscummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.tar.gz
scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.tar.bz2
scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.zip
SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive
svn-id: r47883
Diffstat (limited to 'engines/sci/graphics/paint32.h')
-rw-r--r--engines/sci/graphics/paint32.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/graphics/paint32.h b/engines/sci/graphics/paint32.h
index 7ee9eacf72..8b675d0cf7 100644
--- a/engines/sci/graphics/paint32.h
+++ b/engines/sci/graphics/paint32.h
@@ -27,6 +27,7 @@
#define SCI_GRAPHICS_PAINT32_H
#include "sci/graphics/gui.h"
+#include "sci/graphics/paint.h"
#include "common/hashmap.h"
@@ -34,13 +35,15 @@ namespace Sci {
class GfxPorts;
-class GfxPaint32 {
+class GfxPaint32 : public GfxPaint {
public:
GfxPaint32(ResourceManager *resMan, SegManager *segMan, Kernel *kernel, GfxCache *cache, GfxScreen *screen, GfxPalette *palette);
~GfxPaint32();
void fillRect(Common::Rect rect, byte color);
+ void kernelDrawPicture(GuiResourceId pictureId, int16 animationNr, bool animationBlackoutFlag, bool mirroredFlag, bool addToFlag, int16 EGApaletteNo);
+
private:
ResourceManager *_resMan;
SegManager *_segMan;