SCI: kPortrait - now drawing after wait, also using gui wait so mouse cursor still works during execution, makes lip sync perfect (thx to the other fix by fingolfin)

svn-id: r47214
This commit is contained in:
Martin Kiewitz 2010-01-09 23:01:38 +00:00
parent a44c6e4323
commit 2c1ef90b87
3 changed files with 12 additions and 10 deletions

View file

@ -851,7 +851,7 @@ reg_t SciGui::portraitLoad(Common::String resourceName) {
}
void SciGui::portraitShow(Common::String resourceName, Common::Point position, uint16 resourceId, uint16 noun, uint16 verb, uint16 cond, uint16 seq) {
Portrait *myPortrait = new Portrait(_s->resMan, _screen, _palette, _audio, resourceName);
Portrait *myPortrait = new Portrait(_s->resMan, this, _screen, _palette, _audio, resourceName);
// TODO: cache portraits
// 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)