diff options
author | johndoe123 | 2013-01-10 22:52:46 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:47:39 +0200 |
commit | 4b7ad48ca8857fd0c597ae1cc1ce599a3286bd57 (patch) | |
tree | fd270ee041d4bd061bb7ffafc51b50d333e4d565 /engines/neverhood/detection.cpp | |
parent | fec1d7816a3e9924db7eb617eda1a6f3fd7b8978 (diff) | |
download | scummvm-rg350-4b7ad48ca8857fd0c597ae1cc1ce599a3286bd57.tar.gz scummvm-rg350-4b7ad48ca8857fd0c597ae1cc1ce599a3286bd57.tar.bz2 scummvm-rg350-4b7ad48ca8857fd0c597ae1cc1ce599a3286bd57.zip |
NEVERHOOD: Rename some CollisionMan methods/fields
- Remove fallback detector (I think it's not needed)
- Rename Scene insertMouse methods
Diffstat (limited to 'engines/neverhood/detection.cpp')
-rw-r--r-- | engines/neverhood/detection.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
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; |