diff options
| author | Léo Lam <leo@leolam.fr> | 2022-01-29 23:59:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-29 23:59:05 +0100 |
| commit | 92736207f8bdf25ea456fdd3da28191ae26a4144 (patch) | |
| tree | 79e387fd4ac89866ad5ceb671f66bf477619a8e9 /src/KingSystem/Map/mapObject.h | |
| parent | 93bc93051cbf112541d7e790a639e348a28ee7a5 (diff) | |
| parent | 3bb33875b31bc53b3161ac2b58741b44a005d803 (diff) | |
Merge pull request #80 from savage13/mPMap2
More PlacementMap functions
Diffstat (limited to 'src/KingSystem/Map/mapObject.h')
| -rw-r--r-- | src/KingSystem/Map/mapObject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KingSystem/Map/mapObject.h b/src/KingSystem/Map/mapObject.h index 39c35eab..cdb2092e 100644 --- a/src/KingSystem/Map/mapObject.h +++ b/src/KingSystem/Map/mapObject.h @@ -43,9 +43,11 @@ public: _2000 = 0x2000, _4000 = 0x4000, _8000 = 0x8000, + _10000 = 0x10000, _40000 = 0x40000, _80000 = 0x80000, _100000 = 0x100000, + _200000 = 0x200000, _400000 = 0x400000, _2000000 = 0x2000000, _4000000 = 0x4000000, @@ -176,6 +178,8 @@ public: Object* findSrcLODLinkObject() const; const auto& getFlags0() const { return mFlags0; } + void setFlags0(Flag0 bit) { mFlags0.set(bit); } + void resetFlags0(Flag0 bit) { mFlags0.reset(bit); } const auto& getFlags() const { return mFlags; } const auto& getActorFlags8() const { return mActorFlags8; } const auto& getHardModeFlags() const { return mHardModeFlags; } |
