Ticket #3021: advdetector_no_const.diff
File advdetector_no_const.diff, 1.2 KB (added by , 18 years ago) |
---|
-
common/advancedDetector.h
32 32 33 33 struct ADGameFileDescription { 34 34 const char *fileName; 35 uint16 fileType; 36 const char *md5; 37 const int32 fileSize;// Optional. Set to -1 to ignore.35 uint16 fileType; // Optional. Not used during detection, only by engines. 36 const char *md5; // Optional. May be NULL. 37 int32 fileSize; // Optional. Set to -1 to ignore. 38 38 }; 39 39 40 40 struct ADGameDescription { 41 41 const char *gameid; 42 42 const char *extra; 43 constADGameFileDescription filesDescriptions[14];43 ADGameFileDescription filesDescriptions[14]; 44 44 Language language; 45 45 Platform platform; 46 46 }; … … 59 59 // Pointer to ADGameDescription or its superset structure 60 60 const byte *descs; 61 61 // Size of that superset structure 62 constint descItemSize;62 int descItemSize; 63 63 // Number of bytes to compute MD5 sum for 64 constint md5Bytes;64 int md5Bytes; 65 65 // List of all engine targets 66 66 const PlainGameDescriptor *list; 67 67 // Structure for autoupgrading obsolete targets (optional)