From cd9aefc425d723803135abe2dd41b542033f6e0e Mon Sep 17 00:00:00 2001 From: Le Philousophe Date: Sat, 9 Mar 2019 23:32:17 +0100 Subject: CRYOMNI3D: Add a function to disable a zone in fixed images --- engines/cryomni3d/fixed_image.h | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3