comparison Level/Decoration.h @ 1480:61451d5980bf

LevelDecoration maintenance changes Move LevelDecoration to Level/Decoration.* files. Cleanup of LevelDecoration::_47A825.
author yoctozepto
date Wed, 28 Aug 2013 22:10:13 +0200
parents
children a27cdb3d753e
comparison
equal deleted inserted replaced
1479:59d1da1863df 1480:61451d5980bf
1 #pragma once
2
3 #include "../VectorTypes.h"
4
5 enum LEVEL_DECORATION_FLAGS
6 {
7 LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01,
8 LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02,
9 LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04,
10 LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08,
11 LEVEL_DECORATION_CHEST = 0x10,
12 LEVEL_DECORATION_INVISIBLE = 0x20,
13 LEVEL_DECORATION_OBELISK_CHEST = 0x40,
14 };
15
16 /* 74 */
17 #pragma pack(push, 1)
18 struct LevelDecoration
19 {
20 LevelDecoration();
21 int GetGlobalEvent();
22 bool IsInteractive();
23 bool _47A825();
24
25
26 unsigned __int16 uDecorationDescID;
27 __int16 field_2;
28 struct Vec3_int_ vPosition;
29 int field_10_y_rot;
30 __int16 uCog;
31 __int16 field_16_event_id;
32 __int16 field_18;
33 __int16 field_1A;
34 __int16 _idx_in_stru123;
35 __int16 field_1E;
36 };
37 #pragma pack(pop)