diff options
Diffstat (limited to 'engines/access/screen.cpp')
-rw-r--r-- | engines/access/screen.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/access/screen.cpp b/engines/access/screen.cpp index cb0154d56e..591bb67a7f 100644 --- a/engines/access/screen.cpp +++ b/engines/access/screen.cpp @@ -34,6 +34,9 @@ namespace Access { Screen::Screen(AccessEngine *vm) : _vm(vm) { create(320, 200, Graphics::PixelFormat::createFormatCLUT8()); Common::fill(&_tempPalette[0], &_tempPalette[PALETTE_SIZE], 0); + _vesaCurrentWin = 0; + _currentPanel = 0; + _hideFlag = true; _loadPalFlag = false; _leftSkip = _rightSkip = 0; _topSkip = _bottomSkip = 0; @@ -44,6 +47,12 @@ void Screen::setDisplayScan() { warning("TODO: setDisplayScan"); } +void Screen::setPanel(int num) { + assert(num < 4); + _currentPanel = num; + _msVirtualOffset = _virtualOffsetsTable[num]; +} + void Screen::updateScreen() { g_system->updateScreen(); } |