Mercurial > mm7
annotate Level/Decoration.h @ 2147:4393b60cd9e2
FACE_PRESSURE_PLATE
author | Ritor1 |
---|---|
date | Mon, 06 Jan 2014 22:46:11 +0600 |
parents | 35c1e4ff6ba7 |
children | 9bd7522cdbbb |
rev | line source |
---|---|
1480 | 1 #pragma once |
2 | |
1512 | 3 #include <cstdint> |
1828
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
4 #include <array> |
1489 | 5 |
1512 | 6 #include "../VectorTypes.h" |
7 | |
1828
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
8 |
1512 | 9 enum LEVEL_DECORATION_FLAGS: uint16_t |
1480 | 10 { |
11 LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01, | |
12 LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02, | |
13 LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04, | |
14 LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08, | |
15 LEVEL_DECORATION_CHEST = 0x10, | |
16 LEVEL_DECORATION_INVISIBLE = 0x20, | |
17 LEVEL_DECORATION_OBELISK_CHEST = 0x40, | |
18 }; | |
19 | |
20 /* 74 */ | |
21 #pragma pack(push, 1) | |
22 struct LevelDecoration | |
23 { | |
24 LevelDecoration(); | |
25 int GetGlobalEvent(); | |
26 bool IsInteractive(); | |
1491
6d21ef91cb2d
Rename LevelDecoration::_47A825 to LevelDecoration::IsObeliskChestActive().
yoctozepto
parents:
1489
diff
changeset
|
27 bool IsObeliskChestActive(); |
1480 | 28 |
1512 | 29 uint16_t uDecorationDescID; |
30 uint16_t uFlags; | |
1489 | 31 Vec3_int_ vPosition; |
1512 | 32 int32_t field_10_y_rot; |
33 uint16_t uCog; | |
1514
965af46e8793
Rename LevelDecoration::field_16_event_id to LevelDecoration::uEventID.
yoctozepto
parents:
1513
diff
changeset
|
34 uint16_t uEventID; |
1513 | 35 uint16_t uTriggerRange; |
1512 | 36 int16_t field_1A; |
37 int16_t _idx_in_stru123; | |
38 int16_t field_1E; | |
1480 | 39 }; |
1828
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
40 |
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
41 |
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
42 |
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
43 extern std::array<LevelDecoration, 3000> pLevelDecorations; |
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
44 extern size_t uNumLevelDecorations; |
35c1e4ff6ba7
party_finds_gold to Party::PartyFindsGold, cleaned up, moved Level/Decoration.h reference out of Indoor.h
Grumpy7
parents:
1514
diff
changeset
|
45 extern LevelDecoration* activeLevelDecoration; |
1480 | 46 #pragma pack(pop) |