aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs
diff options
context:
space:
mode:
authorFilippos Karapetis2010-12-05 15:29:42 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:10 +0100
commit75842b031f69c5d3fb2d7962379642294d7b7373 (patch)
treeddc84950a2406f39907cb8bbc31b69762433fc39 /engines/toltecs
parente1abe47fbeeb277723a5a044c28a4acf990fac95 (diff)
downloadscummvm-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.cpp1
-rw-r--r--engines/toltecs/toltecs.cpp3
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;