Mercurial > mm7
annotate Level/Decoration.h @ 1562:c44db078127d
Merge
author | Grumpy7 |
---|---|
date | Sun, 08 Sep 2013 01:23:37 +0200 |
parents | 965af46e8793 |
children | 35c1e4ff6ba7 |
rev | line source |
---|---|
1480 | 1 #pragma once |
2 | |
1512 | 3 #include <cstdint> |
1489 | 4 |
1512 | 5 #include "../VectorTypes.h" |
6 | |
7 enum LEVEL_DECORATION_FLAGS: uint16_t | |
1480 | 8 { |
9 LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01, | |
10 LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02, | |
11 LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04, | |
12 LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08, | |
13 LEVEL_DECORATION_CHEST = 0x10, | |
14 LEVEL_DECORATION_INVISIBLE = 0x20, | |
15 LEVEL_DECORATION_OBELISK_CHEST = 0x40, | |
16 }; | |
17 | |
18 /* 74 */ | |
19 #pragma pack(push, 1) | |
20 struct LevelDecoration | |
21 { | |
22 LevelDecoration(); | |
23 int GetGlobalEvent(); | |
24 bool IsInteractive(); | |
1491
6d21ef91cb2d
Rename LevelDecoration::_47A825 to LevelDecoration::IsObeliskChestActive().
yoctozepto
parents:
1489
diff
changeset
|
25 bool IsObeliskChestActive(); |
1480 | 26 |
1512 | 27 uint16_t uDecorationDescID; |
28 uint16_t uFlags; | |
1489 | 29 Vec3_int_ vPosition; |
1512 | 30 int32_t field_10_y_rot; |
31 uint16_t uCog; | |
1514
965af46e8793
Rename LevelDecoration::field_16_event_id to LevelDecoration::uEventID.
yoctozepto
parents:
1513
diff
changeset
|
32 uint16_t uEventID; |
1513 | 33 uint16_t uTriggerRange; |
1512 | 34 int16_t field_1A; |
35 int16_t _idx_in_stru123; | |
36 int16_t field_1E; | |
1480 | 37 }; |
38 #pragma pack(pop) |