diff options
author | Filippos Karapetis | 2010-12-05 12:34:43 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-11-20 22:43:10 +0100 |
commit | c52aa31a18e993dac95f8f0cf30591ea46b2c383 (patch) | |
tree | 893fdf5d79229407e6b2f894873f8dd9111803d0 | |
parent | d3811422f82180e482fc9dc3aabca48df8844119 (diff) | |
download | scummvm-rg350-c52aa31a18e993dac95f8f0cf30591ea46b2c383.tar.gz scummvm-rg350-c52aa31a18e993dac95f8f0cf30591ea46b2c383.tar.bz2 scummvm-rg350-c52aa31a18e993dac95f8f0cf30591ea46b2c383.zip |
TOLTECS: Added some FIXME comments
-rw-r--r-- | engines/toltecs/microtiles.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/toltecs/microtiles.cpp b/engines/toltecs/microtiles.cpp index 7c82505c21..2e789e5179 100644 --- a/engines/toltecs/microtiles.cpp +++ b/engines/toltecs/microtiles.cpp @@ -113,7 +113,8 @@ Common::Rect * MicroTileArray::getRectangles(int *num_rects, int min_x, int min_ x0 = CLIP (x0, min_x, max_x); y0 = CLIP (y0, min_y, max_y); y1 = CLIP (y1, min_y, max_y); - + + // FIXME: Why is the following code in an #if block? #if 1 start = i; @@ -143,6 +144,8 @@ Common::Rect * MicroTileArray::getRectangles(int *num_rects, int min_x, int min_ x1 = CLIP (x1, min_x, max_x); + // FIXME: Why is the following code in an #if block? + #if 1 rects[n_rects].left = x0; @@ -154,6 +157,8 @@ Common::Rect * MicroTileArray::getRectangles(int *num_rects, int min_x, int min_ #else + // FIXME: Why is this code disabled? + if (glom [start] != -1 && /* try to glom */ rects [glom [start]].left == x0 && rects [glom [start]].right == x1 && |