aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/Base/BRegion.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/Base/BRegion.h')
-rw-r--r--engines/wintermute/Base/BRegion.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/Base/BRegion.h b/engines/wintermute/Base/BRegion.h
index 5f6b79e17f..4aa491d7c9 100644
--- a/engines/wintermute/Base/BRegion.h
+++ b/engines/wintermute/Base/BRegion.h
@@ -41,7 +41,7 @@ public:
int _lastMimicY;
void cleanup();
ERRORCODE mimic(CBRegion *region, float scale = 100.0f, int x = 0, int y = 0);
- ERRORCODE getBoundingRect(RECT *rect);
+ ERRORCODE getBoundingRect(Common::Rect *rect);
bool ptInPolygon(int x, int y);
DECLARE_PERSISTENT(CBRegion, CBObject)
bool _active;
@@ -52,7 +52,7 @@ public:
bool createRegion();
ERRORCODE loadFile(const char *filename);
ERRORCODE loadBuffer(byte *buffer, bool complete = true);
- RECT _rect;
+ Common::Rect _rect;
CBArray<CBPoint *, CBPoint *> _points;
virtual ERRORCODE saveAsText(CBDynBuffer *buffer, int indent, const char *nameOverride = NULL);