annotate Level/Decoration.h @ 1514:965af46e8793

Rename LevelDecoration::field_16_event_id to LevelDecoration::uEventID.
author yoctozepto
date Tue, 03 Sep 2013 15:09:07 +0200
parents 4055b09160ae
children 35c1e4ff6ba7
rev   line source
1480
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
1 #pragma once
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
2
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
3 #include <cstdint>
1489
a27cdb3d753e Cleanup of LevelDecoration and related.
yoctozepto
parents: 1480
diff changeset
4
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
5 #include "../VectorTypes.h"
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
6
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
7 enum LEVEL_DECORATION_FLAGS: uint16_t
1480
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
8 {
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
9 LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
10 LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
11 LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
12 LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
13 LEVEL_DECORATION_CHEST = 0x10,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
14 LEVEL_DECORATION_INVISIBLE = 0x20,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
15 LEVEL_DECORATION_OBELISK_CHEST = 0x40,
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
16 };
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
17
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
18 /* 74 */
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
19 #pragma pack(push, 1)
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
20 struct LevelDecoration
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
21 {
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
22 LevelDecoration();
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
23 int GetGlobalEvent();
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
24 bool IsInteractive();
1491
6d21ef91cb2d Rename LevelDecoration::_47A825 to LevelDecoration::IsObeliskChestActive().
yoctozepto
parents: 1489
diff changeset
25 bool IsObeliskChestActive();
1480
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
26
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
27 uint16_t uDecorationDescID;
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
28 uint16_t uFlags;
1489
a27cdb3d753e Cleanup of LevelDecoration and related.
yoctozepto
parents: 1480
diff changeset
29 Vec3_int_ vPosition;
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
30 int32_t field_10_y_rot;
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
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
4055b09160ae Clean and decouple. (2)
yoctozepto
parents: 1512
diff changeset
33 uint16_t uTriggerRange;
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
34 int16_t field_1A;
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
35 int16_t _idx_in_stru123;
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1502
diff changeset
36 int16_t field_1E;
1480
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
37 };
61451d5980bf LevelDecoration maintenance changes
yoctozepto
parents:
diff changeset
38 #pragma pack(pop)