diff options
author | Eugene Sandulenko | 2013-07-20 16:08:05 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-06 14:51:03 +0300 |
commit | c76bec26467efc8cad4554cf44903c9f927d3a8c (patch) | |
tree | 4defd867679ef804732123772d18b0d11f3a20d3 /engines/fullpipe/gfx.cpp | |
parent | 3ab56b0cc8b0d6967aad3ac7dc9bfa54928ae199 (diff) | |
download | scummvm-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.cpp | 13 |
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; |