aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.h
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-07 17:05:26 +0200
committerMartin Kiewitz2015-06-07 17:05:26 +0200
commit4c9e67ccfa709a74f2c78580f42bb642b258cd22 (patch)
tree947fff50218ab4ab35caf4a6f2624349b241babd /engines/sherlock/surface.h
parentef06a86ac87d71bcc1248c29682888dc8e8012d4 (diff)
downloadscummvm-rg350-4c9e67ccfa709a74f2c78580f42bb642b258cd22.tar.gz
scummvm-rg350-4c9e67ccfa709a74f2c78580f42bb642b258cd22.tar.bz2
scummvm-rg350-4c9e67ccfa709a74f2c78580f42bb642b258cd22.zip
SHERLOCK: 3DO animation support
Diffstat (limited to 'engines/sherlock/surface.h')
-rw-r--r--engines/sherlock/surface.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/sherlock/surface.h b/engines/sherlock/surface.h
index 94299b45cb..68108a6c16 100644
--- a/engines/sherlock/surface.h
+++ b/engines/sherlock/surface.h
@@ -24,6 +24,7 @@
#define SHERLOCK_GRAPHICS_H
#include "common/rect.h"
+#include "common/platform.h"
#include "graphics/surface.h"
namespace Sherlock {
@@ -61,12 +62,16 @@ private:
*/
void transBlitFromUnscaled(const Graphics::Surface &src, const Common::Point &pt, bool flipped,
int overrideColor);
+
+public:
+ void transBlitFromUnscaled3DO(const Graphics::Surface &src, const Common::Point &pt);
+
protected:
Graphics::Surface _surface;
virtual void addDirtyRect(const Common::Rect &r) {}
public:
- Surface(uint16 width, uint16 height);
+ Surface(uint16 width, uint16 height, Common::Platform platform);
Surface();
virtual ~Surface();
@@ -74,7 +79,7 @@ public:
* Sets up an internal surface with the specified dimensions that will be automatically freed
* when the surface object is destroyed
*/
- void create(uint16 width, uint16 height);
+ void create(uint16 width, uint16 height, Common::Platform platform);
/**
* Copy a surface into this one