diff options
author | Martin Kiewitz | 2010-01-07 20:29:48 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-07 20:29:48 +0000 |
commit | 140b22a37400abb65a999c46b6e5145af0bcf364 (patch) | |
tree | caafb0bd7ac14bb58ed593fe780a186f70314e1f /engines/sci/engine | |
parent | a15cc002bbbba1666cde6b12daa72edb40ef2e89 (diff) | |
download | scummvm-rg350-140b22a37400abb65a999c46b6e5145af0bcf364.tar.gz scummvm-rg350-140b22a37400abb65a999c46b6e5145af0bcf364.tar.bz2 scummvm-rg350-140b22a37400abb65a999c46b6e5145af0bcf364.zip |
SCI: implement crazy hack that fixes coordinates of some cel placements. I'm not sure if thats what sierra sci actually does or if we get coordinates 0,0 due some error somewhere. Fixes portrait window placement in kq6 - strangely they are still not at the correct height perhaps related to not adjusting "correctly" (whatever this means in this ugly mess that hires was implemented) inside BitsSave()
svn-id: r47140
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index dc83530762..ec787b464e 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -910,9 +910,9 @@ reg_t kDrawCel(EngineState *s, int argc, reg_t *argv) { uint16 y = argv[4].toUint16(); int16 priority = (argc > 5) ? argv[5].toSint16() : -1; uint16 paletteNo = (argc > 6) ? argv[6].toUint16() : 0; - bool upscaledHires = (argc > 7) ? true : false; // actual parameter is MemoryHandle to saved upscaled hires rect + reg_t upscaledHiresHandle = (argc > 7) ? argv[7] : NULL_REG; - s->_gui->drawCel(viewId, loopNo, celNo, x, y, priority, paletteNo, upscaledHires); + s->_gui->drawCel(viewId, loopNo, celNo, x, y, priority, paletteNo, upscaledHiresHandle); return s->r_acc; } |