diff options
author | Johannes Schickel | 2011-12-26 19:27:20 +0100 |
---|---|---|
committer | Johannes Schickel | 2011-12-26 19:32:05 +0100 |
commit | 487e73bd218775dec22818477ad75dd230d97052 (patch) | |
tree | bd83a597ab7c48358f77212562bcf32cb1b7a286 /engines/kyra/screen_lok.cpp | |
parent | c2a94132c8adf8bec5914ca6fa2e312248e1c2bd (diff) | |
download | scummvm-rg350-487e73bd218775dec22818477ad75dd230d97052.tar.gz scummvm-rg350-487e73bd218775dec22818477ad75dd230d97052.tar.bz2 scummvm-rg350-487e73bd218775dec22818477ad75dd230d97052.zip |
KYRA: Merge Screen_Rpg with Screen (for now).
This should(!) fix ARM compilation issues due to virtual inheritance.
Diffstat (limited to 'engines/kyra/screen_lok.cpp')
-rw-r--r-- | engines/kyra/screen_lok.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/kyra/screen_lok.cpp b/engines/kyra/screen_lok.cpp index 106ef5df29..447e1428be 100644 --- a/engines/kyra/screen_lok.cpp +++ b/engines/kyra/screen_lok.cpp @@ -30,7 +30,7 @@ namespace Kyra { Screen_LoK::Screen_LoK(KyraEngine_LoK *vm, OSystem *system) - : Screen(vm, system) { + : Screen(vm, system, _screenDimTable, _screenDimTableCount) { _vm = vm; _unkPtr1 = _unkPtr2 = 0; _bitBlitNum = 0; @@ -70,16 +70,6 @@ bool Screen_LoK::init() { return true; } -void Screen_LoK::setScreenDim(int dim) { - assert(dim < _screenDimTableCount); - _curDim = &_screenDimTable[dim]; -} - -const ScreenDim *Screen_LoK::getScreenDim(int dim) { - assert(dim < _screenDimTableCount); - return &_screenDimTable[dim]; -} - void Screen_LoK::fadeSpecialPalette(int palIndex, int startIndex, int size, int fadeTime) { if (_vm->gameFlags().platform == Common::kPlatformAmiga) return; |