diff options
author | Travis Howell | 2006-09-29 03:25:08 +0000 |
---|---|---|
committer | Travis Howell | 2006-09-29 03:25:08 +0000 |
commit | 4dff848e6ec92f7616e68cbf45d5411ca8fc26b7 (patch) | |
tree | ea2bb3b8bde675649cb64c8237eaee8f19254e99 /engines/simon/window.cpp | |
parent | 0e2bdc7fa27edebe03cb2f225f385e811a3ed373 (diff) | |
download | scummvm-rg350-4dff848e6ec92f7616e68cbf45d5411ca8fc26b7.tar.gz scummvm-rg350-4dff848e6ec92f7616e68cbf45d5411ca8fc26b7.tar.bz2 scummvm-rg350-4dff848e6ec92f7616e68cbf45d5411ca8fc26b7.zip |
Add more changes for PP
svn-id: r23998
Diffstat (limited to 'engines/simon/window.cpp')
-rw-r--r-- | engines/simon/window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/simon/window.cpp b/engines/simon/window.cpp index cabbc76cf4..aa39ac0c97 100644 --- a/engines/simon/window.cpp +++ b/engines/simon/window.cpp @@ -72,7 +72,7 @@ void SimonEngine::changeWindow(uint a) { showmessage_print_char(0); _textWindow = _windowArray[a]; - if (getGameType() == GType_FF) + if (getGameType() == GType_FF || getGameType() == GType_PP) showmessage_helper_3(_textWindow->textColumn, _textWindow->width); else showmessage_helper_3(_textWindow->textLength, _textWindow->textMaxLength); @@ -109,7 +109,7 @@ void SimonEngine::colorWindow(WindowBlock *window) { _lockWord |= 0x8000; - if (getGameType() == GType_FF) { + if (getGameType() == GType_FF || getGameType() == GType_PP) { dst = getFrontBuf() + _dxSurfacePitch * window->y + window->x; for (h = 0; h < window->height; h++) { @@ -142,7 +142,7 @@ void SimonEngine::resetWindow(WindowBlock *window) { void SimonEngine::restoreWindow(WindowBlock *window) { _lockWord |= 0x8000; - if (getGameType() == GType_FF) { + if (getGameType() == GType_FF || getGameType() == GType_PP) { restoreBlock(window->y + window->height, window->x + window->width, window->y, window->x); } else if (getGameType() == GType_SIMON2) { if (_restoreWindow6 && _windowArray[2] == window) { |