aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/gfx.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-20 16:08:05 +0300
committerEugene Sandulenko2013-09-06 14:51:03 +0300
commitc76bec26467efc8cad4554cf44903c9f927d3a8c (patch)
tree4defd867679ef804732123772d18b0d11f3a20d3 /engines/fullpipe/gfx.cpp
parent3ab56b0cc8b0d6967aad3ac7dc9bfa54928ae199 (diff)
downloadscummvm-rg350-c76bec26467efc8cad4554cf44903c9f927d3a8c.tar.gz
scummvm-rg350-c76bec26467efc8cad4554cf44903c9f927d3a8c.tar.bz2
scummvm-rg350-c76bec26467efc8cad4554cf44903c9f927d3a8c.zip
FULLPIPE: Further work on sceneSwitcher()
Diffstat (limited to 'engines/fullpipe/gfx.cpp')
-rw-r--r--engines/fullpipe/gfx.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index 9cef7e1408..241b799168 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -162,6 +162,12 @@ bool PictureObject::load(MfcArchive &file, bool bigPicture) {
return true;
}
+Common::Point *PictureObject::getDimensions(Common::Point *p) {
+ _picture->getDimensions(p);
+
+ return p;
+}
+
GameObject::GameObject() {
_field_4 = 0;
_flags = 0;
@@ -273,6 +279,13 @@ void Picture::init() {
_bitmap->_flags |= 0x1000000;
}
+Common::Point *Picture::getDimensions(Common::Point *p) {
+ p->x = _width;
+ p->y = _height;
+
+ return p;
+}
+
void Picture::getDibInfo() {
int off = _dataSize & ~0xf;