0
|
1 #pragma once
|
|
2
|
495
|
3 /* 296 */
|
1411
|
4 enum BuildingType: unsigned short
|
651
|
5 {
|
1411
|
6 BuildingType_WeaponShop = 1,
|
|
7 BuildingType_ArmorShop = 2,
|
|
8 BuildingType_MagicShop = 3,
|
|
9 BuildingType_AlchemistShop = 4,
|
|
10 BuildingType_FireGuild = 5,
|
|
11 BuildingType_AirGuild = 6,
|
|
12 BuildingType_WaterGuild = 7,
|
|
13 BuildingType_EarthGuild = 8,
|
|
14 BuildingType_SpiritGuild = 9,
|
|
15 BuildingType_MindGuild = 10,
|
|
16 BuildingType_BodyGuild = 11,
|
|
17 BuildingType_LightGuild = 12,
|
|
18 BuildingType_DarkGuild = 13,
|
1644
|
19 BuildingType_ElementalGuild = 14,
|
|
20 BuildingType_SelfGuild = 15,
|
1411
|
21 BuildingType_16 = 16,
|
|
22 BuildingType_TownHall = 17,
|
|
23 BuildingType_18 = 18,
|
|
24 BuildingType_19 = 19,
|
|
25 BuildingType_Throne_Room = 20,
|
|
26 BuildingType_Tavern = 21,
|
|
27 BuildingType_Bank = 22,
|
|
28 BuildingType_Temple = 23,
|
651
|
29 BuildingType_24 = 24,
|
1411
|
30 BuildingType_Unic = 25,
|
|
31 BuildingType_1A = 26,
|
|
32 BuildingType_Stables = 27,
|
|
33 BuildingType_Boats = 28,
|
|
34 BuildingType_House = 29,
|
|
35 BuildingType_Training = 30,
|
|
36 BuildingType_Jail = 31
|
651
|
37 };
|
0
|
38
|
|
39 /* 168 */
|
|
40 #pragma pack(push, 1)
|
|
41 struct _2devent
|
|
42 {
|
1411
|
43 BuildingType uType;
|
0
|
44 unsigned __int16 uAnimationID;
|
|
45 char *pName;
|
|
46 const char *pProprieterName;
|
|
47 const char *pEnterText;
|
|
48 const char *pProprieterTitle;
|
|
49 __int16 field_14;
|
|
50 __int16 _state;
|
|
51 __int16 _rep;
|
|
52 __int16 _per;
|
|
53 __int16 field_1C;
|
|
54 __int16 field_1E;
|
|
55 float fPriceMultiplier;
|
|
56 float flt_24;
|
|
57 unsigned __int16 uOpenTime;
|
|
58 unsigned __int16 uCloseTime;
|
|
59 __int16 uExitPicID;
|
|
60 __int16 uExitMapID;
|
|
61 __int16 _quest_related;
|
|
62 __int16 field_32;
|
|
63 };
|
|
64 #pragma pack(pop)
|
|
65
|
1289
|
66 extern _2devent p2DEvents[525]; |