annotate Engine/Events2D.h @ 2553:48708da03b7f

Party Creation UI logic separated from MainMenu
author a.parshin
date Wed, 13 May 2015 02:20:05 +0200
parents 68cdef6879a0
children
rev   line source
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1 #pragma once
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
2
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
3 /* 296 */
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
4 enum BuildingType: unsigned short
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
5 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
6 BuildingType_WeaponShop = 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
7 BuildingType_ArmorShop = 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
8 BuildingType_MagicShop = 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
9 BuildingType_AlchemistShop = 4,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
10 BuildingType_FireGuild = 5,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
11 BuildingType_AirGuild = 6,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
12 BuildingType_WaterGuild = 7,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
13 BuildingType_EarthGuild = 8,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
14 BuildingType_SpiritGuild = 9,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
15 BuildingType_MindGuild = 10,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
16 BuildingType_BodyGuild = 11,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
17 BuildingType_LightGuild = 12,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
18 BuildingType_DarkGuild = 13,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
19 BuildingType_ElementalGuild = 14,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
20 BuildingType_SelfGuild = 15,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
21 BuildingType_16 = 16,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
22 BuildingType_TownHall = 17,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
23 BuildingType_18 = 18,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
24 BuildingType_19 = 19,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
25 BuildingType_Throne_Room = 20,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
26 BuildingType_Tavern = 21,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
27 BuildingType_Bank = 22,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
28 BuildingType_Temple = 23,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
29 BuildingType_24 = 24,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
30 BuildingType_Unic = 25,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
31 BuildingType_1A = 26,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
32 BuildingType_Stables = 27,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
33 BuildingType_Boats = 28,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
34 BuildingType_House = 29,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
35 BuildingType_Training = 30,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
36 BuildingType_Jail = 31
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
37 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
38
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
39 /* 168 */
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
40 #pragma pack(push, 1)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
41 struct _2devent
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
42 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
43 BuildingType uType;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
44 unsigned __int16 uAnimationID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
45 char *pName;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
46 const char *pProprieterName;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
47 const char *pEnterText;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
48 const char *pProprieterTitle;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
49 __int16 field_14;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
50 __int16 _state;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
51 __int16 _rep;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
52 __int16 _per;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
53 __int16 field_1C;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
54 __int16 field_1E;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
55 float fPriceMultiplier;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
56 float flt_24;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
57 unsigned __int16 uOpenTime;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
58 unsigned __int16 uCloseTime;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
59 __int16 uExitPicID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
60 __int16 uExitMapID;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
61 __int16 _quest_related;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
62 __int16 field_32;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
63 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
64 #pragma pack(pop)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
65
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
66 extern _2devent p2DEvents[525];