aboutsummaryrefslogtreecommitdiff
path: root/saga/rscfile.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/rscfile.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/rscfile.cpp')
-rw-r--r--saga/rscfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/rscfile.cpp b/saga/rscfile.cpp
index 8053f640d1..0fbde0ab81 100644
--- a/saga/rscfile.cpp
+++ b/saga/rscfile.cpp
@@ -253,7 +253,7 @@ int RSC_LoadResource(RSCFILE_CONTEXT *rsc, uint32 res_num, byte **res_p, size_t
break;
}
- if (!(_vm->_features & GF_WYRMKEEP))
+ if (!(_vm->getFeatures() & GF_WYRMKEEP))
substnum = -1;
if (substnum != -1) {
@@ -305,7 +305,7 @@ int RSC_FreeResource(byte *resource_ptr) {
int RSC_ConvertID(int id) {
int res = id;
- if (_vm->_features & GF_MAC_RESOURCES) {
+ if (_vm->getFeatures() & GF_MAC_RESOURCES) {
if (res > 1537)
res -= 2;
else if (res == 1535 || res == 1536) {