aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/barchive.h
diff options
context:
space:
mode:
authorRobert Špalek2009-10-11 22:30:40 +0000
committerRobert Špalek2009-10-11 22:30:40 +0000
commitc4563616ae06194087b467746fe2b820b6311ac0 (patch)
treea31010111c1c0900e8c951d90b309063b8e9f33f /engines/draci/barchive.h
parentb6baadff535fd48fbf94a2519ac4a2404088d273 (diff)
downloadscummvm-rg350-c4563616ae06194087b467746fe2b820b6311ac0.tar.gz
scummvm-rg350-c4563616ae06194087b467746fe2b820b6311ac0.tar.bz2
scummvm-rg350-c4563616ae06194087b467746fe2b820b6311ac0.zip
Added support for sound archives.
We initialize them in the DraciEngine constructor, but don't play any sounds yet. Checked that it works for all existing sound files (required several work-arounds against unspoken specification). When copying the interface from barchive.h, I decided to remove some const's from there, because getFile() wasn't really behaving like const. Removed some static Common::String instances. svn-id: r44953
Diffstat (limited to 'engines/draci/barchive.h')
-rw-r--r--engines/draci/barchive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/draci/barchive.h b/engines/draci/barchive.h
index 0d77742de2..020e5e305a 100644
--- a/engines/draci/barchive.h
+++ b/engines/draci/barchive.h
@@ -71,7 +71,7 @@ public:
void clearCache();
- const BAFile *getFile(uint i) const;
+ const BAFile *getFile(uint i);
private:
// Archive header data
@@ -89,8 +89,8 @@ private:
bool _opened; ///< True if the archive is opened, false otherwise
void openDFW(const Common::String &path);
- BAFile *loadFileDFW(uint i) const;
- BAFile *loadFileBAR(uint i) const;
+ BAFile *loadFileDFW(uint i);
+ BAFile *loadFileBAR(uint i);
};
} // End of namespace Draci