diff options
author | Bendegúz Nagy | 2016-07-12 07:56:59 +0200 |
---|---|---|
committer | Bendegúz Nagy | 2016-08-26 23:02:22 +0200 |
commit | 9aa6c28fabd95d3aeaf5840386fb5d3327247d62 (patch) | |
tree | c23daa36db754528c9af372d7119e825b72a5924 /engines/dm/group.h | |
parent | e8342f2d2abe58f03788c6db3302f6b29ac1bfe4 (diff) | |
download | scummvm-rg350-9aa6c28fabd95d3aeaf5840386fb5d3327247d62.tar.gz scummvm-rg350-9aa6c28fabd95d3aeaf5840386fb5d3327247d62.tar.bz2 scummvm-rg350-9aa6c28fabd95d3aeaf5840386fb5d3327247d62.zip |
DM: Add f245_timlineProcessEvent5_squareCorridor
Diffstat (limited to 'engines/dm/group.h')
-rw-r--r-- | engines/dm/group.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dm/group.h b/engines/dm/group.h index ca7cb527ed..6153d514d2 100644 --- a/engines/dm/group.h +++ b/engines/dm/group.h @@ -133,6 +133,7 @@ public: direction getDir() { return (direction)((_flags >> 8) & 0x3); } void setDir(uint16 val) { _flags = (_flags & ~(0x3 << 8)) | ((val & 0x3) << 8); } uint16 getDoNotDiscard() { return (_flags >> 10) & 0x1; } + void setDoNotDiscard(bool val) { _flags = (_flags & ~(1 << 10)) | ((val & 1) << 10); } }; // @ GROUP #define k0_behavior_WANDER 0 // @ C0_BEHAVIOR_WANDER @@ -233,6 +234,7 @@ public: void f184_removeActiveGroup(uint16 activeGroupIndex); // @ F0184_GROUP_RemoveActiveGroup void f194_removeAllActiveGroups(); // @ F0194_GROUP_RemoveAllActiveGroups void f195_addAllActiveGroups(); // @ F0195_GROUP_AddAllActiveGroups + Thing f185_groupGetGenerated(int16 creatureType, int16 healthMultiplier, uint16 creatureCount, direction dir, int16 mapX, int16 mapY); // @ F0185_GROUP_GetGenerated |