diff options
author | Bendegúz Nagy | 2016-07-12 08:04:06 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 278e0b6647bd9cc46818771da86a2fadb30cd123 (patch) | |
tree | 3d008178cdfb15f6ee891169e2fb6c0a00da4b83 /engines/dm/group.cpp | |
parent | 9aa6c28fabd95d3aeaf5840386fb5d3327247d62 (diff) | |
download | scummvm-rg350-278e0b6647bd9cc46818771da86a2fadb30cd123.tar.gz scummvm-rg350-278e0b6647bd9cc46818771da86a2fadb30cd123.tar.bz2 scummvm-rg350-278e0b6647bd9cc46818771da86a2fadb30cd123.zip |
DM: Add f252_timelineProcessEvents60to61_moveGroup
Diffstat (limited to 'engines/dm/group.cpp')
-rw-r--r-- | engines/dm/group.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/dm/group.cpp b/engines/dm/group.cpp index 73c21198ac..49ac924333 100644 --- a/engines/dm/group.cpp +++ b/engines/dm/group.cpp @@ -1809,4 +1809,12 @@ Thing GroupMan::f185_groupGetGenerated(int16 creatureType, int16 healthMultiplie warning(false, "MISSING CODE: F0064_SOUND_RequestPlay_CPSD"); return L0349_T_GroupThing; } + +bool GroupMan::f223_isSquareACorridorTeleporterPitOrDoor(int16 mapX, int16 mapY) { + int16 L0544_i_SquareType; + + return (((L0544_i_SquareType = Square(_vm->_dungeonMan->f151_getSquare(mapX, mapY)).getType()) == k1_CorridorElemType) + || (L0544_i_SquareType == k5_ElementTypeTeleporter) || (L0544_i_SquareType == k2_ElementTypePit) || (L0544_i_SquareType == k4_DoorElemType)); +} + } |