aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/gfx.h
diff options
context:
space:
mode:
authorBendegúz Nagy2016-06-23 23:54:37 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit4044dfa3647f0ba40493d8f07863b2d1f5f76f09 (patch)
treecd0004eaa8fc88ec4ca11786e2ec48c092d1369d /engines/dm/gfx.h
parentd40e328e519cafe25cd1f5c668b3dd90c993d865 (diff)
downloadscummvm-rg350-4044dfa3647f0ba40493d8f07863b2d1f5f76f09.tar.gz
scummvm-rg350-4044dfa3647f0ba40493d8f07863b2d1f5f76f09.tar.bz2
scummvm-rg350-4044dfa3647f0ba40493d8f07863b2d1f5f76f09.zip
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
Diffstat (limited to 'engines/dm/gfx.h')
-rw-r--r--engines/dm/gfx.h1
1 files changed, 1 insertions, 0 deletions
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