mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
LAB: The parameter of doMap() isn't needed
This commit is contained in:
parent
c809a65b93
commit
49a45a21ce
@ -279,7 +279,7 @@ bool LabEngine::doUse(uint16 curInv) {
|
||||
_anim->stopDiff();
|
||||
_curFileName = " ";
|
||||
_closeDataPtr = nullptr;
|
||||
doMap(_roomNum);
|
||||
doMap();
|
||||
_graphics->setPalette(initColors, 8);
|
||||
_graphics->drawMessage("", false);
|
||||
_graphics->drawPanel();
|
||||
|
@ -282,7 +282,7 @@ private:
|
||||
/**
|
||||
* Does the map processing.
|
||||
*/
|
||||
void doMap(uint16 curRoom);
|
||||
void doMap();
|
||||
|
||||
/**
|
||||
* Does what's necessary for the monitor.
|
||||
|
@ -523,7 +523,7 @@ void LabEngine::processMap(uint16 curRoom) {
|
||||
}
|
||||
}
|
||||
|
||||
void LabEngine::doMap(uint16 curRoom) {
|
||||
void LabEngine::doMap() {
|
||||
static uint16 amigaMapPalette[] = {
|
||||
0x0BA8, 0x0C11, 0x0A74, 0x0076,
|
||||
0x0A96, 0x0DCB, 0x0CCA, 0x0222,
|
||||
@ -537,10 +537,10 @@ void LabEngine::doMap(uint16 curRoom) {
|
||||
loadMapData();
|
||||
_graphics->blackAllScreen();
|
||||
_event->attachButtonList(&_mapButtonList);
|
||||
drawMap(curRoom, curRoom, _maps[curRoom]._pageNumber, true);
|
||||
drawMap(_roomNum, _roomNum, _maps[_roomNum]._pageNumber, true);
|
||||
_event->mouseShow();
|
||||
_graphics->screenUpdate();
|
||||
processMap(curRoom);
|
||||
processMap(_roomNum);
|
||||
_event->attachButtonList(nullptr);
|
||||
_graphics->fade(false);
|
||||
_graphics->blackAllScreen();
|
||||
|
Loading…
x
Reference in New Issue
Block a user