diff options
author | Filippos Karapetis | 2011-10-28 22:19:52 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-10-28 22:20:33 +0300 |
commit | 4ac2940bc59bbb192a5aa0636e590df4e71becad (patch) | |
tree | 41a91e207a712c9160a61849211d484bed5c750b /engines/sci/sci.cpp | |
parent | d8db7b11c14c03704c7b1a50bbaff72008eddf7a (diff) | |
download | scummvm-rg350-4ac2940bc59bbb192a5aa0636e590df4e71becad.tar.gz scummvm-rg350-4ac2940bc59bbb192a5aa0636e590df4e71becad.tar.bz2 scummvm-rg350-4ac2940bc59bbb192a5aa0636e590df4e71becad.zip |
SCI: Added skeleton code for kEditText (still not working)
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 2dc8c95fec..d79ac86741 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -47,6 +47,7 @@ #include "sci/graphics/cache.h" #include "sci/graphics/compare.h" #include "sci/graphics/controls16.h" +#include "sci/graphics/controls32.h" #include "sci/graphics/coordadjuster.h" #include "sci/graphics/cursor.h" #include "sci/graphics/maciconbar.h" @@ -147,6 +148,7 @@ SciEngine::~SciEngine() { DebugMan.clearAllDebugChannels(); #ifdef ENABLE_SCI32 + delete _gfxControls32; delete _gfxText32; delete _robotDecoder; delete _gfxFrameout; @@ -600,6 +602,7 @@ void SciEngine::initGraphics() { _gfxText16 = 0; _gfxTransitions = 0; #ifdef ENABLE_SCI32 + _gfxControls32 = 0; _gfxText32 = 0; _robotDecoder = 0; _gfxFrameout = 0; @@ -622,6 +625,7 @@ void SciEngine::initGraphics() { _gfxPaint32 = new GfxPaint32(_resMan, _gamestate->_segMan, _kernel, _gfxCoordAdjuster, _gfxCache, _gfxScreen, _gfxPalette); _gfxPaint = _gfxPaint32; _gfxText32 = new GfxText32(_gamestate->_segMan, _gfxCache, _gfxScreen); + _gfxControls32 = new GfxControls32(_gamestate->_segMan, _gfxCache, _gfxScreen); _robotDecoder = new RobotDecoder(g_system->getMixer(), getPlatform() == Common::kPlatformMacintosh); _gfxFrameout = new GfxFrameout(_gamestate->_segMan, _resMan, _gfxCoordAdjuster, _gfxCache, _gfxScreen, _gfxPalette, _gfxPaint32); } else { |