From 4044dfa3647f0ba40493d8f07863b2d1f5f76f09 Mon Sep 17 00:00:00 2001 From: Bendegúz Nagy Date: Thu, 23 Jun 2016 23:54:37 +0200 Subject: DM: Add F0157_DUNGEON_GetSquareFirstThingData, F0377_COMMAND_ProcessType80_ClickInDungeonView Also add ElementType enum and G0462_as_Graphic561_Box_ObjectPiles, refactor DungeonMan::_dungeonViewClickableBoxes into Box type --- engines/dm/gfx.h | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/dm/gfx.h') diff --git a/engines/dm/gfx.h b/engines/dm/gfx.h index 11679ef891..e73c44e697 100644 --- a/engines/dm/gfx.h +++ b/engines/dm/gfx.h @@ -91,6 +91,7 @@ public: bool isPointInside(Common::Point point) { return (_x1 <= point.x) && (point.x < _x2) && (_y1 <= point.y) && (point.y < _y2); } + void setToZero() { _x1 = _x2 = _y1 = _y2 = 0; } }; // @ BOX_BYTE, BOX_WORD extern Box gBoxMovementArrows; // G0002_s_Graphic562_Box_MovementArrows -- cgit v1.2.3