annotate Party.h @ 123:05b2d9653abc

15.11.12
author Ritor1
date Thu, 15 Nov 2012 16:36:30 +0600
parents f76e4ea4a224
children
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "Player.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3 #include "NPC.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 #include "Spells.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #include "VectorTypes.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 /* 355 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 enum PARTY_FLAGS_2 : __int32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 PARTY_FLAGS_2_RUNNING = 0x2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 /* 347 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 enum PARTY_BUFF_INDEX
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 PARTY_BUFF_RESIST_AIR = 0x0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 PARTY_BUFF_RESIST_BODY = 0x1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 PARTY_BUFF_DAY_OF_GODS = 0x2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 PARTY_BUFF_DETECT_LIFE = 0x3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 PARTY_BUFF_RESIST_EARTH = 0x4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 PARTY_BUFF_FEATHER_FALL = 0x5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 PARTY_BUFF_RESIST_FIRE = 0x6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 PARTY_BUFF_FLY = 0x7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 PARTY_BUFF_HASTE = 0x8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 PARTY_BUFF_HEROISM = 0x9,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35 PARTY_BUFF_IMMOLATION = 0xA,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36 PARTY_BUFF_INVISIBILITY = 0xB,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 PARTY_BUFF_RESIST_MIND = 0xC,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 PARTY_BUFF_PROTECTION_FROM_MAGIC = 0xD,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 PARTY_BUFF_SHIELD = 0xE,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
40 PARTY_BUFF_STONE_SKIN = 0xF,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 PARTY_BUFF_TORCHLIGHT = 0x10,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 PARTY_BUFF_RESIST_WATER = 0x11,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 PARTY_BUFF_WATER_WALK = 0x12,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 PARTY_BUFF_WIZARD_EYE = 0x13,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49 /* 300 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50 enum PartyAction: unsigned __int32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 PARTY_INVALID = 0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
53 PARTY_TurnLeft = 0x1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 PARTY_TurnRight = 0x2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 PARTY_StrafeLeft = 0x3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 PARTY_StrafeRight = 0x4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57 PARTY_WalkForward = 0x5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 PARTY_WalkBackward = 0x6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 PARTY_LookUp = 0x7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 PARTY_LookDown = 0x8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 PARTY_CenterView = 0x9,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 PARTY_unkA = 0xA,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 PARTY_unkB = 0xB,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 PARTY_Jump = 0xC,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 PARTY_FlyUp = 0xD,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 PARTY_FlyDown = 0xE,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 PARTY_Land = 0xF,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 PARTY_RunForward = 0x10,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 PARTY_RunBackward = 0x11,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 PARTY_FastTurnLeft = 0x12,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
71 PARTY_FastTurnRight = 0x13,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 PARTY_dword = 0xFFFFFFFF
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
78 /* 135 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 struct ActionQueue
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82 void Add(PartyAction action);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 PartyAction Next();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 unsigned int uNumActions;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86 PartyAction pActions[30];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
94
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99 /* 208 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 struct Party_stru0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103 int field_0[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 int field_50[170];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 int _shop_ban_times[82];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 int field_440[44];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107 int field_4F0[38];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 char field_588[2];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 char pIsArtifactFound[238];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 /* 207 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
115 struct Party
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
116 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
117 Party():
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
118 uTimePlayed(0)
26
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
119 {
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
120 uCurrentYear = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
121 uCurrentMonth = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
122 uCurrentMonthWeek = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
123 uDaysPlayed = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
124 uCurrentHour = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
125 uCurrentMinute = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
126 uCurrentTimeSecond = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
127
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
128 field_6FC = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
129 field_764 = 0;
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
130 }
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 void _4909F4();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 void RestAndHeal();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 unsigned int GetPartyFame();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 void CreateDefaultParty(char bGiveItems);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
136 int Reset();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 void ResetPosMiscAndSpellBuffs();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 bool HasItem(unsigned int uItemID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 void SetHoldingItem(ItemGen *pItem);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 int GetNextActiveCharacter();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
141 bool _497FC5_check_party_perception_against_level();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142 bool AddItem(ItemGen *pItem);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143 void Yell();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145 static void SetGold(unsigned int uNumGold);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146 static void TakeGold(unsigned int uNumGold);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147 static __int16 SetFood(unsigned int uNumFood);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
148 static void TakeFood(unsigned int uNumFood);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
149 static __int16 GiveFood(unsigned int _this);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150
58
41cbaabde2cb BLV render
Nomad
parents: 52
diff changeset
151 inline bool WizardEyeActive() {return pPartyBuffs[PARTY_BUFF_WIZARD_EYE].uExpireTime > 0;}
41cbaabde2cb BLV render
Nomad
parents: 52
diff changeset
152 inline int WizardEyeSkillLevel() {return pPartyBuffs[PARTY_BUFF_WIZARD_EYE].uSkill;}
98
f76e4ea4a224 Outdoor::Load
Nomad
parents: 71
diff changeset
153 inline bool TorchlightActive() {return pPartyBuffs[PARTY_BUFF_TORCHLIGHT].uExpireTime > 0;}
58
41cbaabde2cb BLV render
Nomad
parents: 52
diff changeset
154 inline bool FlyActive() {return pPartyBuffs[PARTY_BUFF_FLY].uExpireTime > 0;}
41cbaabde2cb BLV render
Nomad
parents: 52
diff changeset
155 inline bool WaterWalkActive() {return pPartyBuffs[PARTY_BUFF_WATER_WALK].uExpireTime > 0;}
41cbaabde2cb BLV render
Nomad
parents: 52
diff changeset
156 inline bool ImmolationActive() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uExpireTime > 0;}
41cbaabde2cb BLV render
Nomad
parents: 52
diff changeset
157 inline bool ImmolationSkillLevel() {return pPartyBuffs[PARTY_BUFF_IMMOLATION].uSkill;}
71
8453114181af intermediate
Nomad
parents: 58
diff changeset
158 inline bool FeatherFallActive() {return pPartyBuffs[PARTY_BUFF_FEATHER_FALL].uExpireTime > 0;}
52
0f4ed4f0f472 BLV minimap: 1/3
Nomad
parents: 26
diff changeset
159
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
160
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
161 int field_0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 unsigned int uPartyHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163 unsigned int uDefaultPartyHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164 int sEyelevel;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165 unsigned int uDefaultEyelevel;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166 int field_14;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167 int field_18;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168 unsigned int uWalkSpeed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169 int field_20_prolly_turn_speed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170 int field_24;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172 unsigned __int64 uTimePlayed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173 __int64 uLastRegenerationTime;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174 Party_stru0 field_3C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
175 Vec3_int_ vPosition;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176 int sRotationY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177 int sRotationX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 Vec3_int_ vPrevPosition;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 int sPrevRotationY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 int sPrevRotationX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 int sPrevEyelevel;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 int field_6E0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 int field_6E4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 int uFallSpeed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185 int field_6EC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186 int field_6F0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 int field_6F4_packedid;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 int field_6F8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189 int field_6FC;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190 int uFallStartY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 unsigned int bFlying;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 char field_708;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 char field_709;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 char field_70A;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 char field_70B;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196 unsigned int uCurrentYear;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197 unsigned int uCurrentMonth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198 unsigned int uCurrentMonthWeek;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 unsigned int uDaysPlayed;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 unsigned int uCurrentHour;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 unsigned int uCurrentMinute;
26
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
202 unsigned int uCurrentTimeSecond;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 unsigned int uNumFoodRations;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 int field_72C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 int field_730;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 unsigned int uNumGold;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 unsigned int uNumGoldInBank;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208 unsigned int uNumDeaths;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 int field_740;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 int uNumPrisonTerms;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 unsigned int uNumBountiesCollected;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212 int field_74C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
213 __int16 field_750[5];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214 __int16 field_75A[5];
26
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
215 char field_764; // num hours resting or some sort of.
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216 unsigned __int8 _award_bits[64];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217 unsigned __int8 pArcomageWins[16];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218 char field_7B5_in_arena_quest;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219 char uNumArenaPageWins;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220 char uNumArenaSquireWins;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221 char uNumArenaKnightWins;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222 char uNumArenaLordWins;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
223 char field_7BA[12];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
224 char pArtifactsFound[56];
26
93bf1d5f6a6d Game loading.
Nomad
parents: 0
diff changeset
225 unsigned char _autonote_bits[12];
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
226 char field_80A[74];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
227 char field_854[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
228 int field_874;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229 int field_878;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230 unsigned int bTurnBasedModeOn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231 int field_880;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232 int uFlags2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233 unsigned int uAlignment;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234 SpellBuff pPartyBuffs[20];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235 Player pPlayers[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236 NPCData pHirelings[2];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237 ItemGen pPickedItem;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238 unsigned int uFlags;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239 int field_777C[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240 int field_871C[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241 int field_96BC[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242 int field_A65C[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
243 int field_B5FC[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
244 int field_C59C[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245 int field_D53C[1000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246 int field_E4DC[300];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247 int field_E98C[13];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248 int dword_E9C0;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249 int dword_E9C4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250 char field_E9C8[5000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251 char field_FD50[5000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252 char field_110D8[5000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253 char field_12460[5000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254 char field_137E8[5000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255 char field_14B70[5000];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256 char field_15EF8[250];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
257 char field_15FF2[130];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258 char pHireling1Name[100];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
259 char pHireling2Name[100];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
260 int field_1613C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
261 int field_16140;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
262 int pTurnBasedPlayerRecoveryTimes[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
263 char field_16154[212];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
264 int uFine;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
265 float flt_TorchlightColorR;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
266 float flt_TorchlightColorG;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
267 float flt_TorchlightColorB;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
268 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
269 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
270
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
271
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
272
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
273 extern Party *pParty; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
274
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
275
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
276 extern struct ActionQueue *pPartyActionQueue;