diff options
author | Filippos Karapetis | 2010-12-05 15:29:42 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:10 +0100 |
commit | 75842b031f69c5d3fb2d7962379642294d7b7373 (patch) | |
tree | ddc84950a2406f39907cb8bbc31b69762433fc39 /engines/toltecs | |
parent | e1abe47fbeeb277723a5a044c28a4acf990fac95 (diff) | |
download | scummvm-rg350-75842b031f69c5d3fb2d7962379642294d7b7373.tar.gz scummvm-rg350-75842b031f69c5d3fb2d7962379642294d7b7373.tar.bz2 scummvm-rg350-75842b031f69c5d3fb2d7962379642294d7b7373.zip |
TOLTECS: Added comments on main game loop, and added a FIXME
Diffstat (limited to 'engines/toltecs')
-rw-r--r-- | engines/toltecs/menu.cpp | 1 | ||||
-rw-r--r-- | 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; |