From 75842b031f69c5d3fb2d7962379642294d7b7373 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 5 Dec 2010 15:29:42 +0000 Subject: TOLTECS: Added comments on main game loop, and added a FIXME --- engines/toltecs/menu.cpp | 1 + engines/toltecs/toltecs.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/toltecs/menu.cpp b/engines/toltecs/menu.cpp index ac08d88548..e8ae49d3cd 100644 --- a/engines/toltecs/menu.cpp +++ b/engines/toltecs/menu.cpp @@ -410,6 +410,7 @@ void MenuSystem::restoreRect(int x, int y, int w, int h) { } void MenuSystem::shadeRect(int x, int y, int w, int h, byte color1, byte color2) { + // FIXME: Why is the following block disabled? #if 0 byte *src = (byte*)_background->getBasePtr(x, y); for (int xc = 0; xc < w; xc++) { diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp index 2092d034bc..a348456d22 100644 --- a/engines/toltecs/toltecs.cpp +++ b/engines/toltecs/toltecs.cpp @@ -165,7 +165,7 @@ Common::Error ToltecsEngine::run() { return Common::kNoError; #endif -#if 1 + // Start main game loop _script->loadScript(0, 0); _script->setMainScript(0); if (ConfMan.hasKey("save_slot")) { @@ -175,7 +175,6 @@ Common::Error ToltecsEngine::run() { } } _script->runScript(); -#endif delete _arc; delete _res; -- cgit v1.2.3