diff options
author | Matthew Hoops | 2010-01-22 03:43:57 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-01-22 03:43:57 +0000 |
commit | c04f8d00b15d0ebedce6b27e60e64a48f9259e42 (patch) | |
tree | c1c135e9a34e23184aba7ffa8979dd8ed663c495 /engines/mohawk/myst.cpp | |
parent | 716a2bf2423dac64dff5080fc59d75a9ae0e3723 (diff) | |
download | scummvm-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/myst.cpp')
-rw-r--r-- | engines/mohawk/myst.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/mohawk/myst.cpp b/engines/mohawk/myst.cpp index 753ab83b7b..6c4623027f 100644 --- a/engines/mohawk/myst.cpp +++ b/engines/mohawk/myst.cpp @@ -30,7 +30,7 @@ #include "mohawk/myst_scripts.h" #include "mohawk/myst_saveload.h" #include "mohawk/dialogs.h" -#include "mohawk/file.h" +#include "mohawk/resource.h" #include "mohawk/video/video.h" namespace Mohawk { @@ -223,7 +223,7 @@ Common::Error MohawkEngine_Myst::run() { // Load Help System (Masterpiece Edition Only) if (getFeatures() & GF_ME) { - MohawkFile *mhk = new MohawkFile(); + MohawkArchive *mhk = new MohawkArchive(); mhk->open("help.dat"); _mhk.push_back(mhk); } @@ -316,10 +316,10 @@ void MohawkEngine_Myst::changeToStack(uint16 stack) { // If the array is empty, add a new one. Otherwise, delete the first // entry which is the stack file (the second, if there, is the help file). if (_mhk.empty()) - _mhk.push_back(new MohawkFile()); + _mhk.push_back(new MohawkArchive()); else { delete _mhk[0]; - _mhk[0] = new MohawkFile(); + _mhk[0] = new MohawkArchive(); } _mhk[0]->open(mystFiles[_curStack]); |