aboutsummaryrefslogtreecommitdiff
path: root/engines/neverhood/graphics.h
diff options
context:
space:
mode:
authorjohndoe1232012-09-14 22:38:31 +0000
committerWillem Jan Palenstijn2013-05-08 20:43:41 +0200
commitd1d1596fd136783a7bc4db9264ba1627b8511355 (patch)
treec3c0f5bf1eb0489811167c7fe339377bde0f57d4 /engines/neverhood/graphics.h
parentee36d5d5e3ae6f5cb357f3d68c711e2fbfbdef8b (diff)
downloadscummvm-rg350-d1d1596fd136783a7bc4db9264ba1627b8511355.tar.gz
scummvm-rg350-d1d1596fd136783a7bc4db9264ba1627b8511355.tar.bz2
scummvm-rg350-d1d1596fd136783a7bc4db9264ba1627b8511355.zip
NEVERHOOD: Add support for shadow sprites, used only for the shadow of the car/vehicle thing
Diffstat (limited to 'engines/neverhood/graphics.h')
-rw-r--r--engines/neverhood/graphics.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/neverhood/graphics.h b/engines/neverhood/graphics.h
index 7725e73289..5e91bdb8c6 100644
--- a/engines/neverhood/graphics.h
+++ b/engines/neverhood/graphics.h
@@ -116,6 +116,14 @@ protected:
bool _transparent;
};
+class ShadowSurface : public BaseSurface {
+public:
+ ShadowSurface(NeverhoodEngine *vm, int priority, int16 width, int16 height, BaseSurface *shadowSurface);
+ virtual void draw();
+protected:
+ BaseSurface *_shadowSurface;
+};
+
class FontSurface : public BaseSurface {
public:
FontSurface(NeverhoodEngine *vm, NPointArray *tracking, uint16 numRows, byte firstChar, uint16 charWidth, uint16 charHeight);