Gregory's patch for bug #1645653 ("MSVC71 BUILD: Latest SVN doesn't compile").

svn-id: r25251
This commit is contained in:
Johannes Schickel 2007-01-28 23:24:16 +00:00
parent 27432a4dc1
commit 7da1a56387

View file

@ -34,13 +34,13 @@ struct ADGameFileDescription {
const char *fileName; const char *fileName;
uint16 fileType; // Optional. Not used during detection, only by engines. uint16 fileType; // Optional. Not used during detection, only by engines.
const char *md5; // Optional. May be NULL. const char *md5; // Optional. May be NULL.
const int32 fileSize; // Optional. Set to -1 to ignore. int32 fileSize; // Optional. Set to -1 to ignore.
}; };
struct ADGameDescription { struct ADGameDescription {
const char *gameid; const char *gameid;
const char *extra; const char *extra;
const ADGameFileDescription filesDescriptions[14]; ADGameFileDescription filesDescriptions[14];
Language language; Language language;
Platform platform; Platform platform;
}; };
@ -59,9 +59,9 @@ struct ADParams {
// Pointer to ADGameDescription or its superset structure // Pointer to ADGameDescription or its superset structure
const byte *descs; const byte *descs;
// Size of that superset structure // Size of that superset structure
const int descItemSize; int descItemSize;
// Number of bytes to compute MD5 sum for // Number of bytes to compute MD5 sum for
const int md5Bytes; int md5Bytes;
// List of all engine targets // List of all engine targets
const PlainGameDescriptor *list; const PlainGameDescriptor *list;
// Structure for autoupgrading obsolete targets (optional) // Structure for autoupgrading obsolete targets (optional)