aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r--engines/sci/resource.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h
index eb1b844071..b9825011e5 100644
--- a/engines/sci/resource.h
+++ b/engines/sci/resource.h
@@ -185,6 +185,7 @@ public:
uint32 _headerSize;
void writeToStream(Common::WriteStream *stream) const;
+ uint32 getAudioCompressionType();
protected:
int32 _fileOffset; /**< Offset in file */
@@ -333,6 +334,12 @@ protected:
ResourceSource *addInternalMap(const char *name, int resNr);
/**
+ * Checks, if an audio volume got compressed by our tool. If that's the case, it will set audioCompressionType
+ * and read in the offset translation table for later usage.
+ */
+ void checkIfAudioVolumeIsCompressed(ResourceSource *source);
+
+ /**
* Scans newly registered resource sources for resources, earliest addition first.
* @param detected_version: Pointer to the detected version number,
* used during startup. May be NULL.