From a612dd686c27303bdbe6b2dba89aef79bc8db8e0 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 9 Feb 2015 22:01:01 -0500 Subject: XEEN: Further refactoring for party dialog setup --- engines/xeen/interface.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'engines/xeen/interface.cpp') diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index 8aa938b583..13a12f085a 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -85,7 +85,6 @@ void Interface::loadPartyIcons() { } void Interface::charIconsPrint(bool updateFlag) { - Resources &res = *_vm->_resources; Screen &screen = *_vm->_screen; bool stateFlag = _vm->_mode == MODE_COMBAT; _restoreSprites.draw(screen, 0, Common::Point(8, 149)); @@ -153,27 +152,6 @@ void Interface::sortFaces() { } } -void Interface::drawViewBackground(int bgType) { - if (bgType >= 4) - return; - - if (bgType == 0) { - // Totally black background - _vm->_screen->fillRect(Common::Rect(8, 8, 224, 140), 0); - } else { - const byte *lookup = BACKGROUND_XLAT + bgType; - for (int yp = 8; yp < 140; ++yp) { - byte *destP = (byte *)_vm->_screen->getBasePtr(8, yp); - for (int xp = 8; xp < 224; ++xp, ++destP) - *destP = lookup[*destP]; - } - } -} - -void Interface::moveCharacterToRoster() { - error("TODO"); -} - void Interface::startup() { Screen &screen = *_vm->_screen; _iconSprites.load("main.icn"); -- cgit v1.2.3