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
This commit is contained in:
Matthew Hoops 2010-01-22 03:43:57 +00:00
parent 716a2bf242
commit c04f8d00b1
17 changed files with 78 additions and 78 deletions

View file

@ -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);
}