From 5185c61a2e6829fa0d3c7e678310b6687defa50e Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 18 Apr 2012 11:33:26 +0200 Subject: ENGINES: Move table of engines from base/plugins.cpp to new header The new header engines/plugins_table.h is currently manually created and maintained, but could be regenerated by a script in the future. --- base/plugins.cpp | 103 +------------------------------------------------------ 1 file changed, 1 insertion(+), 102 deletions(-) (limited to 'base/plugins.cpp') diff --git a/base/plugins.cpp b/base/plugins.cpp index db8a5d8817..c19b60782d 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -85,108 +85,7 @@ public: // Iterate over all registered (static) plugins and load them. // Engine plugins - #if PLUGIN_ENABLED_STATIC(SCUMM) - LINK_PLUGIN(SCUMM) - #endif - #if PLUGIN_ENABLED_STATIC(AGI) - LINK_PLUGIN(AGI) - #endif - #if PLUGIN_ENABLED_STATIC(AGOS) - LINK_PLUGIN(AGOS) - #endif - #if PLUGIN_ENABLED_STATIC(CGE) - LINK_PLUGIN(CGE) - #endif - #if PLUGIN_ENABLED_STATIC(CINE) - LINK_PLUGIN(CINE) - #endif - #if PLUGIN_ENABLED_STATIC(COMPOSER) - LINK_PLUGIN(COMPOSER) - #endif - #if PLUGIN_ENABLED_STATIC(CRUISE) - LINK_PLUGIN(CRUISE) - #endif - #if PLUGIN_ENABLED_STATIC(DRACI) - LINK_PLUGIN(DRACI) - #endif - #if PLUGIN_ENABLED_STATIC(DRASCULA) - LINK_PLUGIN(DRASCULA) - #endif - #if PLUGIN_ENABLED_STATIC(DREAMWEB) - LINK_PLUGIN(DREAMWEB) - #endif - #if PLUGIN_ENABLED_STATIC(GOB) - LINK_PLUGIN(GOB) - #endif - #if PLUGIN_ENABLED_STATIC(GROOVIE) - LINK_PLUGIN(GROOVIE) - #endif - #if PLUGIN_ENABLED_STATIC(HUGO) - LINK_PLUGIN(HUGO) - #endif - #if PLUGIN_ENABLED_STATIC(KYRA) - LINK_PLUGIN(KYRA) - #endif - #if PLUGIN_ENABLED_STATIC(LASTEXPRESS) - LINK_PLUGIN(LASTEXPRESS) - #endif - #if PLUGIN_ENABLED_STATIC(LURE) - LINK_PLUGIN(LURE) - #endif - #if PLUGIN_ENABLED_STATIC(MADE) - LINK_PLUGIN(MADE) - #endif - #if PLUGIN_ENABLED_STATIC(MOHAWK) - LINK_PLUGIN(MOHAWK) - #endif - #if PLUGIN_ENABLED_STATIC(PARALLACTION) - LINK_PLUGIN(PARALLACTION) - #endif - #if PLUGIN_ENABLED_STATIC(QUEEN) - LINK_PLUGIN(QUEEN) - #endif - #if PLUGIN_ENABLED_STATIC(SAGA) - LINK_PLUGIN(SAGA) - #endif - #if PLUGIN_ENABLED_STATIC(SCI) - LINK_PLUGIN(SCI) - #endif - #if PLUGIN_ENABLED_STATIC(SKY) - LINK_PLUGIN(SKY) - #endif - #if PLUGIN_ENABLED_STATIC(SWORD1) - LINK_PLUGIN(SWORD1) - #endif - #if PLUGIN_ENABLED_STATIC(SWORD2) - LINK_PLUGIN(SWORD2) - #endif - #if PLUGIN_ENABLED_STATIC(SWORD25) - LINK_PLUGIN(SWORD25) - #endif - #if PLUGIN_ENABLED_STATIC(TEENAGENT) - LINK_PLUGIN(TEENAGENT) - #endif - #if PLUGIN_ENABLED_STATIC(TESTBED) - LINK_PLUGIN(TESTBED) - #endif - #if PLUGIN_ENABLED_STATIC(TINSEL) - LINK_PLUGIN(TINSEL) - #endif - #if PLUGIN_ENABLED_STATIC(TOLTECS) - LINK_PLUGIN(TOLTECS) - #endif - #if PLUGIN_ENABLED_STATIC(TOON) - LINK_PLUGIN(TOON) - #endif - #if PLUGIN_ENABLED_STATIC(TSAGE) - LINK_PLUGIN(TSAGE) - #endif - #if PLUGIN_ENABLED_STATIC(TOUCHE) - LINK_PLUGIN(TOUCHE) - #endif - #if PLUGIN_ENABLED_STATIC(TUCKER) - LINK_PLUGIN(TUCKER) - #endif + #include "engines/plugins_table.h" // Music plugins // TODO: Use defines to disable or enable each MIDI driver as a -- cgit v1.2.3 From 8cfe25cd658ddbbb811ff2b9fce7e46ea6bc855a Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 14 May 2012 23:37:30 +1000 Subject: MIDI: add sndio midi backend New sndio MIDI backend for OpenBSD written by Alexandre Ratchov. Tested with an external MT-32 and fluidsynth. --- base/plugins.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'base/plugins.cpp') diff --git a/base/plugins.cpp b/base/plugins.cpp index c19b60782d..b8cd097683 100644 --- a/base/plugins.cpp +++ b/base/plugins.cpp @@ -101,6 +101,9 @@ public: #if defined(USE_SEQ_MIDI) LINK_PLUGIN(SEQ) #endif + #if defined(USE_SNDIO) + LINK_PLUGIN(SNDIO) + #endif #if defined(__MINT__) LINK_PLUGIN(STMIDI) #endif -- cgit v1.2.3