annotate Events2D.h @ 601:d59398528e4f

level events loading fix
author Gloval
date Thu, 07 Mar 2013 01:07:45 +0400
parents 90fdb47bfcba
children 2bf48d11d742
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2
495
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
3 /* 296 */
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
4 enum BildingType : unsigned short
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
5 {
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
6 BildingType_WeaponShop = 0x1,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
7 BildingType_ArmorShop = 0x2,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
8 BildingType_MagicShop = 0x3,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
9 BildingType_AlchemistShop = 0x4,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
10 BildingType_FireGuild = 0x5,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
11 BildingType_AirGuild = 0x6,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
12 BildingType_WaterGuild = 0x7,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
13 BildingType_EarthGuild = 0x8,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
14 BildingType_SpiritGuild = 0x9,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
15 BildingType_MindGuild = 0xA,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
16 BildingType_BodyGuild = 0xB,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
17 BildingType_LightGuild = 0xC,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
18 BildingType_DarkGuild = 0xD,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
19 BildingType_14 = 0xE,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
20 BildingType_15 = 0xF,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
21 BildingType_16 = 0x10,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
22 BildingType_TownHall = 0x11,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
23 BildingType_18 = 0x12,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
24 BildingType_19 = 0x13,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
25 BildingType_Throne_Room = 0x14,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
26 BildingType_Tavern = 0x15,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
27 BildingType_Bank = 0x16,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
28 BildingType_Temple = 0x17,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
29 BildingType_Unic = 0x19,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
30 BildingType_1A = 0x1A,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
31 BildingType_Stables = 0x1B,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
32 BildingType_Boats = 0x1C,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
33 BildingType_House = 0x1D,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
34 BildingType_Training = 0x1E,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
35 BildingType_Jail = 0x1F,
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
36 };
0
Ritor1
parents:
diff changeset
37
Ritor1
parents:
diff changeset
38 /* 168 */
Ritor1
parents:
diff changeset
39 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
40 struct _2devent
Ritor1
parents:
diff changeset
41 {
495
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
42 BildingType uType;
0
Ritor1
parents:
diff changeset
43 unsigned __int16 uAnimationID;
Ritor1
parents:
diff changeset
44 char *pName;
Ritor1
parents:
diff changeset
45 const char *pProprieterName;
Ritor1
parents:
diff changeset
46 const char *pEnterText;
Ritor1
parents:
diff changeset
47 const char *pProprieterTitle;
Ritor1
parents:
diff changeset
48 __int16 field_14;
Ritor1
parents:
diff changeset
49 __int16 _state;
Ritor1
parents:
diff changeset
50 __int16 _rep;
Ritor1
parents:
diff changeset
51 __int16 _per;
Ritor1
parents:
diff changeset
52 __int16 field_1C;
Ritor1
parents:
diff changeset
53 __int16 field_1E;
Ritor1
parents:
diff changeset
54 float fPriceMultiplier;
Ritor1
parents:
diff changeset
55 float flt_24;
Ritor1
parents:
diff changeset
56 unsigned __int16 uOpenTime;
Ritor1
parents:
diff changeset
57 unsigned __int16 uCloseTime;
Ritor1
parents:
diff changeset
58 __int16 uExitPicID;
Ritor1
parents:
diff changeset
59 __int16 uExitMapID;
Ritor1
parents:
diff changeset
60 __int16 _quest_related;
Ritor1
parents:
diff changeset
61 __int16 field_32;
Ritor1
parents:
diff changeset
62 };
Ritor1
parents:
diff changeset
63 #pragma pack(pop)
Ritor1
parents:
diff changeset
64
Ritor1
parents:
diff changeset
65
Ritor1
parents:
diff changeset
66 extern _2devent p2DEvents[525]; // weak