aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/toltecs.cpp
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/toltecs.cpp
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/toltecs.cpp')
-rw-r--r--engines/toltecs/toltecs.cpp9
1 files changed, 6 insertions, 3 deletions
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