annotate Awards.h @ 2015:9dbc142fc8f7

Слияние
author Ritor1
date Mon, 11 Nov 2013 09:17:08 +0600
parents 8b4f4c723edd
children
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1094
diff changeset
2 #include <array>
0
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 353 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct Award
Ritor1
parents:
diff changeset
7 {
949
Nomad
parents: 0
diff changeset
8 const char *pText;
Nomad
parents: 0
diff changeset
9 unsigned int uPriority;
0
Ritor1
parents:
diff changeset
10 };
Ritor1
parents:
diff changeset
11 #pragma pack(pop)
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1094
diff changeset
12 extern std::array<Award, 105> pAwards;
949
Nomad
parents: 0
diff changeset
13
Nomad
parents: 0
diff changeset
14
Nomad
parents: 0
diff changeset
15
Nomad
parents: 0
diff changeset
16 enum AwardType: unsigned __int32
Nomad
parents: 0
diff changeset
17 {
Nomad
parents: 0
diff changeset
18 Award_Invalid = 0
Nomad
parents: 0
diff changeset
19 , Award_Fine = 1
Nomad
parents: 0
diff changeset
20 , Award_EmeraldIsle_CompletedMainQuest = 2
Nomad
parents: 0
diff changeset
21 , Award_EmeraldIsle_FoundMissingCompetitors = 3
Nomad
parents: 0
diff changeset
22 , Award_Harmondale_CastleCleared = 4
Nomad
parents: 0
diff changeset
23 , Award_BarrowDowns_RescuedMiners = 5
Nomad
parents: 0
diff changeset
24 , Award_Erathia_RescuedLorenSteel = 6
Nomad
parents: 0
diff changeset
25 , Award_Avlee_BroughtFakeLorenSteelToErathia = 7
Nomad
parents: 0
diff changeset
26 , Award_Avlee_BroughtFortRiverstridePlans = 8
Nomad
parents: 0
diff changeset
27 , Award_Erathia_DeliveredFakePlansToElves = 9
Nomad
parents: 0
diff changeset
28 , Award_Promotion_Rogue = 10
Nomad
parents: 0
diff changeset
29 , Award_Promotion_Rogue_Honorary = 11
Nomad
parents: 0
diff changeset
30 , Award_Promotion_Spy = 12
Nomad
parents: 0
diff changeset
31 , Award_Promotion_Spy_Honorary = 13
Nomad
parents: 0
diff changeset
32 , Award_Promotion_Assassin = 14
Nomad
parents: 0
diff changeset
33 , Award_Promotion_Assassin_Honorary = 15
Nomad
parents: 0
diff changeset
34 , Award_Promotion_Chevalier = 16
Nomad
parents: 0
diff changeset
35 , Award_Promotion_Chevalier_Honorary = 17
Nomad
parents: 0
diff changeset
36 , Award_Promotion_Champion = 18
Nomad
parents: 0
diff changeset
37 , Award_Promotion_Champion_Honorary = 19
Nomad
parents: 0
diff changeset
38 , Award_Promotion_BlackKnight = 20
Nomad
parents: 0
diff changeset
39 , Award_Promotion_BlackKnight_Honorary = 21
Nomad
parents: 0
diff changeset
40 , Award_Promotion_Initiate = 22
Nomad
parents: 0
diff changeset
41 , Award_Promotion_Initiate_Honorary = 23
Nomad
parents: 0
diff changeset
42 , Award_Promotion_Master = 24
Nomad
parents: 0
diff changeset
43 , Award_Promotion_Master_Honorary = 25
Nomad
parents: 0
diff changeset
44 , Award_Promotion_Ninja = 26
Nomad
parents: 0
diff changeset
45 , Award_Promotion_Ninja_Honorary = 27
Nomad
parents: 0
diff changeset
46 , Award_Promotion_Hunter = 28
Nomad
parents: 0
diff changeset
47 , Award_Promotion_Hunter_Honorary = 29
Nomad
parents: 0
diff changeset
48 , Award_Promotion_RangerLord = 30
Nomad
parents: 0
diff changeset
49 , Award_Promotion_RangerLord_Honorary = 31
Nomad
parents: 0
diff changeset
50 , Award_Promotion_BountyHunter = 32
Nomad
parents: 0
diff changeset
51 , Award_Promotion_BountyHunter_Honorary = 33
Nomad
parents: 0
diff changeset
52 , Award_Promotion_WarriorMage = 34
Nomad
parents: 0
diff changeset
53 , Award_Promotion_WarriorMage_Honorary = 35
Nomad
parents: 0
diff changeset
54 , Award_Promotion_MasterArcher = 36
Nomad
parents: 0
diff changeset
55 , Award_Promotion_MasterArcher_Honorary = 37
Nomad
parents: 0
diff changeset
56 , Award_Promotion_Sniper = 38
Nomad
parents: 0
diff changeset
57 , Award_Promotion_Sniper_Honorary = 39
Nomad
parents: 0
diff changeset
58 , Award_Promotion_Crusader = 40
Nomad
parents: 0
diff changeset
59 , Award_Promotion_Crusader_Honorary = 41
Nomad
parents: 0
diff changeset
60 , Award_Promotion_Hero = 42
Nomad
parents: 0
diff changeset
61 , Award_Promotion_Hero_Honorary = 43
Nomad
parents: 0
diff changeset
62 , Award_Promotion_Villian = 44
Nomad
parents: 0
diff changeset
63 , Award_Promotion_Villian_Honorary = 45
Nomad
parents: 0
diff changeset
64 , Award_Celestia_SurvivedWallOfMist = 46
Nomad
parents: 0
diff changeset
65 , Award_47 = 47
Nomad
parents: 0
diff changeset
66 , Award_KilledXenofex = 48
Nomad
parents: 0
diff changeset
67 , Award_Tatalia_SolvedWineCellarMystery = 49
Nomad
parents: 0
diff changeset
68 , Award_Membership_ElementalGuilds = 50
Nomad
parents: 0
diff changeset
69 , Award_Membership_SelfGuilds = 51
Nomad
parents: 0
diff changeset
70 , Award_Membership_AirGuild = 52
Nomad
parents: 0
diff changeset
71 , Award_Membership_EarthGuild = 53
Nomad
parents: 0
diff changeset
72 , Award_Membership_FireGuild = 54
Nomad
parents: 0
diff changeset
73 , Award_Membership_WaterGuild = 55
Nomad
parents: 0
diff changeset
74 , Award_Membership_BodyGuild = 56
Nomad
parents: 0
diff changeset
75 , Award_Membership_MindGuild = 57
Nomad
parents: 0
diff changeset
76 , Award_Membership_SpiritGuild = 58
Nomad
parents: 0
diff changeset
77 , Award_Membership_LightGuild = 59
Nomad
parents: 0
diff changeset
78 , Award_Membership_DarkGuild = 60
Nomad
parents: 0
diff changeset
79 , Award_Avlee_RetrievedForestHeart = 61
Nomad
parents: 0
diff changeset
80 , Award_Promotion_Priest = 62
Nomad
parents: 0
diff changeset
81 , Award_Promotion_Priest_Honorary = 63
Nomad
parents: 0
diff changeset
82 , Award_Promotion_PriestOfLight = 64
Nomad
parents: 0
diff changeset
83 , Award_Promotion_PriestOfLight_Honorary = 65
Nomad
parents: 0
diff changeset
84 , Award_Promotion_PriestOfDark = 66
Nomad
parents: 0
diff changeset
85 , Award_Promotion_PriestOfDark_Honorary = 67
Nomad
parents: 0
diff changeset
86 , Award_Promotion_GreatDruid = 68
Nomad
parents: 0
diff changeset
87 , Award_Promotion_GreatDruid_Honorary = 69
Nomad
parents: 0
diff changeset
88 , Award_Promotion_ArchDruid = 70
Nomad
parents: 0
diff changeset
89 , Award_Promotion_ArchDruid_Honorary = 71
Nomad
parents: 0
diff changeset
90 , Award_Promotion_Warlock = 72
Nomad
parents: 0
diff changeset
91 , Award_Promotion_Warlock_Honorary = 73
Nomad
parents: 0
diff changeset
92 , Award_Promotion_Wizard = 74
Nomad
parents: 0
diff changeset
93 , Award_Promotion_Wizard_Honorary = 75
Nomad
parents: 0
diff changeset
94 , Award_Promotion_Archmage = 76
Nomad
parents: 0
diff changeset
95 , Award_Promotion_Archmage_Honorary = 77
Nomad
parents: 0
diff changeset
96 , Award_Promotion_Lich = 78
Nomad
parents: 0
diff changeset
97 , Award_Promotion_Lich_Honorary = 79
Nomad
parents: 0
diff changeset
98 , Award_ThePit_RetrievedSoulJars = 80
Nomad
parents: 0
diff changeset
99 , Award_Celestia_KilledTolberti = 81
Nomad
parents: 0
diff changeset
100 , Award_ThePit_ClearedKlankersLab = 82
Nomad
parents: 0
diff changeset
101 , Award_ThePit_KilledRobertTheWise = 83
Nomad
parents: 0
diff changeset
102 , Award_ThePit_SurvivedBreedingZone = 84
Nomad
parents: 0
diff changeset
103 , Award_Deaths = 85
Nomad
parents: 0
diff changeset
104 , Award_BountiesCollected = 86
Nomad
parents: 0
diff changeset
105 , Award_PrisonTerms = 87
Nomad
parents: 0
diff changeset
106 , Award_Arena_PageWins = 88
Nomad
parents: 0
diff changeset
107 , Award_Arena_SquireWins = 89
Nomad
parents: 0
diff changeset
108 , Award_Arena_KnightWins = 90
Nomad
parents: 0
diff changeset
109 , Award_Arena_LordWins = 91
Nomad
parents: 0
diff changeset
110 , Award_Harmondale_ReturnedLanterOfLight = 92
Nomad
parents: 0
diff changeset
111 , Award_Nighon_RetrievedHaldarsRemains = 93
Nomad
parents: 0
diff changeset
112 , Award_Harmondale_ReturnedDavriksSignetRing = 94
Nomad
parents: 0
diff changeset
113 , Award_Erathia_ReturnedParsonsQuill = 95
Nomad
parents: 0
diff changeset
114 , Award_RetrievedFaeriePipes = 96
Nomad
parents: 0
diff changeset
115 , Award_BarrowDowns_KilledTroglodytesInLowerCity = 97
Nomad
parents: 0
diff changeset
116 , Award_Deyja_KilledAllGriffins = 98
Nomad
parents: 0
diff changeset
117 , Award_Bracada_RetrievedSeasonsStole = 99
Nomad
parents: 0
diff changeset
118 , Award_Avlee_PlacedThreeStatuettes = 100
Nomad
parents: 0
diff changeset
119 , Award_101 = 101
Nomad
parents: 0
diff changeset
120 , Award_ArcomageChampion = 102
Nomad
parents: 0
diff changeset
121 , Award_ArcomageWins = 103
Nomad
parents: 0
diff changeset
122 , Award_ArcomageLoses = 104
Nomad
parents: 0
diff changeset
123
Nomad
parents: 0
diff changeset
124 };
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1094
diff changeset
125 extern std::array<AwardType, 1000> achieved_awards;
949
Nomad
parents: 0
diff changeset
126 extern int num_achieved_awards;
1446
8b4f4c723edd Questbook_Draw
Ritor1
parents: 1202
diff changeset
127 extern int full_num_items_in_book;