SCI: kPicNotValid now uses GfxScreen directly and not SciGui/32

svn-id: r47889
This commit is contained in:
Martin Kiewitz 2010-02-04 20:52:56 +00:00
parent 00ac235331
commit 5f39e3b7b5
5 changed files with 21 additions and 22 deletions

View file

@ -296,25 +296,6 @@ void SciGui::graphAdjustPriority(int top, int bottom) {
}
}
int16 SciGui::picNotValid(int16 newPicNotValid) {
int16 oldPicNotValid;
if (getSciVersion() >= SCI_VERSION_1_1) {
oldPicNotValid = _screen->_picNotValidSci11;
if (newPicNotValid != -1)
_screen->_picNotValidSci11 = newPicNotValid;
} else {
oldPicNotValid = _screen->_picNotValid;
if (newPicNotValid != -1)
_screen->_picNotValid = newPicNotValid;
}
return oldPicNotValid;
}
void SciGui::shakeScreen(uint16 shakeCount, uint16 directions) {
while (shakeCount--) {
if (directions & SCI_SHAKE_DIRECTION_VERTICAL)