Changes

Jump to navigation Jump to search
72 bytes added ,  15:03, 25 October 2018
m
Text replacement - "</source>" to "</syntaxhighlight>"
language=en
platform=pc
</sourcesyntaxhighlight>
What you see here is several sections designated by identifiers in square brackets and set of key/value pairs belonging to each such section.
const char *description;
};
</sourcesyntaxhighlight>
This table contains all gameids which are known by the engine. Also each gameid contains a full human-readable description, which is used to provide the '''description''' field in the ScummVM configuration file.
{0, 0}
};
</sourcesyntaxhighlight>
Please note that it is NULL-terminated, and also contains the generic gameid ''cine'' which is used by fallback detection.
const char *guioptions;
};
</sourcesyntaxhighlight>
'''gameid''' -- This is the gameid. Mainly it is used for taking the game description from the ''PlainGameDescriptor'' table.
{ AD_TABLE_END_MARKER, 0, 0 }
};
</sourcesyntaxhighlight>
== ADGameFileDescription structure ==
int32 fileSize; ///< Size of the described file. Set to -1 to ignore.
};
</sourcesyntaxhighlight>
'''fileName''' -- name of the file. It is case insensitive, but historically we use lowercase names.
{0, 0, Common::kPlatformUnknown}
};
</sourcesyntaxhighlight>
= AdvancedMetaEngine =
<syntaxhighlight lang="cpp">
AdvancedMetaEngine(const void *descs, uint descItemSize, const PlainGameDescriptor *gameids);
</sourcesyntaxhighlight>
'''descs''' must point to a list of ''ADGameDescription'' structures, or their supersets.
TrustedUser
1,986

edits

Navigation menu