From bb813719b56a3e2a51b7c73385d036f61fdde584 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 15 Sep 2016 18:39:45 +0200 Subject: ENGINES: Change targets to have an 'engine ID' The engine ID identifies which engine should be used to launch the target. Also remove the 'single ID' system. Different games from engines that used that system now have different game IDs. Also-By: Matthew Hoops --- base/plugins.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'base/plugins.h') diff --git a/base/plugins.h b/base/plugins.h index 1daa426202..ccb1acf3fb 100644 --- a/base/plugins.h +++ b/base/plugins.h @@ -315,8 +315,8 @@ public: virtual void init() {} virtual void loadFirstPlugin() {} virtual bool loadNextPlugin() { return false; } - virtual bool loadPluginFromGameId(const Common::String &gameId) { return false; } - virtual void updateConfigWithFileName(const Common::String &gameId) {} + virtual bool loadPluginFromEngineId(const Common::String &engineId) { return false; } + virtual void updateConfigWithFileName(const Common::String &engineId) {} // Functions used only by the cached PluginManager virtual void loadAllPlugins(); @@ -345,8 +345,8 @@ public: virtual void init(); virtual void loadFirstPlugin(); virtual bool loadNextPlugin(); - virtual bool loadPluginFromGameId(const Common::String &gameId); - virtual void updateConfigWithFileName(const Common::String &gameId); + virtual bool loadPluginFromEngineId(const Common::String &engineId); + virtual void updateConfigWithFileName(const Common::String &engineId); virtual void loadAllPlugins() {} // we don't allow these virtual void loadAllPluginsOfType(PluginType type) {} -- cgit v1.2.3