aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d/fixed_image.h
diff options
context:
space:
mode:
authorLe Philousophe2019-03-09 23:32:17 +0100
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commitcd9aefc425d723803135abe2dd41b542033f6e0e (patch)
treec202480e35d7748e3093a07d83802a2a7c84946f /engines/cryomni3d/fixed_image.h
parent49c90c74a607e755342e4b41729381cd2ea17cc2 (diff)
downloadscummvm-rg350-cd9aefc425d723803135abe2dd41b542033f6e0e.tar.gz
scummvm-rg350-cd9aefc425d723803135abe2dd41b542033f6e0e.tar.bz2
scummvm-rg350-cd9aefc425d723803135abe2dd41b542033f6e0e.zip
CRYOMNI3D: Add a function to disable a zone in fixed images
Diffstat (limited to 'engines/cryomni3d/fixed_image.h')
-rw-r--r--engines/cryomni3d/fixed_image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/cryomni3d/fixed_image.h b/engines/cryomni3d/fixed_image.h
index 7e3d26655a..b462315323 100644
--- a/engines/cryomni3d/fixed_image.h
+++ b/engines/cryomni3d/fixed_image.h
@@ -74,6 +74,7 @@ public:
const Graphics::Surface *surface() const { return _imageSurface; }
void changeCallback(CallbackFunctor *callback) { delete _callback; _callback = callback; }
Common::Point getZoneCenter(unsigned int zoneId) const;
+ void disableZone(unsigned int zoneId) { _zones[zoneId].valid = false; }
ZonesMode _zonesMode;