diff options
Diffstat (limited to 'engines/hopkins')
-rw-r--r-- | engines/hopkins/configure.engine | 2 | ||||
-rw-r--r-- | engines/hopkins/detection.cpp | 7 | ||||
-rw-r--r-- | engines/hopkins/hopkins.h | 1 | ||||
-rw-r--r-- | engines/hopkins/sound.cpp | 2 | ||||
-rw-r--r-- | engines/hopkins/sound.h | 10 |
5 files changed, 15 insertions, 7 deletions
diff --git a/engines/hopkins/configure.engine b/engines/hopkins/configure.engine index c38ecd4cd2..cd9f50a5f9 100644 --- a/engines/hopkins/configure.engine +++ b/engines/hopkins/configure.engine @@ -1,3 +1,3 @@ # This file is included from the main "configure" script # add_engine [name] [desc] [build-by-default] [subengines] [base games] [deps] -add_engine hopkins "Hopkins FBI" yes "" "" "16bit" +add_engine hopkins "Hopkins FBI" yes "" "" "16bit highres" diff --git a/engines/hopkins/detection.cpp b/engines/hopkins/detection.cpp index a25b19e496..cfdbf8030c 100644 --- a/engines/hopkins/detection.cpp +++ b/engines/hopkins/detection.cpp @@ -111,7 +111,7 @@ public: } virtual const char *getOriginalCopyright() const { - return "Hopkins FBI (c)1997-2003 MP Entertainment"; + return "Hopkins FBI (C)1997-2003 MP Entertainment"; } virtual bool hasFeature(MetaEngineFeature f) const; @@ -150,10 +150,9 @@ SaveStateList HopkinsMetaEngine::listSaves(const char *target) const { Common::SaveFileManager *saveFileMan = g_system->getSavefileManager(); Common::StringArray filenames; Common::String saveDesc; - Common::String pattern = Common::String::format("%s.0??", target); + Common::String pattern = Common::String::format("%s.0##", target); filenames = saveFileMan->listSavefiles(pattern); - sort(filenames.begin(), filenames.end()); // Sort to get the files in numerical order Hopkins::hopkinsSavegameHeader header; @@ -178,6 +177,8 @@ SaveStateList HopkinsMetaEngine::listSaves(const char *target) const { } } + // Sort saves based on slot number. + Common::sort(saveList.begin(), saveList.end(), SaveStateDescriptorSlotComparator()); return saveList; } diff --git a/engines/hopkins/hopkins.h b/engines/hopkins/hopkins.h index b782d103a8..30140baa2e 100644 --- a/engines/hopkins/hopkins.h +++ b/engines/hopkins/hopkins.h @@ -48,7 +48,6 @@ #include "common/util.h" #include "engines/engine.h" #include "graphics/surface.h" -#include "gui/debugger.h" /** * This is the namespace of the Hopkins engine. diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp index 6660233740..3030636a59 100644 --- a/engines/hopkins/sound.cpp +++ b/engines/hopkins/sound.cpp @@ -26,6 +26,8 @@ #include "hopkins/hopkins.h" #include "audio/decoders/adpcm_intern.h" +#include "audio/decoders/wave.h" +#include "audio/softsynth/pcspk.h" #include "common/system.h" #include "common/config-manager.h" #include "common/file.h" diff --git a/engines/hopkins/sound.h b/engines/hopkins/sound.h index 1fb4f9ae71..49c5846198 100644 --- a/engines/hopkins/sound.h +++ b/engines/hopkins/sound.h @@ -25,10 +25,16 @@ #include "common/scummsys.h" #include "common/str.h" -#include "audio/audiostream.h" -#include "audio/decoders/wave.h" #include "audio/mixer.h" +namespace Audio { +class RewindableAudioStream; +} + +namespace Common { +class SeekableReadStream; +} + namespace Hopkins { class VoiceItem { |