diff options
author | Colin Snover | 2016-08-14 16:28:37 -0500 |
---|---|---|
committer | Colin Snover | 2016-08-19 15:23:10 -0500 |
commit | 4e1a9be816c14593b37a672b0789528b1719a199 (patch) | |
tree | 8f6f2bbe80aafa4e17e68b0fa9f6590b84f14312 /engines/sci/sci.cpp | |
parent | eae689140458efa657cefc549a3670c60d42bb12 (diff) | |
download | scummvm-rg350-4e1a9be816c14593b37a672b0789528b1719a199.tar.gz scummvm-rg350-4e1a9be816c14593b37a672b0789528b1719a199.tar.bz2 scummvm-rg350-4e1a9be816c14593b37a672b0789528b1719a199.zip |
SCI32: Remove CoordAdjuster32, at least for the moment
This may come back in the future to deduplicate some gfx code,
but SCI32 had two different inlined ways of doing coordinate
conversions with different rounding methods, so CoordAdjuster32
didn't get used when the graphics system was rewritten.
At the moment, SCI32 code uses the mulru/mulinc methods from
helper.h for scaling up/down coordinates.
Diffstat (limited to 'engines/sci/sci.cpp')
-rw-r--r-- | engines/sci/sci.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index bca1aaeb12..cb825389b2 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -732,12 +732,11 @@ void SciEngine::initGraphics() { #ifdef ENABLE_SCI32 if (getSciVersion() >= SCI_VERSION_2) { // SCI32 graphic objects creation - _gfxCoordAdjuster = new GfxCoordAdjuster32(_gamestate->_segMan); _gfxCursor32 = new GfxCursor32(); _gfxCompare = new GfxCompare(_gamestate->_segMan, _gfxCache, nullptr, _gfxCoordAdjuster); _gfxPaint32 = new GfxPaint32(_gamestate->_segMan); _gfxTransitions32 = new GfxTransitions32(_gamestate->_segMan); - _gfxFrameout = new GfxFrameout(_gamestate->_segMan, _resMan, _gfxCoordAdjuster, _gfxPalette32, _gfxTransitions32, _gfxCursor32); + _gfxFrameout = new GfxFrameout(_gamestate->_segMan, _resMan, _gfxPalette32, _gfxTransitions32, _gfxCursor32); _gfxCursor32->init(_gfxFrameout->getCurrentBuffer()); _gfxText32 = new GfxText32(_gamestate->_segMan, _gfxCache); _gfxControls32 = new GfxControls32(_gamestate->_segMan, _gfxCache, _gfxText32); |