diff options
author | Scott Percival | 2019-12-18 00:01:56 +0800 |
---|---|---|
committer | Scott Percival | 2019-12-18 00:01:56 +0800 |
commit | e86c71ae20f7aa1f0f7b11c11779e3419acb0d99 (patch) | |
tree | aef3bbfd8fd33c7c9e979d51a2b084d365324646 /engines | |
parent | 05c046252e4eeb42a4721c7857a0f11869353306 (diff) | |
download | scummvm-rg350-e86c71ae20f7aa1f0f7b11c11779e3419acb0d99.tar.gz scummvm-rg350-e86c71ae20f7aa1f0f7b11c11779e3419acb0d99.tar.bz2 scummvm-rg350-e86c71ae20f7aa1f0f7b11c11779e3419acb0d99.zip |
DIRECTOR: Remove target for a test archive
This reverts commit 127c3468167e6e60866920751c35580c984abbbb.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/detection.cpp | 1 | ||||
-rw-r--r-- | engines/director/detection_tables.h | 13 | ||||
-rw-r--r-- | engines/director/director.h | 3 | ||||
-rw-r--r-- | engines/director/resource.cpp | 4 |
4 files changed, 2 insertions, 19 deletions
diff --git a/engines/director/detection.cpp b/engines/director/detection.cpp index 354c34c402..9e71e7dca4 100644 --- a/engines/director/detection.cpp +++ b/engines/director/detection.cpp @@ -73,7 +73,6 @@ bool DirectorEngine::hasFeature(EngineFeature f) const { static const PlainGameDescriptor directorGames[] = { { "director", "Macromedia Director Game" }, { "directortest", "Macromedia Director Test Target" }, - { "directortestarch", "Macromedia Director Test Archive" }, { "theapartment", "The Apartment, Interactive demo" }, { "gundam0079", "Gundam 0079: The War for Earth" }, { "jewels", "Jewels of the Oracle" }, diff --git a/engines/director/detection_tables.h b/engines/director/detection_tables.h index dd780e4d6a..fc8d8e246e 100644 --- a/engines/director/detection_tables.h +++ b/engines/director/detection_tables.h @@ -46,19 +46,6 @@ static const DirectorGameDescription gameDescriptions[] = { GID_TEST, 3 }, - { - { - "directortestarch", - "", - AD_ENTRY1("test.dir", 0), - Common::EN_ANY, - Common::kPlatformWindows, - ADGF_NO_FLAGS, - GUIO1(GUIO_NOASPECT) - }, - GID_ARCHIVE, - 4 - }, // Generic D3 Mac entry MACGAME("director", "", "D3-mac", 0, -1, 3), diff --git a/engines/director/director.h b/engines/director/director.h index cc26993cd1..765dabb042 100644 --- a/engines/director/director.h +++ b/engines/director/director.h @@ -45,8 +45,7 @@ namespace Director { enum DirectorGameID { GID_GENERIC, - GID_TEST, - GID_ARCHIVE + GID_TEST }; class Archive; diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp index f7e84fdb08..22b33e7bcc 100644 --- a/engines/director/resource.cpp +++ b/engines/director/resource.cpp @@ -48,9 +48,7 @@ Archive *DirectorEngine::createArchive() { } void DirectorEngine::loadInitialMovie(const Common::String movie) { - if (getGameID() == GID_ARCHIVE) - openMainArchive(movie); - else if (getPlatform() == Common::kPlatformWindows) + if (getPlatform() == Common::kPlatformWindows) loadEXE(movie); else loadMac(movie); |