aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d
diff options
context:
space:
mode:
authorLe Philousophe2019-05-26 19:09:54 +0200
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit257a788e08fc396592f05eb688250b6948075fba (patch)
tree74ba9b4127cd4abdd1a29e18db230277dbb0cc85 /engines/cryomni3d
parent8dceff30ea50a46b9260a0a8e34d42fc45e2a274 (diff)
downloadscummvm-rg350-257a788e08fc396592f05eb688250b6948075fba.tar.gz
scummvm-rg350-257a788e08fc396592f05eb688250b6948075fba.tar.bz2
scummvm-rg350-257a788e08fc396592f05eb688250b6948075fba.zip
CRYOMNI3D: Cleanup
Diffstat (limited to 'engines/cryomni3d')
-rw-r--r--engines/cryomni3d/detection.cpp60
-rw-r--r--engines/cryomni3d/image/hlz.h8
2 files changed, 0 insertions, 68 deletions
diff --git a/engines/cryomni3d/detection.cpp b/engines/cryomni3d/detection.cpp
index 80d43f2298..00f84806e9 100644
--- a/engines/cryomni3d/detection.cpp
+++ b/engines/cryomni3d/detection.cpp
@@ -70,22 +70,8 @@ Common::Language CryOmni3DEngine::getLanguage() const {
bool CryOmni3DEngine::hasFeature(EngineFeature f) const {
return false;
-// (f == kSupportsRTL);
}
-/*
-#ifdef ENABLE_MYST
-
-bool MohawkEngine_Myst::hasFeature(EngineFeature f) const {
- return
- MohawkEngine::hasFeature(f)
- || (f == kSupportsLoadingDuringRuntime)
- || (f == kSupportsSavingDuringRuntime);
-}
-
-#endif
-*/
-
} // End of Namespace CryOmni3D
static const PlainGameDescriptor cryomni3DGames[] = {
@@ -95,29 +81,7 @@ static const PlainGameDescriptor cryomni3DGames[] = {
#include "cryomni3d/detection_tables.h"
-/*
-static const char *directoryGlobs[] = {
- "all",
- "assets1",
- "data",
- "program",
- "95instal",
- "Rugrats Adventure Game",
- 0
-};
-*/
-
static const ADExtraGuiOptionsMap optionsList[] = {
- /*{
- GAMEOPTION_PLAY_MYST_FLYBY,
- {
- _s("Play the Myst fly by movie"),
- _s("The Myst fly by movie was not played by the original engine."),
- "playmystflyby",
- false
- }
- },*/
-
AD_EXTRA_GUI_OPTIONS_TERMINATOR
};
@@ -127,7 +91,6 @@ public:
sizeof(CryOmni3D::CryOmni3DGameDescription), cryomni3DGames, optionsList) {
//_singleId = "cryomni3d";
_maxScanDepth = 2;
- //_directoryGlobs = directoryGlobs;
}
ADDetectedGame fallbackDetect(const FileMap &allFiles,
@@ -192,37 +155,14 @@ SaveStateList CryOmni3DMetaEngine::listSavesForPrefix(const char *prefix,
SaveStateList CryOmni3DMetaEngine::listSaves(const char *target) const {
SaveStateList saveList;
- /*
- // Loading games is only supported in Myst/Riven currently.
- saveList = listSavesForPrefix("myst", "mys");
-
- for (SaveStateList::iterator save = saveList.begin(); save != saveList.end(); ++save) {
- // Read the description from the save
- int slot = save->getSaveSlot();
- Common::String description = Mohawk::MystGameState::querySaveDescription(slot);
- save->setDescription(description);
- }
- */
-
return saveList;
}
void CryOmni3DMetaEngine::removeSaveState(const char *target, int slot) const {
- /*
- // Removing saved games is only supported in Myst/Riven currently.
- if (strstr(target, "myst")) {
- Mohawk::MystGameState::deleteSave(slot);
- }
- */
}
SaveStateDescriptor CryOmni3DMetaEngine::querySaveMetaInfos(const char *target, int slot) const {
- /*
- if (strstr(target, "myst")) {
- return Mohawk::MystGameState::querySaveMetaInfos(slot);
- }
- */
return SaveStateDescriptor();
}
diff --git a/engines/cryomni3d/image/hlz.h b/engines/cryomni3d/image/hlz.h
index 831632f59c..411f7521db 100644
--- a/engines/cryomni3d/image/hlz.h
+++ b/engines/cryomni3d/image/hlz.h
@@ -20,14 +20,6 @@
*
*/
-/**
- * @file
- * Image decoder used in engines:
- * - hugo
- * - mohawk
- * - wintermute
- */
-
#ifndef CRYOMNI3D_IMAGE_HLZ_H
#define CRYOMNI3D_IMAGE_HLZ_H