aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
authorBenjamin Haisch2009-12-15 08:26:46 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:08 +0100
commitb038d2e4f2473383b2c9fcccdaf0861f21c7a3d5 (patch)
tree87d4ff3dc2d39e15bfe63379ca10bb7495b25130 /engines/toltecs
parent4c7cef996afd2bf62f4085b8fffcedea13e28ca7 (diff)
downloadscummvm-rg350-b038d2e4f2473383b2c9fcccdaf0861f21c7a3d5.tar.gz
scummvm-rg350-b038d2e4f2473383b2c9fcccdaf0861f21c7a3d5.tar.bz2
scummvm-rg350-b038d2e4f2473383b2c9fcccdaf0861f21c7a3d5.zip
TOLTECS: Added GUI options to detection entries
Diffstat (limited to 'engines/toltecs')
-rw-r--r--engines/toltecs/detection.cpp16
-rw-r--r--engines/toltecs/toltecs.cpp9
2 files changed, 17 insertions, 8 deletions
diff --git a/engines/toltecs/detection.cpp b/engines/toltecs/detection.cpp
index 17d8716234..ce43927bed 100644
--- a/engines/toltecs/detection.cpp
+++ b/engines/toltecs/detection.cpp
@@ -63,7 +63,8 @@ static const ToltecsGameDescription gameDescriptions[] = {
AD_ENTRY1s("WESTERN", "05472037e9cfde146e953c434e74f0f4", 337643527),
Common::EN_ANY,
Common::kPlatformPC,
- ADGF_NO_FLAGS
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
},
},
@@ -75,7 +76,8 @@ static const ToltecsGameDescription gameDescriptions[] = {
AD_ENTRY1s("WESTERN", "ba1742d3193b68ceb9434e2ab7a09a9b", 391462783),
Common::RU_RUS,
Common::kPlatformPC,
- ADGF_NO_FLAGS
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
},
},
@@ -87,7 +89,8 @@ static const ToltecsGameDescription gameDescriptions[] = {
AD_ENTRY1s("WESTERN", "1a3292bad8e0bb5701800c73531dd75e", 345176617),
Common::DE_DEU,
Common::kPlatformPC,
- ADGF_NO_FLAGS
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
},
},
@@ -99,7 +102,8 @@ static const ToltecsGameDescription gameDescriptions[] = {
AD_ENTRY1s("WESTERN", "1c85e82712d24f1d5c1ea2a66ddd75c2", 47730038),
Common::DE_DEU,
Common::kPlatformPC,
- ADGF_NO_FLAGS
+ ADGF_NO_FLAGS,
+ Common::GUIO_NONE
},
},
@@ -124,7 +128,9 @@ static const ADParams detectionParams = {
// List of files for file-based fallback detection (optional)
0,
// Flags
- 0
+ 0,
+ // Additional GUI options (for every game}
+ Common::GUIO_NONE
};
class ToltecsMetaEngine : public AdvancedMetaEngine {
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index 214b71da03..ad4066360b 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -150,7 +150,7 @@ Common::Error ToltecsEngine::run() {
syncSoundSettings();
-//#define TEST_MENU
+#define TEST_MENU
#ifdef TEST_MENU
_screen->registerFont(0, 0x0D);
_screen->registerFont(1, 0x0E);
@@ -159,14 +159,17 @@ Common::Error ToltecsEngine::run() {
_palette->setDeltaPalette(_palette->getMainPalette(), 7, 0, 31, 224);
_screen->finishTalkTextItems();
_screen->clearSprites();
+ _menuSystem->run();
+ /*
while (1) {
- updateInput();
+ //updateInput();
_menuSystem->update();
updateScreen();
}
+ */
#endif
-#if 1
+#if 0
_script->loadScript(0, 0);
_script->runScript(0);
#endif