added a getMaskBuffer method (makes it easier to read some of the code); merged setVirtscreenDirty() into updateDirtyRect(); made setDirtyRange a method of struct VirtScreen

svn-id: r8241
This commit is contained in:
Max Horn 2003-06-01 14:30:26 +00:00
parent 2591a4f018
commit cb5fb5d403
10 changed files with 36 additions and 74 deletions

View file

@ -54,6 +54,7 @@ void Scumm::setCameraAt(int pos_x, int pos_y) {
runScript(VAR(VAR_SCROLL_SCRIPT), 0, 0, 0);
}
// If the camera moved and text is visible, remove it
if (camera._cur.x != camera._last.x && _charset->_hasMask)
stopTalk();
}