aboutsummaryrefslogtreecommitdiff
path: root/engines/prince/graphics.h
diff options
context:
space:
mode:
authorlukaslw2014-06-02 18:19:02 +0200
committerlukaslw2014-06-22 20:08:37 +0200
commit94ab6b268c1132f39f96ee10ae6db76d8c5dec89 (patch)
tree355e4434144e035ef500bc043c8c1ed398693e97 /engines/prince/graphics.h
parent46ce47dbca3d046121b6aaa5f3cd4827e7bfe0a7 (diff)
downloadscummvm-rg350-94ab6b268c1132f39f96ee10ae6db76d8c5dec89.tar.gz
scummvm-rg350-94ab6b268c1132f39f96ee10ae6db76d8c5dec89.tar.bz2
scummvm-rg350-94ab6b268c1132f39f96ee10ae6db76d8c5dec89.zip
PRINCE: DrawNode struct, runDrawNodes(), freeDrawNodes()
Diffstat (limited to 'engines/prince/graphics.h')
-rw-r--r--engines/prince/graphics.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/prince/graphics.h b/engines/prince/graphics.h
index e6293bbeee..dca2508838 100644
--- a/engines/prince/graphics.h
+++ b/engines/prince/graphics.h
@@ -29,6 +29,7 @@
namespace Prince {
class PrinceEngine;
+struct DrawNode;
class GraphicsMan
{
@@ -44,9 +45,13 @@ public:
void makeShadowTable(int brightness, byte *shadowTable);
void draw(uint16 x, uint16 y, const Graphics::Surface *s);
- void drawTransparent(int32 posX, int32 poxY, const Graphics::Surface *s);
- void drawAsShadow(int32 posX, int32 poxY, const Graphics::Surface *s, byte *shadowTable);
- void drawMask(int32 posX, int32 posY, int32 width, int32 height, byte *maskData, const Graphics::Surface *originalRoomSurface);
+ void drawTransparentIntro(int32 posX, int32 poxY, const Graphics::Surface *s);
+ //void drawAsShadow(int32 posX, int32 poxY, const Graphics::Surface *s, byte *shadowTable);
+ //void drawMask(int32 posX, int32 posY, int32 width, int32 height, byte *maskData, const Graphics::Surface *originalRoomSurface);
+
+ static void drawTransparent(Graphics::Surface *frontScreen, DrawNode *drawNode);
+ static void drawAsShadow(Graphics::Surface *frontScreen, DrawNode *drawNode);
+ static void drawMask(Graphics::Surface *frontScreen, DrawNode *drawNode);
Graphics::Surface *_frontScreen;
Graphics::Surface *_backScreen;