aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource_intern.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/resource_intern.h')
-rw-r--r--engines/sci/resource_intern.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/engines/sci/resource_intern.h b/engines/sci/resource_intern.h
index 1a8e6ec747..c3642cda1b 100644
--- a/engines/sci/resource_intern.h
+++ b/engines/sci/resource_intern.h
@@ -34,6 +34,19 @@ namespace Common {
namespace Sci {
+enum ResSourceType {
+ kSourceDirectory = 0,
+ kSourcePatch,
+ kSourceVolume,
+ kSourceExtMap,
+ kSourceIntMap,
+ kSourceAudioVolume,
+ kSourceExtAudioMap,
+ kSourceWave,
+ kSourceMacResourceFork
+};
+
+
class ResourceSource {
protected:
const ResSourceType _sourceType;
@@ -48,8 +61,9 @@ public:
int32 *audioCompressionOffsetMapping;
Common::MacResManager *_macResMan;
-public:
+protected:
ResourceSource(ResSourceType type, const Common::String &name);
+public:
virtual ~ResourceSource();
ResSourceType getSourceType() const { return _sourceType; }