diff options
-rw-r--r-- | base/plugins.h | 6 | ||||
-rw-r--r-- | engines/cine/cine.cpp | 2 | ||||
-rw-r--r-- | engines/gob/gob.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/kyra.cpp | 2 | ||||
-rw-r--r-- | engines/lure/lure.cpp | 2 | ||||
-rw-r--r-- | engines/queen/queen.cpp | 2 | ||||
-rw-r--r-- | engines/saga/game.cpp | 2 | ||||
-rw-r--r-- | engines/scumm/plugin.cpp | 2 | ||||
-rw-r--r-- | engines/simon/game.cpp | 2 | ||||
-rw-r--r-- | engines/sky/sky.cpp | 2 | ||||
-rw-r--r-- | engines/sword1/sword1.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/sword2.cpp | 2 |
12 files changed, 15 insertions, 13 deletions
diff --git a/base/plugins.h b/base/plugins.h index 678d2f5f6d..8e5efcf2ea 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -123,7 +123,8 @@ public: Engine_##ID##_create, \ Engine_##ID##_detectGames \ );\ - } + } \ + void dummyFuncToAllowTrailingSemicolon() #else #define REGISTER_PLUGIN(ID,name) \ extern "C" { \ @@ -132,7 +133,8 @@ public: PLUGIN_EXPORT GameDescriptor PLUGIN_findGameID(const char *gameid) { return Engine_##ID##_findGameID(gameid); } \ PLUGIN_EXPORT Engine *PLUGIN_createEngine(GameDetector *detector, OSystem *syst) { return Engine_##ID##_create(detector, syst); } \ PLUGIN_EXPORT DetectedGameList PLUGIN_detectGames(const FSList &fslist) { return Engine_##ID##_detectGames(fslist); } \ - } + } \ + void dummyFuncToAllowTrailingSemicolon() #endif #ifndef DYNAMIC_MODULES diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp index 5c08e95ec1..d36ab79eeb 100644 --- a/engines/cine/cine.cpp +++ b/engines/cine/cine.cpp @@ -120,7 +120,7 @@ Engine *Engine_CINE_create(GameDetector *detector, OSystem *syst) { return new Cine::CineEngine(detector, syst); } -REGISTER_PLUGIN(CINE, "CINE Engine") +REGISTER_PLUGIN(CINE, "CINE Engine"); namespace Cine { diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index d25740aded..afd4dbfe50 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -387,4 +387,4 @@ Engine *Engine_GOB_create(GameDetector * detector, OSystem *syst) { return new GobEngine(detector, syst, features); } -REGISTER_PLUGIN(GOB, "Gob Engine") +REGISTER_PLUGIN(GOB, "Gob Engine"); diff --git a/engines/kyra/kyra.cpp b/engines/kyra/kyra.cpp index 8bc80e9a72..4d8e93c9e6 100644 --- a/engines/kyra/kyra.cpp +++ b/engines/kyra/kyra.cpp @@ -209,7 +209,7 @@ Engine *Engine_KYRA_create(GameDetector *detector, OSystem *system) { return new KyraEngine(detector, system); } -REGISTER_PLUGIN(KYRA, "Legend of Kyrandia Engine") +REGISTER_PLUGIN(KYRA, "Legend of Kyrandia Engine"); namespace Kyra { diff --git a/engines/lure/lure.cpp b/engines/lure/lure.cpp index e4b313580b..3d54c1407f 100644 --- a/engines/lure/lure.cpp +++ b/engines/lure/lure.cpp @@ -159,7 +159,7 @@ Engine *Engine_LURE_create(GameDetector *detector, OSystem *system) { return new LureEngine(system); } -REGISTER_PLUGIN(LURE, "Lure of the Temptress Engine") +REGISTER_PLUGIN(LURE, "Lure of the Temptress Engine"); namespace Lure { diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp index 76aab5b3f4..7c0d767912 100644 --- a/engines/queen/queen.cpp +++ b/engines/queen/queen.cpp @@ -133,7 +133,7 @@ Engine *Engine_QUEEN_create(GameDetector *detector, OSystem *syst) { return new Queen::QueenEngine(syst); } -REGISTER_PLUGIN(QUEEN, "Flight of the Amazon Queen") +REGISTER_PLUGIN(QUEEN, "Flight of the Amazon Queen"); namespace Queen { diff --git a/engines/saga/game.cpp b/engines/saga/game.cpp index 20a2d39d16..f44a736f0e 100644 --- a/engines/saga/game.cpp +++ b/engines/saga/game.cpp @@ -88,7 +88,7 @@ Engine *Engine_SAGA_create(GameDetector *detector, OSystem *syst) { return new Saga::SagaEngine(detector, syst); } -REGISTER_PLUGIN(SAGA, "SAGA Engine") +REGISTER_PLUGIN(SAGA, "SAGA Engine"); namespace Saga { diff --git a/engines/scumm/plugin.cpp b/engines/scumm/plugin.cpp index 6b7de39c6f..3b597bad46 100644 --- a/engines/scumm/plugin.cpp +++ b/engines/scumm/plugin.cpp @@ -1451,7 +1451,7 @@ Engine *Engine_SCUMM_create(GameDetector *detector, OSystem *syst) { return engine; } -REGISTER_PLUGIN(SCUMM, "Scumm Engine") +REGISTER_PLUGIN(SCUMM, "Scumm Engine"); #ifdef PALMOS_68K #include "scumm_globals.h" diff --git a/engines/simon/game.cpp b/engines/simon/game.cpp index 16f879d25d..6882794498 100644 --- a/engines/simon/game.cpp +++ b/engines/simon/game.cpp @@ -133,7 +133,7 @@ Engine *Engine_SIMON_create(GameDetector *detector, OSystem *syst) { return new Simon::SimonEngine(syst); } -REGISTER_PLUGIN(SIMON, "Simon the Sorcerer") +REGISTER_PLUGIN(SIMON, "Simon the Sorcerer"); namespace Simon { diff --git a/engines/sky/sky.cpp b/engines/sky/sky.cpp index e99d23275b..636b12683b 100644 --- a/engines/sky/sky.cpp +++ b/engines/sky/sky.cpp @@ -115,7 +115,7 @@ Engine *Engine_SKY_create(GameDetector *detector, OSystem *syst) { return new Sky::SkyEngine(syst); } -REGISTER_PLUGIN(SKY, "Beneath a Steel Sky") +REGISTER_PLUGIN(SKY, "Beneath a Steel Sky"); namespace Sky { diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp index 6fd0254af4..2b5436f0b6 100644 --- a/engines/sword1/sword1.cpp +++ b/engines/sword1/sword1.cpp @@ -121,7 +121,7 @@ Engine *Engine_SWORD1_create(GameDetector *detector, OSystem *syst) { return new SwordEngine(detector, syst); } -REGISTER_PLUGIN(SWORD1, "Broken Sword") +REGISTER_PLUGIN(SWORD1, "Broken Sword"); namespace Sword1 { diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index b507813c19..abd2ce5291 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -116,7 +116,7 @@ Engine *Engine_SWORD2_create(GameDetector *detector, OSystem *syst) { return new Sword2::Sword2Engine(detector, syst); } -REGISTER_PLUGIN(SWORD2, "Broken Sword 2") +REGISTER_PLUGIN(SWORD2, "Broken Sword 2"); namespace Sword2 { |