diff options
| author | Eugene Sandulenko | 2007-01-24 22:42:44 +0000 |
|---|---|---|
| committer | Eugene Sandulenko | 2007-01-24 22:42:44 +0000 |
| commit | 318210ad962ec294b5d74f8f1d81a9e845e2696f (patch) | |
| tree | d9361ae2cd4ac4c266ae0ce13d2847baf124392a /common | |
| parent | edd2422a55caeb5a46ee240feaea70a5aa4a4da2 (diff) | |
| download | scummvm-rg350-318210ad962ec294b5d74f8f1d81a9e845e2696f.tar.gz scummvm-rg350-318210ad962ec294b5d74f8f1d81a9e845e2696f.tar.bz2 scummvm-rg350-318210ad962ec294b5d74f8f1d81a9e845e2696f.zip | |
Add optional size parameter to ADGameFileDescription. Not used now.
svn-id: r25164
Diffstat (limited to 'common')
| -rw-r--r-- | common/advancedDetector.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/advancedDetector.h b/common/advancedDetector.h index 5623cbf76e..011cfa4117 100644 --- a/common/advancedDetector.h +++ b/common/advancedDetector.h @@ -34,6 +34,7 @@ struct ADGameFileDescription { const char *fileName; uint16 fileType; const char *md5; + const int32 fileSize; }; struct ADGameDescription { @@ -66,7 +67,7 @@ struct ADParams { typedef Array<int> ADList; typedef Array<const ADGameDescription*> ADGameDescList; -#define AD_ENTRY1(f, x) {{ f, 0, x }, {NULL, 0, NULL}} +#define AD_ENTRY1(f, x) {{ f, 0, x, -1}, {NULL, 0, NULL, 0}} // TODO/FIXME: Fingolfin asks: Why is AdvancedDetector a class, considering that |
