aboutsummaryrefslogtreecommitdiff
path: root/saga/image.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2005-01-11 21:10:36 +0000
committerAndrew Kurushin2005-01-11 21:10:36 +0000
commit244b227b19b6bec659e4c00e2d7aa9596978cbe5 (patch)
treef7a88160f68d6f4da5e5580ae13ce9bb382d7795 /saga/image.cpp
parentf1026ce3eb0bf4ad4e68987e4952dff141ccf331 (diff)
downloadscummvm-rg350-244b227b19b6bec659e4c00e2d7aa9596978cbe5.tar.gz
scummvm-rg350-244b227b19b6bec659e4c00e2d7aa9596978cbe5.tar.bz2
scummvm-rg350-244b227b19b6bec659e4c00e2d7aa9596978cbe5.zip
- remove game.h & image.h
- all display information of current game goes to SagaEngine - remove GameFontIds - hide SagaEngine _gameId,_gameType & etc with methods getGameId(), getGameType() svn-id: r16545
Diffstat (limited to 'saga/image.cpp')
-rw-r--r--saga/image.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/saga/image.cpp b/saga/image.cpp
index c50d3479c4..379eae2cfc 100644
--- a/saga/image.cpp
+++ b/saga/image.cpp
@@ -24,7 +24,6 @@
// SAGA Image resource management routines
#include "saga/saga.h"
-#include "saga/image.h"
#include "saga/stream.h"
namespace Saga {
@@ -92,7 +91,7 @@ int SagaEngine::decodeBGImage(const byte *image_data, size_t image_size,
unbankBGImage(out_buf, decode_buf, hdr.width, hdr.height);
// For some reason bg images in IHNM are upside down
- if (_vm->_gameType == GType_IHNM) {
+ if (_vm->getGameType() == GType_IHNM) {
flipImage(out_buf, hdr.width, hdr.height);
}