diff options
author | Filippos Karapetis | 2010-06-13 07:17:44 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-13 07:17:44 +0000 |
commit | eff1d4bb1c2e1a33946c7333c3d28f38dfdcb5e8 (patch) | |
tree | 42e226e3fcbfa594d14da68bed18836aaca4a7e5 /engines/sci/resource.h | |
parent | 94cdfefe1c9c32b3497d8d1564d4e5e0940dc403 (diff) | |
download | scummvm-rg350-eff1d4bb1c2e1a33946c7333c3d28f38dfdcb5e8.tar.gz scummvm-rg350-eff1d4bb1c2e1a33946c7333c3d28f38dfdcb5e8.tar.bz2 scummvm-rg350-eff1d4bb1c2e1a33946c7333c3d28f38dfdcb5e8.zip |
Added a default constructor for the ResourceSource struct
svn-id: r49622
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 66742f11f5..7fbb3ca9a2 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -133,6 +133,15 @@ struct ResourceSource { uint32 audioCompressionType; int32 *audioCompressionOffsetMapping; Common::MacResManager macResMan; + ResourceSource() { + source_type = kSourceDirectory; + scanned = false; + resourceFile = 0; + volume_number = 0; + associated_map = NULL; + audioCompressionType = 0; + audioCompressionOffsetMapping = NULL; + } }; class ResourceId { |