aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/resource.h4
-rw-r--r--engines/sci/resource_intern.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h
index 9d372eaf02..9cf7120ed7 100644
--- a/engines/sci/resource.h
+++ b/engines/sci/resource.h
@@ -205,6 +205,10 @@ public:
* This method is used only by the "dump" debugger command.
*/
void writeToStream(Common::WriteStream *stream) const;
+
+ // FIXME: This audio specific method is a hack. After all, why should a
+ // Resource have audio specific methods? But for now we keep this, as it
+ // eases transition.
uint32 getAudioCompressionType() const;
protected:
diff --git a/engines/sci/resource_intern.h b/engines/sci/resource_intern.h
index 042c5428d8..8cb13bd311 100644
--- a/engines/sci/resource_intern.h
+++ b/engines/sci/resource_intern.h
@@ -85,8 +85,10 @@ public:
*/
virtual void loadResource(Resource *res);
+ // FIXME: This audio specific method is a hack. After all, why should a
+ // ResourceSource or a Resource (which uses this method) have audio
+ // specific methods? But for now we keep this, as it eases transition.
virtual uint32 getAudioCompressionType() const { return 0; }
-
};
class DirectoryResourceSource : public ResourceSource {