annotate Engine/Awards.h @ 2532:9ec6b8be16fe

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