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:
parent
2591a4f018
commit
cb5fb5d403
10 changed files with 36 additions and 74 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue