aboutsummaryrefslogtreecommitdiff
path: root/engines/toltecs/segmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toltecs/segmap.h')
-rw-r--r--engines/toltecs/segmap.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/engines/toltecs/segmap.h b/engines/toltecs/segmap.h
index 7e5150ba4a..6c20eac431 100644
--- a/engines/toltecs/segmap.h
+++ b/engines/toltecs/segmap.h
@@ -80,17 +80,13 @@ public:
public: // for debugging purposes
struct SegmapMaskRect {
- int16 y, x;
- int16 height, width;
- int16 maskOffset;
+ int16 x, y;
+ int16 width, height;
int16 priority;
+ Graphics::Surface *surface;
};
struct SegmapPathRect {
- /*
- int16 y, x;
- int16 height, width;
- */
int16 x1, y1, x2, y2;
};
@@ -128,6 +124,9 @@ public: // for debugging purposes
int16 findNextPathRect(int16 srcRectIndex, int16 destX, int16 destY);
+ void loadSegmapMaskRectSurface(byte *maskData, SegmapMaskRect &maskRect);
+ void freeSegmapMaskRectSurfaces();
+
};
} // End of namespace Toltecs