FULLPIPE: Further work on sceneSwitcher()

This commit is contained in:
Eugene Sandulenko 2013-07-20 16:08:05 +03:00
parent 3ab56b0cc8
commit c76bec2646
15 changed files with 396 additions and 167 deletions

View file

@ -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;