World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Decoration.h
См. документацию.
1 #pragma once
2 
3 #include <array>
4 #include <cstdint>
5 
6 #include "../../VectorTypes.h"
7 
16 };
17 
18 /* 74 */
19 #pragma pack(push, 1)
22  int GetGlobalEvent();
23  bool IsInteractive();
24  bool IsObeliskChestActive();
25 
28  Vec3_int_ vPosition;
36 };
37 
38 extern std::array<LevelDecoration, 3000> pLevelDecorations;
39 extern size_t uNumLevelDecorations;
40 extern LevelDecoration* activeLevelDecoration; // 5C3420
41 #pragma pack(pop)
uint16_t
unsigned __int16 uint16_t
Definition: SDL_config.h:37
int16_t
signed __int16 int16_t
Definition: SDL_config.h:36
pLevelDecorations
std::array< LevelDecoration, 3000 > pLevelDecorations
Definition: Decoration.cpp:8
LEVEL_DECORATION_TRIGGERED_BY_MONSTER
@ LEVEL_DECORATION_TRIGGERED_BY_MONSTER
Definition: Decoration.h:10
LevelDecoration::IsInteractive
bool IsInteractive()
Definition: Decoration.cpp:345
LevelDecoration::uEventID
uint16_t uEventID
Definition: Decoration.h:31
activeLevelDecoration
LevelDecoration * activeLevelDecoration
Definition: Decoration.cpp:10
LevelDecoration::field_1A
int16_t field_1A
Definition: Decoration.h:33
LEVEL_DECORATION_FLAGS
LEVEL_DECORATION_FLAGS
Definition: Decoration.h:8
LEVEL_DECORATION_VISIBLE_ON_MAP
@ LEVEL_DECORATION_VISIBLE_ON_MAP
Definition: Decoration.h:12
LevelDecoration::LevelDecoration
LevelDecoration()
Definition: Decoration.cpp:13
LevelDecoration::vPosition
Vec3_int_ vPosition
Definition: Decoration.h:28
LEVEL_DECORATION_INVISIBLE
@ LEVEL_DECORATION_INVISIBLE
Definition: Decoration.h:14
LEVEL_DECORATION_TRIGGERED_BY_TOUCH
@ LEVEL_DECORATION_TRIGGERED_BY_TOUCH
Definition: Decoration.h:9
LevelDecoration::uFlags
uint16_t uFlags
Definition: Decoration.h:27
int32_t
signed __int32 int32_t
Definition: SDL_config.h:38
LEVEL_DECORATION_CHEST
@ LEVEL_DECORATION_CHEST
Definition: Decoration.h:13
LEVEL_DECORATION_TRIGGERED_BY_OBJECT
@ LEVEL_DECORATION_TRIGGERED_BY_OBJECT
Definition: Decoration.h:11
LevelDecoration
Definition: Decoration.h:20
LEVEL_DECORATION_OBELISK_CHEST
@ LEVEL_DECORATION_OBELISK_CHEST
Definition: Decoration.h:15
LevelDecoration::uCog
uint16_t uCog
Definition: Decoration.h:30
LevelDecoration::uDecorationDescID
uint16_t uDecorationDescID
Definition: Decoration.h:26
LevelDecoration::_idx_in_stru123
int16_t _idx_in_stru123
Definition: Decoration.h:34
LevelDecoration::field_1E
int16_t field_1E
Definition: Decoration.h:35
LevelDecoration::field_10_y_rot
int32_t field_10_y_rot
Definition: Decoration.h:29
uNumLevelDecorations
size_t uNumLevelDecorations
Definition: Decoration.cpp:9
LevelDecoration::IsObeliskChestActive
bool IsObeliskChestActive()
Definition: Decoration.cpp:311
LevelDecoration::uTriggerRange
uint16_t uTriggerRange
Definition: Decoration.h:32
LevelDecoration::GetGlobalEvent
int GetGlobalEvent()
Definition: Decoration.cpp:16