World of Might and Magic
0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Events2D.h
См. документацию.
1
#pragma once
2
3
/* 296 */
4
enum
BuildingType
:
unsigned
short
{
5
BuildingType_WeaponShop
= 1,
6
BuildingType_ArmorShop
= 2,
7
BuildingType_MagicShop
= 3,
8
BuildingType_AlchemistShop
= 4,
9
BuildingType_FireGuild
= 5,
10
BuildingType_AirGuild
= 6,
11
BuildingType_WaterGuild
= 7,
12
BuildingType_EarthGuild
= 8,
13
BuildingType_SpiritGuild
= 9,
14
BuildingType_MindGuild
= 10,
15
BuildingType_BodyGuild
= 11,
16
BuildingType_LightGuild
= 12,
17
BuildingType_DarkGuild
= 13,
18
BuildingType_ElementalGuild
= 14,
19
BuildingType_SelfGuild
= 15,
20
BuildingType_16
= 16,
21
BuildingType_TownHall
= 17,
22
BuildingType_18
= 18,
23
BuildingType_19
= 19,
24
BuildingType_Throne_Room
= 20,
25
BuildingType_Tavern
= 21,
26
BuildingType_Bank
= 22,
27
BuildingType_Temple
= 23,
28
BuildingType_24
= 24,
29
BuildingType_Unic
= 25,
30
BuildingType_1A
= 26,
31
BuildingType_Stables
= 27,
32
BuildingType_Boats
= 28,
33
BuildingType_House
= 29,
34
BuildingType_Training
= 30,
35
BuildingType_Jail
= 31
36
};
37
38
/* 168 */
39
#pragma pack(push, 1)
40
struct
_2devent
{
41
BuildingType
uType
;
42
uint16_t
uAnimationID
;
43
char
*
pName
;
44
const
char
*
pProprieterName
;
45
const
char
*
pEnterText
;
46
const
char
*
pProprieterTitle
;
47
int16_t
field_14
;
48
int16_t
_state
;
49
int16_t
_rep
;
50
int16_t
_per
;
51
int16_t
generation_interval_days
;
52
int16_t
field_1E
;
53
float
fPriceMultiplier
;
54
float
flt_24
;
55
uint16_t
uOpenTime
;
56
uint16_t
uCloseTime
;
57
int16_t
uExitPicID
;
58
int16_t
uExitMapID
;
59
int16_t
_quest_related
;
60
int16_t
field_32
;
61
};
62
#pragma pack(pop)
63
64
extern
_2devent
p2DEvents
[525];
uint16_t
unsigned __int16 uint16_t
Definition:
SDL_config.h:37
BuildingType_House
@ BuildingType_House
Definition:
Events2D.h:33
int16_t
signed __int16 int16_t
Definition:
SDL_config.h:36
_2devent::uType
BuildingType uType
Definition:
Events2D.h:41
BuildingType_Training
@ BuildingType_Training
Definition:
Events2D.h:34
BuildingType_DarkGuild
@ BuildingType_DarkGuild
Definition:
Events2D.h:17
_2devent
Definition:
Events2D.h:40
BuildingType_16
@ BuildingType_16
Definition:
Events2D.h:20
_2devent::_per
int16_t _per
Definition:
Events2D.h:50
BuildingType_ArmorShop
@ BuildingType_ArmorShop
Definition:
Events2D.h:6
_2devent::pProprieterTitle
const char * pProprieterTitle
Definition:
Events2D.h:46
BuildingType_MindGuild
@ BuildingType_MindGuild
Definition:
Events2D.h:14
BuildingType_FireGuild
@ BuildingType_FireGuild
Definition:
Events2D.h:9
_2devent::uExitMapID
int16_t uExitMapID
Definition:
Events2D.h:58
_2devent::field_1E
int16_t field_1E
Definition:
Events2D.h:52
BuildingType_Bank
@ BuildingType_Bank
Definition:
Events2D.h:26
_2devent::uOpenTime
uint16_t uOpenTime
Definition:
Events2D.h:55
BuildingType_Boats
@ BuildingType_Boats
Definition:
Events2D.h:32
_2devent::flt_24
float flt_24
Definition:
Events2D.h:54
_2devent::pName
char * pName
Definition:
Events2D.h:43
BuildingType_WeaponShop
@ BuildingType_WeaponShop
Definition:
Events2D.h:5
BuildingType_LightGuild
@ BuildingType_LightGuild
Definition:
Events2D.h:16
BuildingType_18
@ BuildingType_18
Definition:
Events2D.h:22
_2devent::uCloseTime
uint16_t uCloseTime
Definition:
Events2D.h:56
_2devent::uExitPicID
int16_t uExitPicID
Definition:
Events2D.h:57
_2devent::_state
int16_t _state
Definition:
Events2D.h:48
BuildingType_Temple
@ BuildingType_Temple
Definition:
Events2D.h:27
BuildingType_24
@ BuildingType_24
Definition:
Events2D.h:28
BuildingType_MagicShop
@ BuildingType_MagicShop
Definition:
Events2D.h:7
BuildingType_EarthGuild
@ BuildingType_EarthGuild
Definition:
Events2D.h:12
BuildingType_SelfGuild
@ BuildingType_SelfGuild
Definition:
Events2D.h:19
_2devent::pEnterText
const char * pEnterText
Definition:
Events2D.h:45
BuildingType_AirGuild
@ BuildingType_AirGuild
Definition:
Events2D.h:10
_2devent::field_32
int16_t field_32
Definition:
Events2D.h:60
BuildingType_1A
@ BuildingType_1A
Definition:
Events2D.h:30
BuildingType_SpiritGuild
@ BuildingType_SpiritGuild
Definition:
Events2D.h:13
BuildingType_Jail
@ BuildingType_Jail
Definition:
Events2D.h:35
BuildingType_Stables
@ BuildingType_Stables
Definition:
Events2D.h:31
_2devent::_rep
int16_t _rep
Definition:
Events2D.h:49
BuildingType_AlchemistShop
@ BuildingType_AlchemistShop
Definition:
Events2D.h:8
_2devent::fPriceMultiplier
float fPriceMultiplier
Definition:
Events2D.h:53
BuildingType
BuildingType
Definition:
Events2D.h:4
_2devent::pProprieterName
const char * pProprieterName
Definition:
Events2D.h:44
BuildingType_Unic
@ BuildingType_Unic
Definition:
Events2D.h:29
BuildingType_Throne_Room
@ BuildingType_Throne_Room
Definition:
Events2D.h:24
BuildingType_BodyGuild
@ BuildingType_BodyGuild
Definition:
Events2D.h:15
_2devent::uAnimationID
uint16_t uAnimationID
Definition:
Events2D.h:42
BuildingType_ElementalGuild
@ BuildingType_ElementalGuild
Definition:
Events2D.h:18
_2devent::field_14
int16_t field_14
Definition:
Events2D.h:47
BuildingType_Tavern
@ BuildingType_Tavern
Definition:
Events2D.h:25
_2devent::generation_interval_days
int16_t generation_interval_days
Definition:
Events2D.h:51
p2DEvents
_2devent p2DEvents[525]
Definition:
Events.cpp:57
_2devent::_quest_related
int16_t _quest_related
Definition:
Events2D.h:59
BuildingType_TownHall
@ BuildingType_TownHall
Definition:
Events2D.h:21
BuildingType_WaterGuild
@ BuildingType_WaterGuild
Definition:
Events2D.h:11
BuildingType_19
@ BuildingType_19
Definition:
Events2D.h:23
Engine
Events2D.h
Документация по World of Might and Magic. Последние изменения: Вт 7 Апр 2020 22:03:27. Создано системой
1.8.17