renamed updateDirtyRect to markRectAsDirty (because that's what it really does); used virtual screen id constants in more places

svn-id: r12122
This commit is contained in:
Max Horn 2004-01-03 22:45:23 +00:00
parent 105895da46
commit bceb48f5e0
10 changed files with 50 additions and 47 deletions

View file

@ -709,7 +709,7 @@ void ScummDebugger::drawBox(int box) {
VirtScreen *vs = _vm->findVirtScreen(coords.ul.y);
if (vs != NULL)
_vm->updateDirtyRect(vs->number, 0, _vm->_screenWidth, 0, _vm->_screenHeight, 0);
_vm->markRectAsDirty(vs->number, 0, _vm->_screenWidth, 0, _vm->_screenHeight, 0);
_vm->drawDirtyScreenParts();
_vm->_system->update_screen();
}