comparison Level/Decoration.h @ 1570:a4a827ff5c95

Слияние
author Ritor1
date Mon, 02 Sep 2013 18:49:26 +0600
parents ee5c98a437d9
children af57b3b76fe4
comparison
equal deleted inserted replaced
1569:5cc08e71a308 1570:a4a827ff5c95
1 #pragma once 1 #pragma once
2 2
3 #include <cstdint> 3 #include "../mm7_data.h"
4 4
5 #include "../VectorTypes.h" 5 enum LEVEL_DECORATION_FLAGS: uint16
6
7 enum LEVEL_DECORATION_FLAGS
8 { 6 {
9 LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01, 7 LEVEL_DECORATION_TRIGGERED_BY_TOUCH = 0x01,
10 LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02, 8 LEVEL_DECORATION_TRIGGERED_BY_MONSTER = 0x02,
11 LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04, 9 LEVEL_DECORATION_TRIGGERED_BY_OBJECT = 0x04,
12 LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08, 10 LEVEL_DECORATION_VISIBLE_ON_MAP = 0x08,
22 LevelDecoration(); 20 LevelDecoration();
23 int GetGlobalEvent(); 21 int GetGlobalEvent();
24 bool IsInteractive(); 22 bool IsInteractive();
25 bool IsObeliskChestActive(); 23 bool IsObeliskChestActive();
26 24
27 25 uint16 uDecorationDescID;
28 uint16_t uDecorationDescID; 26 uint16 uFlags;
29 uint16_t uFlags;
30 Vec3_int_ vPosition; 27 Vec3_int_ vPosition;
31 int32_t field_10_y_rot; 28 int32 field_10_y_rot;
32 uint16_t uCog; 29 uint16 uCog;
33 int16_t field_16_event_id; 30 int16 field_16_event_id;
34 int16_t field_18; 31 int16 field_18;
35 int16_t field_1A; 32 int16 field_1A;
36 int16_t _idx_in_stru123; 33 int16 _idx_in_stru123;
37 int16_t field_1E; 34 int16 field_1E;
38 }; 35 };
39 #pragma pack(pop) 36 #pragma pack(pop)