turns out we always had VirtScreen::backBuf but didn't use it... change that (helps readability of the code, IMO); added Gdi::getMaskBuffer (again, helps understanding the code, I think); regrouped some functions in gfx.cpp

svn-id: r12133
This commit is contained in:
Max Horn 2004-01-04 13:49:03 +00:00
parent b8a260c967
commit d16ac3e88f
4 changed files with 201 additions and 191 deletions

View file

@ -3259,7 +3259,7 @@ void ScummEngine_v6::o6_unknownE1() {
int offset = (y - vs->topline) * vs->width + x + _screenLeft;
byte area = *(getResourceAddress(rtBuffer, vs->number + 1) + offset);
byte area = *(vs->screenPtr + offset);
push(area);
}