diff options
author | Max Horn | 2010-06-15 12:35:39 +0000 |
---|---|---|
committer | Max Horn | 2010-06-15 12:35:39 +0000 |
commit | f387025e9b6a38b9023ffb2a766c168120472202 (patch) | |
tree | 1df4f7b3887b9466b7771b668a0acdf18318b843 /engines | |
parent | e4153ffa381542ee14ad268475f679917d177254 (diff) | |
download | scummvm-rg350-f387025e9b6a38b9023ffb2a766c168120472202.tar.gz scummvm-rg350-f387025e9b6a38b9023ffb2a766c168120472202.tar.bz2 scummvm-rg350-f387025e9b6a38b9023ffb2a766c168120472202.zip |
SCI: Add FIXME regarding audio specific code in Resource(Source)
svn-id: r49849
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/resource.h | 4 | ||||
-rw-r--r-- | engines/sci/resource_intern.h | 4 |
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 { |