From 4b7ad48ca8857fd0c597ae1cc1ce599a3286bd57 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Thu, 10 Jan 2013 22:52:46 +0000 Subject: NEVERHOOD: Rename some CollisionMan methods/fields - Remove fallback detector (I think it's not needed) - Rename Scene insertMouse methods --- engines/neverhood/detection.cpp | 36 ------------------------------------ 1 file changed, 36 deletions(-) (limited to 'engines/neverhood/detection.cpp') diff --git a/engines/neverhood/detection.cpp b/engines/neverhood/detection.cpp index c40b9e76c7..9dc4582ba7 100644 --- a/engines/neverhood/detection.cpp +++ b/engines/neverhood/detection.cpp @@ -108,26 +108,6 @@ static const NeverhoodGameDescription gameDescriptions[] = { { AD_TABLE_END_MARKER, 0, 0, 0, 0 } }; -/** - * The fallback game descriptor used by the Neverhood engine's fallbackDetector. - * Contents of this struct are to be overwritten by the fallbackDetector. - */ -static NeverhoodGameDescription g_fallbackDesc = { - { - "", - "", - AD_ENTRY1(0, 0), // This should always be AD_ENTRY1(0, 0) in the fallback descriptor - Common::UNK_LANG, - Common::kPlatformPC, - ADGF_NO_FLAGS, - GUIO_NONE - }, - 0, - 0, - 0, - 0, -}; - } // End of namespace Neverhood class NeverhoodMetaEngine : public AdvancedMetaEngine { @@ -152,8 +132,6 @@ public: void removeSaveState(const char *target, int slot) const; SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; - const ADGameDescription *fallbackDetect(const Common::FSList &fslist) const; - }; bool NeverhoodMetaEngine::hasFeature(MetaEngineFeature f) const { @@ -182,20 +160,6 @@ bool NeverhoodMetaEngine::createInstance(OSystem *syst, Engine **engine, const A return gd != 0; } -const ADGameDescription *NeverhoodMetaEngine::fallbackDetect(const Common::FSList &fslist) const { - // Set the default values for the fallback descriptor's ADGameDescription part. - Neverhood::g_fallbackDesc.desc.language = Common::UNK_LANG; - Neverhood::g_fallbackDesc.desc.platform = Common::kPlatformPC; - Neverhood::g_fallbackDesc.desc.flags = ADGF_NO_FLAGS; - - // Set default values for the fallback descriptor's NeverhoodGameDescription part. - Neverhood::g_fallbackDesc.gameID = 0; - Neverhood::g_fallbackDesc.features = 0; - Neverhood::g_fallbackDesc.version = 3; - - return NULL; -} - SaveStateList NeverhoodMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); Neverhood::NeverhoodEngine::SaveHeader header; -- cgit v1.2.3