Next episode in V7 reimplementation. Nearly working

svn-id: r3658
This commit is contained in:
Vincent Hamm 2002-03-05 23:41:41 +00:00
parent 8d6efb265f
commit c21e9da1b6
6 changed files with 201 additions and 222 deletions

View file

@ -1045,13 +1045,13 @@ void Scumm::setCursorImg(uint img, uint room, uint imgindex) {
READ_LE_UINT16(&foir.imhd->old.hotspot[0].y));
#if !defined(FULL_THROTTLE)
w = READ_LE_UINT16(&foir.cdhd->v6.w)>>3;
h = READ_LE_UINT16(&foir.cdhd->v6.h)>>3;
#else
w = READ_LE_UINT16(&foir.imhd->v7.width)>>3;
h = READ_LE_UINT16(&foir.imhd->v7.height)>>3;
#endif
if(!(_features & GF_AFTER_V7)) {
w = READ_LE_UINT16(&foir.cdhd->v6.w)>>3;
h = READ_LE_UINT16(&foir.cdhd->v6.h)>>3;
} else {
w = READ_LE_UINT16(&foir.imhd->v7.width)>>3;
h = READ_LE_UINT16(&foir.imhd->v7.height)>>3;
}
dataptr = findResource(IMxx_tags[imgindex],foir.obim);
if (dataptr==NULL)