aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/riven.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2010-01-22 03:43:57 +0000
committerMatthew Hoops2010-01-22 03:43:57 +0000
commitc04f8d00b15d0ebedce6b27e60e64a48f9259e42 (patch)
treec1c135e9a34e23184aba7ffa8979dd8ed663c495 /engines/mohawk/riven.cpp
parent716a2bf2423dac64dff5080fc59d75a9ae0e3723 (diff)
downloadscummvm-rg350-c04f8d00b15d0ebedce6b27e60e64a48f9259e42.tar.gz
scummvm-rg350-c04f8d00b15d0ebedce6b27e60e64a48f9259e42.tar.bz2
scummvm-rg350-c04f8d00b15d0ebedce6b27e60e64a48f9259e42.zip
Rename MohawkFile to MohawkArchive and OldMohawkFile to LivingBooksArchive_v1 (the latter originally having an ambiguous meaning) and move them to resource.* Also, renaming the Living Books game types to remove the ambiguous old/new.
svn-id: r47429
Diffstat (limited to 'engines/mohawk/riven.cpp')
-rw-r--r--engines/mohawk/riven.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/riven.cpp b/engines/mohawk/riven.cpp
index 4d9c82d68f..7b6565c58e 100644
--- a/engines/mohawk/riven.cpp
+++ b/engines/mohawk/riven.cpp
@@ -83,7 +83,7 @@ Common::Error MohawkEngine_Riven::run() {
// Open extras.mhk for common images (non-existant in the demo)
if (!(getFeatures() & GF_DEMO)) {
- _extrasFile = new MohawkFile();
+ _extrasFile = new MohawkArchive();
_extrasFile->open("extras.mhk");
}
@@ -230,7 +230,7 @@ void MohawkEngine_Riven::changeToStack(uint16 n) {
for (int i = 0; i < ARRAYSIZE(endings); i++) {
Common::String filename = Common::String(prefix) + endings[i];
if (Common::File::exists(filename)) {
- MohawkFile *mhk = new MohawkFile();
+ MohawkArchive *mhk = new MohawkArchive();
mhk->open(filename);
_mhk.push_back(mhk);
}