aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/gfx.cpp
diff options
context:
space:
mode:
authorTravis Howell2009-08-11 14:42:44 +0000
committerTravis Howell2009-08-11 14:42:44 +0000
commit1c15bcf87d158b7cfb9047015344ebb2717f3c37 (patch)
treea21f0dbd042cd48792d822f71f83f4ddeb660d12 /engines/agos/gfx.cpp
parent7f667c528916f8d1082bfc582a74c5d2a6b9a4c9 (diff)
downloadscummvm-rg350-1c15bcf87d158b7cfb9047015344ebb2717f3c37.tar.gz
scummvm-rg350-1c15bcf87d158b7cfb9047015344ebb2717f3c37.tar.bz2
scummvm-rg350-1c15bcf87d158b7cfb9047015344ebb2717f3c37.zip
Add option to disable later games (Feeble Files, Puzzle Pack) in AGOS game engine, which require higher resolution.
svn-id: r43270
Diffstat (limited to 'engines/agos/gfx.cpp')
-rw-r--r--engines/agos/gfx.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agos/gfx.cpp b/engines/agos/gfx.cpp
index 1b5a820260..a7bd1895c5 100644
--- a/engines/agos/gfx.cpp
+++ b/engines/agos/gfx.cpp
@@ -226,6 +226,7 @@ bool AGOSEngine::drawImage_clip(VC10_state *state) {
return (state->draw_width != 0 && state->draw_height != 0);
}
+#ifdef ENABLE_AGOS2
void AGOSEngine_Feeble::scaleClip(int16 h, int16 w, int16 y, int16 x, int16 scrollY) {
Common::Rect srcRect, dstRect;
float factor, xscale;
@@ -461,6 +462,7 @@ void AGOSEngine_Feeble::drawImage(VC10_state *state) {
} while (--state->draw_height);
}
}
+#endif
void AGOSEngine_Simon1::drawMaskedImage(VC10_state *state) {
if (getGameType() == GType_SIMON1 && (_windowNum == 3 || _windowNum == 4 || _windowNum >= 10)) {