SCI: adding upscaled hires mode 640x480 for kq6 and gk1, fixing valgrind error in GfxPortrait class, not using priority anymore when drawing hires cels (shouldnt be needed for kq6)

svn-id: r49040
This commit is contained in:
Martin Kiewitz 2010-05-15 14:17:50 +00:00
parent 59a255226f
commit eb2b3f352e
10 changed files with 97 additions and 54 deletions

View file

@ -128,7 +128,7 @@ void SciGui::portraitShow(Common::String resourceName, Common::Point position, u
// adjust given coordinates to curPort (but dont adjust coordinates on upscaledHires_Save_Box and give us hires coordinates
// on kDrawCel, yeah this whole stuff makes sense)
position.x += _ports->getPort()->left; position.y += _ports->getPort()->top;
position.x *= 2; position.y *= 2;
_screen->adjustToUpscaledCoordinates(position.y, position.x);
myPortrait->doit(position, resourceId, noun, verb, cond, seq);
delete myPortrait;
}