aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/map.cpp')
-rw-r--r--engines/lab/map.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/lab/map.cpp b/engines/lab/map.cpp
index ee47c2b14b..2b283aec4a 100644
--- a/engines/lab/map.cpp
+++ b/engines/lab/map.cpp
@@ -328,8 +328,6 @@ uint16 LabEngine::getLowerFloor(uint16 floorNum) {
}
void LabEngine::drawMap(uint16 curRoom, uint16 curMsg, uint16 floorNum, bool fadeIn) {
- _event->mouseHide();
-
_graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0);
_imgMap->drawImage(0, 0);
_event->drawButtonList(&_mapButtonList);
@@ -380,8 +378,6 @@ void LabEngine::drawMap(uint16 curRoom, uint16 curMsg, uint16 floorNum, bool fad
if (fadeIn)
_graphics->fade(true);
-
- _event->mouseShow();
}
void LabEngine::processMap(uint16 curRoom) {
@@ -503,7 +499,6 @@ void LabEngine::processMap(uint16 curRoom) {
const char *sptr;
if ((sptr = _rooms[curMsg]._roomMsg.c_str())) {
- _event->mouseHide();
_graphics->rectFillScaled(13, 148, 135, 186, 3);
_graphics->flowText(_msgFont, 0, 5, 3, true, true, true, true, _utils->vgaRectScale(14, 148, 134, 186), sptr);
@@ -516,11 +511,8 @@ void LabEngine::processMap(uint16 curRoom) {
int top, bottom;
top = bottom = (curCoords.top + curCoords.bottom) / 2;
- if ((curMsg != curRoom) && (_maps[curMsg]._pageNumber == curFloor)) {
+ if ((curMsg != curRoom) && (_maps[curMsg]._pageNumber == curFloor))
_graphics->rectFill(left, top, right, bottom, 1);
- }
-
- _event->mouseShow();
}
}
}
@@ -552,11 +544,9 @@ void LabEngine::doMap(uint16 curRoom) {
_event->attachButtonList(nullptr);
_graphics->fade(false);
_graphics->blackAllScreen();
- _event->mouseHide();
_graphics->rectFill(0, 0, _graphics->_screenWidth - 1, _graphics->_screenHeight - 1, 0);
freeMapData();
_graphics->blackAllScreen();
- _event->mouseShow();
_graphics->screenUpdate();
}