annotate Events2D.h @ 1083:ddf53a2d0bf5

pointer cleaning
author zipi
date Sat, 25 May 2013 22:28:13 +0100
parents 2bf48d11d742
children 0dbf6c4dd029
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 */
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
4 enum BildingType: unsigned short
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
5 {
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
6 BildingType_WeaponShop = 1,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
7 BildingType_ArmorShop = 2,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
8 BildingType_MagicShop = 3,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
9 BildingType_AlchemistShop = 4,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
10 BildingType_FireGuild = 5,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
11 BildingType_AirGuild = 6,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
12 BildingType_WaterGuild = 7,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
13 BildingType_EarthGuild = 8,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
14 BildingType_SpiritGuild = 9,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
15 BildingType_MindGuild = 10,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
16 BildingType_BodyGuild = 11,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
17 BildingType_LightGuild = 12,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
18 BildingType_DarkGuild = 13,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
19 BildingType_14 = 14,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
20 BildingType_15 = 15,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
21 BildingType_16 = 16,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
22 BildingType_TownHall = 17,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
23 BildingType_18 = 18,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
24 BildingType_19 = 19,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
25 BildingType_Throne_Room = 20,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
26 BildingType_Tavern = 21,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
27 BildingType_Bank = 22,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
28 BildingType_Temple = 23,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
29 BuildingType_24 = 24,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
30 BildingType_Unic = 25,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
31 BildingType_1A = 26,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
32 BildingType_Stables = 27,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
33 BildingType_Boats = 28,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
34 BildingType_House = 29,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
35 BildingType_Training = 30,
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
36 BildingType_Jail = 31
2bf48d11d742 Training hall UI fixed
Nomad
parents: 495
diff changeset
37 };
0
Ritor1
parents:
diff changeset
38
Ritor1
parents:
diff changeset
39 /* 168 */
Ritor1
parents:
diff changeset
40 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
41 struct _2devent
Ritor1
parents:
diff changeset
42 {
495
90fdb47bfcba guilds ...
Gloval
parents: 0
diff changeset
43 BildingType uType;
0
Ritor1
parents:
diff changeset
44 unsigned __int16 uAnimationID;
Ritor1
parents:
diff changeset
45 char *pName;
Ritor1
parents:
diff changeset
46 const char *pProprieterName;
Ritor1
parents:
diff changeset
47 const char *pEnterText;
Ritor1
parents:
diff changeset
48 const char *pProprieterTitle;
Ritor1
parents:
diff changeset
49 __int16 field_14;
Ritor1
parents:
diff changeset
50 __int16 _state;
Ritor1
parents:
diff changeset
51 __int16 _rep;
Ritor1
parents:
diff changeset
52 __int16 _per;
Ritor1
parents:
diff changeset
53 __int16 field_1C;
Ritor1
parents:
diff changeset
54 __int16 field_1E;
Ritor1
parents:
diff changeset
55 float fPriceMultiplier;
Ritor1
parents:
diff changeset
56 float flt_24;
Ritor1
parents:
diff changeset
57 unsigned __int16 uOpenTime;
Ritor1
parents:
diff changeset
58 unsigned __int16 uCloseTime;
Ritor1
parents:
diff changeset
59 __int16 uExitPicID;
Ritor1
parents:
diff changeset
60 __int16 uExitMapID;
Ritor1
parents:
diff changeset
61 __int16 _quest_related;
Ritor1
parents:
diff changeset
62 __int16 field_32;
Ritor1
parents:
diff changeset
63 };
Ritor1
parents:
diff changeset
64 #pragma pack(pop)
Ritor1
parents:
diff changeset
65
Ritor1
parents:
diff changeset
66
Ritor1
parents:
diff changeset
67 extern _2devent p2DEvents[525]; // weak