TrustedUser
2,147
edits
m (Fix code highlighting) |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 159: | Line 159: | ||
#endif | #endif | ||
</ | </syntaxhighlight> | ||
=== Example: engines/quux/quux.cpp === | === Example: engines/quux/quux.cpp === | ||
Line 250: | Line 250: | ||
} // End of namespace Quux | } // End of namespace Quux | ||
</ | </syntaxhighlight> | ||
=== Example: engines/quux/detection.cpp === | === Example: engines/quux/detection.cpp === | ||
Line 351: | Line 351: | ||
REGISTER_PLUGIN_STATIC(QUUX, PLUGIN_TYPE_ENGINE, QuuxMetaEngine); | REGISTER_PLUGIN_STATIC(QUUX, PLUGIN_TYPE_ENGINE, QuuxMetaEngine); | ||
#endif | #endif | ||
</ | </syntaxhighlight> | ||
=== Example: engines/quux/module.mk === | === Example: engines/quux/module.mk === | ||
Line 371: | Line 371: | ||
# Include common rules | # Include common rules | ||
include $(srcdir)/rules.mk | include $(srcdir)/rules.mk | ||
</ | </syntaxhighlight> | ||
=== Example: engines/quux/configure.engine === | === Example: engines/quux/configure.engine === | ||
Line 378: | Line 378: | ||
# add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] | # add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] | ||
add_engine quux "Quux" no | add_engine quux "Quux" no | ||
</ | </syntaxhighlight> |