Changes

Jump to navigation Jump to search
72 bytes added ,  15:02, 25 October 2018
m
Text replacement - "<source lang=" to "<syntaxhighlight lang="
When you look into your .scummvmrc or scummvm.ini (depending on the platform), you will find that generally it has following structure
<source syntaxhighlight lang="INI">
[scummvm]
globalkey1=foo
== PlainGameDescriptor table ==
<source syntaxhighlight lang="cpp">
struct PlainGameDescriptor {
const char *gameid;
Typical PlainGameDescriptor table:
<source syntaxhighlight lang="cpp">
static const PlainGameDescriptor cineGames[] = {
{"cine", "Cinematique evo.1 engine game"},
ADGameDescription table has the following structure:
<source syntaxhighlight lang="cpp">
struct ADGameDescription {
const char *gameid;
Typical ADGameDescription table will look as follows:
<source syntaxhighlight lang="cpp">
static const ADGameDescription gameDescriptions[] = {
{
== ADGameFileDescription structure ==
<source syntaxhighlight lang="cpp">
struct ADGameFileDescription {
const char *fileName; ///< Name of described file.
== Upgrading obsolete gameids ==
<source syntaxhighlight lang="cpp">
static const Engines::ObsoleteGameID obsoleteGameIDsTable[] = {
{"simon1acorn", "simon1", Common::kPlatformAcorn},
== Engine constructor ==
<source syntaxhighlight lang="cpp">
AdvancedMetaEngine(const void *descs, uint descItemSize, const PlainGameDescriptor *gameids);
</source>
TrustedUser
2,000

edits

Navigation menu