aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/render.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-21 22:52:44 +0000
committerFilippos Karapetis2008-12-21 22:52:44 +0000
commit2257db88d3b7923f4cf97b81a4a62ab68f5c5ec0 (patch)
tree868e9b76068bd9a2d9b10ffe2e022f65afb87b51 /engines/saga/render.cpp
parentf6547e0691b59a4450c8c0683fccbd8d568e292f (diff)
downloadscummvm-rg350-2257db88d3b7923f4cf97b81a4a62ab68f5c5ec0.tar.gz
scummvm-rg350-2257db88d3b7923f4cf97b81a4a62ab68f5c5ec0.tar.bz2
scummvm-rg350-2257db88d3b7923f4cf97b81a4a62ab68f5c5ec0.zip
- Added some stubs for the SAGA2 games dino and fta2
- Stopped loading the isomap and puzzle game modules for IHNM, as they are not used for that game (this saves some memory for IHNM) - Removed getDisplayWidth() and getDisplayHeight() svn-id: r35473
Diffstat (limited to 'engines/saga/render.cpp')
-rw-r--r--engines/saga/render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp
index 5e5c9ee09d..918f8325d8 100644
--- a/engines/saga/render.cpp
+++ b/engines/saga/render.cpp
@@ -55,7 +55,7 @@ Render::Render(SagaEngine *vm, OSystem *system) {
_vm->_timer->installTimerProc(&fpsTimerCallback, 1000000, this);
#endif
- _backGroundSurface.create(_vm->getDisplayWidth(), _vm->getDisplayHeight(), 1);
+ _backGroundSurface.create(_vm->getDisplayInfo().logicalWidth, _vm->getDisplayInfo().logicalHeight, 1);
_flags = 0;
@@ -104,7 +104,7 @@ void Render::drawScene() {
if (!(_flags & RF_DISABLE_ACTORS) || _vm->getGameId() == GID_ITE)
_vm->_scene->draw();
- if (_vm->_puzzle->isActive()) {
+ if (_vm->getGameId() == GID_ITE && _vm->_puzzle->isActive()) {
_vm->_puzzle->movePiece(mousePoint);
_vm->_actor->drawSpeech();
} else {