aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/msurface.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-15 18:52:44 -0400
committerPaul Gilbert2014-03-15 18:52:44 -0400
commitca6cf0eaf2692ac5c787b86e193e8e6980d2b7ee (patch)
tree1e397c008c06c381047a7d8c3a48ca78b2f27b60 /engines/mads/msurface.h
parentb652e2eafd3de5436b45619659b5299d945074be (diff)
downloadscummvm-rg350-ca6cf0eaf2692ac5c787b86e193e8e6980d2b7ee.tar.gz
scummvm-rg350-ca6cf0eaf2692ac5c787b86e193e8e6980d2b7ee.tar.bz2
scummvm-rg350-ca6cf0eaf2692ac5c787b86e193e8e6980d2b7ee.zip
MADS: Fix display of user interface during animation
Diffstat (limited to 'engines/mads/msurface.h')
-rw-r--r--engines/mads/msurface.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/mads/msurface.h b/engines/mads/msurface.h
index d5b8741188..37ab305fb0 100644
--- a/engines/mads/msurface.h
+++ b/engines/mads/msurface.h
@@ -50,6 +50,8 @@ struct SpriteInfo {
* MADS graphics surface
*/
class MSurface : public Graphics::Surface {
+private:
+ bool _freeFlag;
protected:
static MADSEngine *_vm;
public:
@@ -84,6 +86,12 @@ public:
void setSize(int width, int height);
/**
+ * Sets the pixels the surface is associated with
+ * @remarks The surface will not free the data block
+ */
+ void setPixels(byte *pData, int horizSize, int vertSize);
+
+ /**
* Draws an arbitrary line on the screen using a specified color
* @param startPos Starting position
* @param endPos Ending position