diff options
author | Filippos Karapetis | 2010-05-27 08:09:32 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-05-27 08:09:32 +0000 |
commit | e5eaf3ee5578367cc74c3155a68a904e6ce77b9b (patch) | |
tree | 23e42eaccd637a621e7d66e2b5d2803a495aad28 /engines/sci/resource.h | |
parent | 739f551852b428115f2cd2bca4f7a0a1054b79a8 (diff) | |
download | scummvm-rg350-e5eaf3ee5578367cc74c3155a68a904e6ce77b9b.tar.gz scummvm-rg350-e5eaf3ee5578367cc74c3155a68a904e6ce77b9b.tar.bz2 scummvm-rg350-e5eaf3ee5578367cc74c3155a68a904e6ce77b9b.zip |
Split all of the audio-related functions of the resource manager in a separate file
svn-id: r49260
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 8e83ed7bf0..dbd99f633d 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -26,8 +26,9 @@ #ifndef SCI_SCICORE_RESOURCE_H #define SCI_SCICORE_RESOURCE_H -#include "common/str.h" #include "common/fs.h" +#include "common/macresman.h" +#include "common/str.h" #include "sci/graphics/helpers.h" // for ViewType #include "sci/decompressor.h" @@ -121,7 +122,18 @@ const char *getResourceTypeName(ResourceType restype); class ResourceManager; -struct ResourceSource; + +struct ResourceSource { + ResSourceType source_type; + bool scanned; + Common::String location_name; // FIXME: Replace by FSNode ? + const Common::FSNode *resourceFile; + int volume_number; + ResourceSource *associated_map; + uint32 audioCompressionType; + int32 *audioCompressionOffsetMapping; + Common::MacResManager macResMan; +}; class ResourceId { public: |