diff options
author | Martin Kiewitz | 2010-02-04 19:22:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-02-04 19:22:40 +0000 |
commit | 3ce2e229786f1ce81935883ed934d14fbc3444f7 (patch) | |
tree | 599c1b816d48c2cad73cb5b4accb150de4c0e6cc /engines/sci/graphics/gui32.cpp | |
parent | 5dc8f75b68a95e4c6f69921c29d773e902022708 (diff) | |
download | scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.tar.gz scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.tar.bz2 scummvm-rg350-3ce2e229786f1ce81935883ed934d14fbc3444f7.zip |
SCI: adding GfxPaint class, implementing kernelDrawPicture for GfxPaint16 and GfxPaint32, using those classes directly when drawing pictures instead of SciGui/32. Making draw_pic command work in sci32 that way, using _gfxPaint16 for kDrawPic because that command is sci16 exclusive
svn-id: r47883
Diffstat (limited to 'engines/sci/graphics/gui32.cpp')
-rw-r--r-- | engines/sci/graphics/gui32.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/gui32.cpp b/engines/sci/graphics/gui32.cpp index 4dbab6d722..19e5031ed9 100644 --- a/engines/sci/graphics/gui32.cpp +++ b/engines/sci/graphics/gui32.cpp @@ -50,6 +50,7 @@ SciGui32::SciGui32(EngineState *state, GfxScreen *screen, GfxPalette *palette, G _compare = new GfxCompare(_s->_segMan, _s->_kernel, _cache, _screen); _paint32 = new GfxPaint32(_s->resMan, _s->_segMan, _s->_kernel, _cache, _screen, _palette); + _s->_gfxPaint = _paint32; _frameout = new GfxFrameout(_s->_segMan, _s->resMan, _cache, _screen, _palette, _paint32); } |