annotate Party.h @ 1424:5930342f092b

fall to the water
author Ritor1
date Tue, 30 Jul 2013 15:14:46 +0600
parents 60cdc3eac407
children 3efe35df79c3
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "Player.h"
Ritor1
parents:
diff changeset
3 #include "NPC.h"
Ritor1
parents:
diff changeset
4 #include "VectorTypes.h"
Ritor1
parents:
diff changeset
5
Ritor1
parents:
diff changeset
6
Ritor1
parents:
diff changeset
7
1053
1c10b24a4159 BLV picky-blicky
Nomad
parents: 1052
diff changeset
8 #define PARTY_AUTONOTES_BIT__EMERALD_FIRE_FOUNTAIN 2
0
Ritor1
parents:
diff changeset
9
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
10 enum PARTY_QUEST_BITS: unsigned __int32
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
11 {
1035
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
12 PARTY_QUEST_EMERALD_RED_POTION_ACTIVE = 1,
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
13 PARTY_QUEST_EMERALD_SEASHELL_ACTIVE = 2,
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
14 PARTY_QUEST_EMERALD_LONGBOW_ACTIVE = 3,
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
15 PARTY_QUEST_EMERALD_PLATE_ACTIVE = 4,
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
16 PARTY_QUEST_EMERALD_LUTE_ACTIVE = 5,
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
17 PARTY_QUEST_EMERALD_HAT_ACTIVE = 6,
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
18
1052
d48c762de563 -nomarg
Nomad
parents: 1035
diff changeset
19 PARTY_QUEST_EMERALD_MARGARETH_OFF = 17,
d48c762de563 -nomarg
Nomad
parents: 1035
diff changeset
20
778
Nomad
parents: 766
diff changeset
21 PARTY_QUEST_EVENMORN_MAP_FOUND = 64,
981
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 949
diff changeset
22 PARTY_QUEST_FINISHED_EMERALD_ISLE = 136,
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
23 PARTY_QUEST_FOUNTAIN_HARMONDALE = 206,
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
24 PARTY_QUEST_FOUNTAIN_NIGHON = 207,
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
25 PARTY_QUEST_FOUNTAIN_PIERPONT = 208,
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
26 PARTY_QUEST_FOUNTAIN_CELESTIA = 209,
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
27 PARTY_QUEST_FOUNTAIN_THE_PIT = 210,
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
28 PARTY_QUEST_FOUNTAIN_EVENMORN_ISLE = 211
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 593
diff changeset
29 };
0
Ritor1
parents:
diff changeset
30
Ritor1
parents:
diff changeset
31
Ritor1
parents:
diff changeset
32
Ritor1
parents:
diff changeset
33
Ritor1
parents:
diff changeset
34 /* 355 */
141
cca78efb377e Constants -> enums
Nomad
parents: 130
diff changeset
35 enum PARTY_FLAGS_1: __int32
cca78efb377e Constants -> enums
Nomad
parents: 130
diff changeset
36 {
1424
5930342f092b fall to the water
Ritor1
parents: 1359
diff changeset
37 PARTY_FLAGS_1_WATER_DAMAGE = 0x0004,
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 527
diff changeset
38 PARTY_FLAGS_1_FALLING = 0x0008,
390
35a62d1948d4 More sound fixes
Nomad
parents: 373
diff changeset
39 PARTY_FLAGS_1_ALERT_RED = 0x0010,
35a62d1948d4 More sound fixes
Nomad
parents: 373
diff changeset
40 PARTY_FLAGS_1_ALERT_YELLOW = 0x0020,
569
f451efdb7c8b * Party buff icons drawing (right panel)
Nomad
parents: 527
diff changeset
41 PARTY_FLAGS_1_STANDING_ON_WATER = 0x0080,
390
35a62d1948d4 More sound fixes
Nomad
parents: 373
diff changeset
42 PARTY_FLAGS_1_LANDING = 0x0100,
816
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
43 PARTY_FLAGS_1_BURNING = 0x200
141
cca78efb377e Constants -> enums
Nomad
parents: 130
diff changeset
44 };
cca78efb377e Constants -> enums
Nomad
parents: 130
diff changeset
45 enum PARTY_FLAGS_2: __int32
0
Ritor1
parents:
diff changeset
46 {
Ritor1
parents:
diff changeset
47 PARTY_FLAGS_2_RUNNING = 0x2,
Ritor1
parents:
diff changeset
48 };
Ritor1
parents:
diff changeset
49
Ritor1
parents:
diff changeset
50 /* 347 */
Ritor1
parents:
diff changeset
51 enum PARTY_BUFF_INDEX
Ritor1
parents:
diff changeset
52 {
488
Nomad
parents: 484
diff changeset
53 PARTY_BUFF_RESIST_AIR = 0,
Nomad
parents: 484
diff changeset
54 PARTY_BUFF_RESIST_BODY = 1,
Nomad
parents: 484
diff changeset
55 PARTY_BUFF_DAY_OF_GODS = 2,
Nomad
parents: 484
diff changeset
56 PARTY_BUFF_DETECT_LIFE = 3,
Nomad
parents: 484
diff changeset
57 PARTY_BUFF_RESIST_EARTH = 4,
Nomad
parents: 484
diff changeset
58 PARTY_BUFF_FEATHER_FALL = 5,
Nomad
parents: 484
diff changeset
59 PARTY_BUFF_RESIST_FIRE = 6,
Nomad
parents: 484
diff changeset
60 PARTY_BUFF_FLY = 7,
Nomad
parents: 484
diff changeset
61 PARTY_BUFF_HASTE = 8,
Nomad
parents: 484
diff changeset
62 PARTY_BUFF_HEROISM = 9,
Nomad
parents: 484
diff changeset
63 PARTY_BUFF_IMMOLATION = 10,
271
1f0af5cac2dd _42ECB5_PlayerAttacksActor
Nomad
parents: 141
diff changeset
64 PARTY_BUFF_INVISIBILITY = 11,
488
Nomad
parents: 484
diff changeset
65 PARTY_BUFF_RESIST_MIND = 12,
Nomad
parents: 484
diff changeset
66 PARTY_BUFF_PROTECTION_FROM_MAGIC = 13,
Nomad
parents: 484
diff changeset
67 PARTY_BUFF_SHIELD = 14,
Nomad
parents: 484
diff changeset
68 PARTY_BUFF_STONE_SKIN = 15,
Nomad
parents: 484
diff changeset
69 PARTY_BUFF_TORCHLIGHT = 16,
Nomad
parents: 484
diff changeset
70 PARTY_BUFF_RESIST_WATER = 17,
Nomad
parents: 484
diff changeset
71 PARTY_BUFF_WATER_WALK = 18,
Nomad
parents: 484
diff changeset
72 PARTY_BUFF_WIZARD_EYE = 19,
0
Ritor1
parents:
diff changeset
73 };
Ritor1
parents:
diff changeset
74
Ritor1
parents:
diff changeset
75
Ritor1
parents:
diff changeset
76
Ritor1
parents:
diff changeset
77 /* 300 */
Ritor1
parents:
diff changeset
78 enum PartyAction: unsigned __int32
Ritor1
parents:
diff changeset
79 {
Ritor1
parents:
diff changeset
80 PARTY_INVALID = 0,
Ritor1
parents:
diff changeset
81 PARTY_TurnLeft = 0x1,
Ritor1
parents:
diff changeset
82 PARTY_TurnRight = 0x2,
Ritor1
parents:
diff changeset
83 PARTY_StrafeLeft = 0x3,
Ritor1
parents:
diff changeset
84 PARTY_StrafeRight = 0x4,
Ritor1
parents:
diff changeset
85 PARTY_WalkForward = 0x5,
Ritor1
parents:
diff changeset
86 PARTY_WalkBackward = 0x6,
Ritor1
parents:
diff changeset
87 PARTY_LookUp = 0x7,
Ritor1
parents:
diff changeset
88 PARTY_LookDown = 0x8,
Ritor1
parents:
diff changeset
89 PARTY_CenterView = 0x9,
Ritor1
parents:
diff changeset
90 PARTY_unkA = 0xA,
Ritor1
parents:
diff changeset
91 PARTY_unkB = 0xB,
Ritor1
parents:
diff changeset
92 PARTY_Jump = 0xC,
Ritor1
parents:
diff changeset
93 PARTY_FlyUp = 0xD,
Ritor1
parents:
diff changeset
94 PARTY_FlyDown = 0xE,
Ritor1
parents:
diff changeset
95 PARTY_Land = 0xF,
Ritor1
parents:
diff changeset
96 PARTY_RunForward = 0x10,
Ritor1
parents:
diff changeset
97 PARTY_RunBackward = 0x11,
Ritor1
parents:
diff changeset
98 PARTY_FastTurnLeft = 0x12,
Ritor1
parents:
diff changeset
99 PARTY_FastTurnRight = 0x13,
Ritor1
parents:
diff changeset
100
Ritor1
parents:
diff changeset
101 PARTY_dword = 0xFFFFFFFF
Ritor1
parents:
diff changeset
102 };
Ritor1
parents:
diff changeset
103
Ritor1
parents:
diff changeset
104
Ritor1
parents:
diff changeset
105
Ritor1
parents:
diff changeset
106 /* 135 */
Ritor1
parents:
diff changeset
107 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
108 struct ActionQueue
Ritor1
parents:
diff changeset
109 {
Ritor1
parents:
diff changeset
110 void Add(PartyAction action);
783
b27dd658ea77 Taveling by foot fixed.
Nomad
parents: 778
diff changeset
111 void Reset();
0
Ritor1
parents:
diff changeset
112 PartyAction Next();
Ritor1
parents:
diff changeset
113
Ritor1
parents:
diff changeset
114 unsigned int uNumActions;
Ritor1
parents:
diff changeset
115 PartyAction pActions[30];
Ritor1
parents:
diff changeset
116 };
Ritor1
parents:
diff changeset
117 #pragma pack(pop)
Ritor1
parents:
diff changeset
118
Ritor1
parents:
diff changeset
119
Ritor1
parents:
diff changeset
120
Ritor1
parents:
diff changeset
121
Ritor1
parents:
diff changeset
122
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
123 enum PartyAlignment: unsigned __int32
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
124 {
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
125 PartyAlignment_Good = 0,
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
126 PartyAlignment_Neutral = 1,
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
127 PartyAlignment_Evil = 2
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
128 };
0
Ritor1
parents:
diff changeset
129
Ritor1
parents:
diff changeset
130
Ritor1
parents:
diff changeset
131
Ritor1
parents:
diff changeset
132
Ritor1
parents:
diff changeset
133
Ritor1
parents:
diff changeset
134 /* 208 */
Ritor1
parents:
diff changeset
135 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
136 struct Party_stru0
Ritor1
parents:
diff changeset
137 {
Ritor1
parents:
diff changeset
138 int field_0[20];
471
c43f156a95c9 ArmorShopDialog crash fixed. All shops show its items
Gloval
parents: 470
diff changeset
139 // int field_50[170];
c43f156a95c9 ArmorShopDialog crash fixed. All shops show its items
Gloval
parents: 470
diff changeset
140 __int64 field_50[85];
484
4bd56919f075 avard quest guild bits
Gloval
parents: 471
diff changeset
141 __int64 _shop_ban_times[53];
4bd56919f075 avard quest guild bits
Gloval
parents: 471
diff changeset
142 int field_4A0[20];
0
Ritor1
parents:
diff changeset
143 int field_4F0[38];
Ritor1
parents:
diff changeset
144 char field_588[2];
484
4bd56919f075 avard quest guild bits
Gloval
parents: 471
diff changeset
145 __int64 _s_times[21]; //5d8 440h+8*51
527
661f1932d971 Party integrity fix
zipi
parents: 518
diff changeset
146 __int64 field_632[8];
661f1932d971 Party integrity fix
zipi
parents: 518
diff changeset
147 char field_672[6];
484
4bd56919f075 avard quest guild bits
Gloval
parents: 471
diff changeset
148 // char pIsArtifactFound[8];
0
Ritor1
parents:
diff changeset
149 };
Ritor1
parents:
diff changeset
150 #pragma pack(pop)
Ritor1
parents:
diff changeset
151
Ritor1
parents:
diff changeset
152 /* 207 */
Ritor1
parents:
diff changeset
153 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
154 struct Party
Ritor1
parents:
diff changeset
155 {
Ritor1
parents:
diff changeset
156 Party():
Ritor1
parents:
diff changeset
157 uTimePlayed(0)
Ritor1
parents:
diff changeset
158 {
783
b27dd658ea77 Taveling by foot fixed.
Nomad
parents: 778
diff changeset
159 Zero();
0
Ritor1
parents:
diff changeset
160 }
Ritor1
parents:
diff changeset
161
783
b27dd658ea77 Taveling by foot fixed.
Nomad
parents: 778
diff changeset
162 void Zero();
130
1c471f3629fb Party expressions update
Nomad
parents: 122
diff changeset
163 void UpdatePlayersAndHirelingsEmotions();
0
Ritor1
parents:
diff changeset
164 void RestAndHeal();
Ritor1
parents:
diff changeset
165 unsigned int GetPartyFame();
Ritor1
parents:
diff changeset
166 void CreateDefaultParty(char bGiveItems);
Ritor1
parents:
diff changeset
167 int Reset();
Ritor1
parents:
diff changeset
168 void ResetPosMiscAndSpellBuffs();
Ritor1
parents:
diff changeset
169 bool HasItem(unsigned int uItemID);
Ritor1
parents:
diff changeset
170 void SetHoldingItem(ItemGen *pItem);
Ritor1
parents:
diff changeset
171 int GetNextActiveCharacter();
Ritor1
parents:
diff changeset
172 bool _497FC5_check_party_perception_against_level();
Ritor1
parents:
diff changeset
173 bool AddItem(ItemGen *pItem);
Ritor1
parents:
diff changeset
174 void Yell();
1035
306ec23b37df 004C1EE5 & other stuff
Nomad
parents: 981
diff changeset
175 void CountHirelings();
0
Ritor1
parents:
diff changeset
176
Ritor1
parents:
diff changeset
177 static void SetGold(unsigned int uNumGold);
Ritor1
parents:
diff changeset
178 static void TakeGold(unsigned int uNumGold);
593
Nomad
parents: 592
diff changeset
179 static void SetFood(unsigned int uNumFood);
0
Ritor1
parents:
diff changeset
180 static void TakeFood(unsigned int uNumFood);
592
96f48cfdd657 some flags
Nomad
parents: 569
diff changeset
181 static void GiveFood(unsigned int _this);
0
Ritor1
parents:
diff changeset
182
Ritor1
parents:
diff changeset
183 inline bool WizardEyeActive() {return pPartyBuffs[PARTY_BUFF_WIZARD_EYE].uExpireTime > 0;}
Ritor1
parents:
diff changeset
184 inline int WizardEyeSkillLevel() {return pPartyBuffs[PARTY_BUFF_WIZARD_EYE].uSkill;}
Ritor1
parents:
diff changeset
185 inline bool TorchlightActive() {return pPartyBuffs[PARTY_BUFF_TORCHLIGHT].uExpireTime > 0;}
Ritor1
parents:
diff changeset
186 inline bool FlyActive() {return pPartyBuffs[PARTY_BUFF_FLY].uExpireTime > 0;}
Ritor1
parents:
diff changeset
187 inline bool WaterWalkActive() {return pPartyBuffs[PARTY_BUFF_WATER_WALK].uExpireTime > 0;}
Ritor1
parents:
diff changeset
188 inline bool ImmolationActive() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uExpireTime > 0;}
1113
39eaa6b00141 something to bool cast (performance warning) mostly fixed
Grumpy7
parents: 1053
diff changeset
189 inline int ImmolationSkillLevel() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uSkill;}
0
Ritor1
parents:
diff changeset
190 inline bool FeatherFallActive() {return pPartyBuffs[PARTY_BUFF_FEATHER_FALL].uExpireTime > 0;}
141
cca78efb377e Constants -> enums
Nomad
parents: 130
diff changeset
191 inline bool Invisible() {return pPartyBuffs[PARTY_BUFF_INVISIBILITY].uExpireTime > 0;}
0
Ritor1
parents:
diff changeset
192
1113
39eaa6b00141 something to bool cast (performance warning) mostly fixed
Grumpy7
parents: 1053
diff changeset
193 inline bool GetRedAlert() {return (uFlags & PARTY_FLAGS_1_ALERT_RED) != 0;}
390
35a62d1948d4 More sound fixes
Nomad
parents: 373
diff changeset
194 inline void SetRedAlert() {uFlags |= PARTY_FLAGS_1_ALERT_RED;}
1113
39eaa6b00141 something to bool cast (performance warning) mostly fixed
Grumpy7
parents: 1053
diff changeset
195 inline bool GetYellowAlert() {return (uFlags & PARTY_FLAGS_1_ALERT_YELLOW) != 0;}
390
35a62d1948d4 More sound fixes
Nomad
parents: 373
diff changeset
196 inline void SetYellowAlert() {uFlags |= PARTY_FLAGS_1_ALERT_YELLOW;}
35a62d1948d4 More sound fixes
Nomad
parents: 373
diff changeset
197
1359
60cdc3eac407 _449B57_test_bit(pParty->_quest_bits, 99) and _449B57_test_bit(pParty->_quest_bits, 100) changed to Party::IsPartyGood, Party::IsPartyEvil, respectively
Grumpy7
parents: 1310
diff changeset
198 bool IsPartyEvil();
60cdc3eac407 _449B57_test_bit(pParty->_quest_bits, 99) and _449B57_test_bit(pParty->_quest_bits, 100) changed to Party::IsPartyGood, Party::IsPartyEvil, respectively
Grumpy7
parents: 1310
diff changeset
199 bool IsPartyGood();
0
Ritor1
parents:
diff changeset
200
Ritor1
parents:
diff changeset
201 int field_0;
Ritor1
parents:
diff changeset
202 unsigned int uPartyHeight;
Ritor1
parents:
diff changeset
203 unsigned int uDefaultPartyHeight;
Ritor1
parents:
diff changeset
204 int sEyelevel;
Ritor1
parents:
diff changeset
205 unsigned int uDefaultEyelevel;
Ritor1
parents:
diff changeset
206 int field_14;
120
fe0e317c0de0 Camera rotation fixed. Sorta
Nomad
parents: 66
diff changeset
207 int y_rotation_granularity;
0
Ritor1
parents:
diff changeset
208 unsigned int uWalkSpeed;
122
48bea61a12a5 Camera rotation fixed (even more!)
Nomad
parents: 120
diff changeset
209 int y_rotation_speed; // deg/s
0
Ritor1
parents:
diff changeset
210 int field_24;
Ritor1
parents:
diff changeset
211 int field_28;
Ritor1
parents:
diff changeset
212 unsigned __int64 uTimePlayed;
Ritor1
parents:
diff changeset
213 __int64 uLastRegenerationTime;
Ritor1
parents:
diff changeset
214 Party_stru0 field_3C;
Ritor1
parents:
diff changeset
215 Vec3_int_ vPosition;
Ritor1
parents:
diff changeset
216 int sRotationY;
Ritor1
parents:
diff changeset
217 int sRotationX;
Ritor1
parents:
diff changeset
218 Vec3_int_ vPrevPosition;
Ritor1
parents:
diff changeset
219 int sPrevRotationY;
Ritor1
parents:
diff changeset
220 int sPrevRotationX;
Ritor1
parents:
diff changeset
221 int sPrevEyelevel;
Ritor1
parents:
diff changeset
222 int field_6E0;
Ritor1
parents:
diff changeset
223 int field_6E4;
Ritor1
parents:
diff changeset
224 int uFallSpeed;
Ritor1
parents:
diff changeset
225 int field_6EC;
Ritor1
parents:
diff changeset
226 int field_6F0;
831
9c3f28b31b4a Party actions in blv
Nomad
parents: 816
diff changeset
227 int floor_face_pid; // face we are standing at
9c3f28b31b4a Party actions in blv
Nomad
parents: 816
diff changeset
228 int walk_sound_timer;
0
Ritor1
parents:
diff changeset
229 int field_6FC;
Ritor1
parents:
diff changeset
230 int uFallStartY;
Ritor1
parents:
diff changeset
231 unsigned int bFlying;
Ritor1
parents:
diff changeset
232 char field_708;
Ritor1
parents:
diff changeset
233 char field_709;
Ritor1
parents:
diff changeset
234 char field_70A;
Ritor1
parents:
diff changeset
235 char field_70B;
Ritor1
parents:
diff changeset
236 unsigned int uCurrentYear;
Ritor1
parents:
diff changeset
237 unsigned int uCurrentMonth;
Ritor1
parents:
diff changeset
238 unsigned int uCurrentMonthWeek;
Ritor1
parents:
diff changeset
239 unsigned int uDaysPlayed;
Ritor1
parents:
diff changeset
240 unsigned int uCurrentHour;
Ritor1
parents:
diff changeset
241 unsigned int uCurrentMinute;
Ritor1
parents:
diff changeset
242 unsigned int uCurrentTimeSecond;
Ritor1
parents:
diff changeset
243 unsigned int uNumFoodRations;
Ritor1
parents:
diff changeset
244 int field_72C;
Ritor1
parents:
diff changeset
245 int field_730;
Ritor1
parents:
diff changeset
246 unsigned int uNumGold;
Ritor1
parents:
diff changeset
247 unsigned int uNumGoldInBank;
Ritor1
parents:
diff changeset
248 unsigned int uNumDeaths;
Ritor1
parents:
diff changeset
249 int field_740;
Ritor1
parents:
diff changeset
250 int uNumPrisonTerms;
Ritor1
parents:
diff changeset
251 unsigned int uNumBountiesCollected;
Ritor1
parents:
diff changeset
252 int field_74C;
Ritor1
parents:
diff changeset
253 __int16 field_750[5];
Ritor1
parents:
diff changeset
254 __int16 field_75A[5];
766
a464d28566a6 days_played_without_rest
Nomad
parents: 710
diff changeset
255 unsigned char days_played_without_rest;
484
4bd56919f075 avard quest guild bits
Gloval
parents: 471
diff changeset
256 unsigned __int8 _quest_bits[64];
0
Ritor1
parents:
diff changeset
257 unsigned __int8 pArcomageWins[16];
Ritor1
parents:
diff changeset
258 char field_7B5_in_arena_quest;
Ritor1
parents:
diff changeset
259 char uNumArenaPageWins;
Ritor1
parents:
diff changeset
260 char uNumArenaSquireWins;
Ritor1
parents:
diff changeset
261 char uNumArenaKnightWins;
Ritor1
parents:
diff changeset
262 char uNumArenaLordWins;
492
Gloval
parents: 484
diff changeset
263 char pIsArtifactFound[29]; //7ba
Gloval
parents: 484
diff changeset
264 char field_7d7[39];
1310
0665a061132b autonotes and quest tables overflow fixed
Gloval
parents: 1262
diff changeset
265 unsigned char _autonote_bits[26];
0665a061132b autonotes and quest tables overflow fixed
Gloval
parents: 1262
diff changeset
266 char field_818[60];
0
Ritor1
parents:
diff changeset
267 char field_854[32];
949
Nomad
parents: 831
diff changeset
268 int uNumArcomageWins;
Nomad
parents: 831
diff changeset
269 int uNumArcomageLoses;
0
Ritor1
parents:
diff changeset
270 unsigned int bTurnBasedModeOn;
Ritor1
parents:
diff changeset
271 int field_880;
Ritor1
parents:
diff changeset
272 int uFlags2;
373
edd2d8b7e3c4 Interface reloading fix & party alignment enum
Nomad
parents: 349
diff changeset
273 PartyAlignment alignment;
0
Ritor1
parents:
diff changeset
274 SpellBuff pPartyBuffs[20];
Ritor1
parents:
diff changeset
275 Player pPlayers[4];
Ritor1
parents:
diff changeset
276 NPCData pHirelings[2];
Ritor1
parents:
diff changeset
277 ItemGen pPickedItem;
Ritor1
parents:
diff changeset
278 unsigned int uFlags;
463
f7b91ef98ab2 shopgenerators done, except config tables
Gloval
parents: 440
diff changeset
279 ItemGen StandartItemsInShops[53][12];
470
fcdaa804074f Tables for shopgenerators
Gloval
parents: 463
diff changeset
280 ItemGen SpecialItemsInShops[53][12]; //D0EC
496
0e20e886365d guilds ....
Gloval
parents: 493
diff changeset
281 ItemGen SpellBooksInGuilds[32][12];
527
661f1932d971 Party integrity fix
zipi
parents: 518
diff changeset
282 char field_1605C[24];
0
Ritor1
parents:
diff changeset
283 char pHireling1Name[100];
Ritor1
parents:
diff changeset
284 char pHireling2Name[100];
349
672b83584b0f GetActorTintColor
Nomad
parents: 271
diff changeset
285 int armageddon_timer;
0
Ritor1
parents:
diff changeset
286 int field_16140;
Ritor1
parents:
diff changeset
287 int pTurnBasedPlayerRecoveryTimes[4];
463
f7b91ef98ab2 shopgenerators done, except config tables
Gloval
parents: 440
diff changeset
288 int InTheShopFlags[53];
0
Ritor1
parents:
diff changeset
289 int uFine;
Ritor1
parents:
diff changeset
290 float flt_TorchlightColorR;
Ritor1
parents:
diff changeset
291 float flt_TorchlightColorG;
Ritor1
parents:
diff changeset
292 float flt_TorchlightColorB;
Ritor1
parents:
diff changeset
293 };
Ritor1
parents:
diff changeset
294 #pragma pack(pop)
Ritor1
parents:
diff changeset
295
Ritor1
parents:
diff changeset
296
Ritor1
parents:
diff changeset
297
Ritor1
parents:
diff changeset
298 extern Party *pParty; // idb
Ritor1
parents:
diff changeset
299
Ritor1
parents:
diff changeset
300
66
653fdf29c654 23.01.13 (work)
Ritor1
parents: 0
diff changeset
301 extern struct ActionQueue *pPartyActionQueue;
653fdf29c654 23.01.13 (work)
Ritor1
parents: 0
diff changeset
302