comparison Player.h @ 130:1c471f3629fb

Party expressions update
author Nomad
date Mon, 11 Feb 2013 19:40:49 +0200
parents 9c0607679772
children 9b0d651821f1
comparison
equal deleted inserted replaced
122:48bea61a12a5 130:1c471f3629fb
22 CHARACTER_ENDURANCE = 0x3, 22 CHARACTER_ENDURANCE = 0x3,
23 CHARACTER_ACCURACY = 0x4, 23 CHARACTER_ACCURACY = 0x4,
24 CHARACTER_SPEED = 0x5, 24 CHARACTER_SPEED = 0x5,
25 CHARACTER_LUCK = 0x6, 25 CHARACTER_LUCK = 0x6,
26 }; 26 };
27
28
27 29
28 /* 332 */ 30 /* 332 */
29 enum CHARACTER_ATTRIBUTE_TYPE 31 enum CHARACTER_ATTRIBUTE_TYPE
30 { 32 {
31 CHARACTER_ATTRIBUTE_STRENGTH = 0x0, 33 CHARACTER_ATTRIBUTE_STRENGTH = 0x0,
199 201
200 202
201 203
202 204
203 205
206 enum CHARACTER_EXPRESSION_ID: unsigned __int16
207 {
208 CHARACTER_EXPRESSION_INVALID = 0,
209 CHARACTER_EXPRESSION_1 = 1,
210 CHARACTER_EXPRESSION_CURSED = 2,
211 CHARACTER_EXPRESSION_WEAK = 3,
212 CHARACTER_EXPRESSION_SLEEP = 4,
213 CHARACTER_EXPRESSION_FEAR = 5,
214 CHARACTER_EXPRESSION_DRUNK = 6,
215 CHARACTER_EXPRESSION_INSANE = 7,
216 CHARACTER_EXPRESSION_POISONED = 8,
217 CHARACTER_EXPRESSION_DISEASED = 9,
218 CHARACTER_EXPRESSION_PARALYZED = 10,
219 CHARACTER_EXPRESSION_UNCONCIOUS = 11,
220 CHARACTER_EXPRESSION_PERTIFIED = 12,
221 CHARACTER_EXPRESSION_13 = 13,
222 CHARACTER_EXPRESSION_14 = 14,
223 CHARACTER_EXPRESSION_15 = 15,
224 CHARACTER_EXPRESSION_16 = 16,
225 CHARACTER_EXPRESSION_17 = 17,
226 CHARACTER_EXPRESSION_18 = 18,
227 CHARACTER_EXPRESSION_19 = 19,
228 CHARACTER_EXPRESSION_20 = 20,
229 CHARACTER_EXPRESSION_21 = 21,
230 CHARACTER_EXPRESSION_22 = 22,
231 CHARACTER_EXPRESSION_23 = 23,
232 CHARACTER_EXPRESSION_24 = 24,
233 CHARACTER_EXPRESSION_25 = 25,
234 CHARACTER_EXPRESSION_26 = 26,
235 CHARACTER_EXPRESSION_27 = 27,
236 CHARACTER_EXPRESSION_28 = 28,
237 CHARACTER_EXPRESSION_29 = 29,
238 CHARACTER_EXPRESSION_30 = 30,
239 CHARACTER_EXPRESSION_31 = 31,
240 CHARACTER_EXPRESSION_32 = 32,
241 CHARACTER_EXPRESSION_33 = 33,
242 CHARACTER_EXPRESSION_34 = 34,
243 CHARACTER_EXPRESSION_35 = 35,
244 CHARACTER_EXPRESSION_36 = 36,
245 CHARACTER_EXPRESSION_37 = 37,
246 CHARACTER_EXPRESSION_38 = 38,
247 CHARACTER_EXPRESSION_39 = 39,
248
249 // ?
250
251 CHARACTER_EXPRESSION_46 = 46,
252
253 CHARACTER_EXPRESSION_54 = 54,
254 CHARACTER_EXPRESSION_55 = 55,
255 CHARACTER_EXPRESSION_56 = 56,
256 CHARACTER_EXPRESSION_57 = 57,
257
258 // ?
259
260 CHARACTER_EXPRESSION_DEAD = 98,
261 CHARACTER_EXPRESSION_ERADICATED = 99,
262 };
263
264
204 enum PLAYER_SEX: unsigned __int8 265 enum PLAYER_SEX: unsigned __int8
205 { 266 {
206 SEX_MALE = 0, 267 SEX_MALE = 0,
207 SEX_FEMALE = 1 268 SEX_FEMALE = 1
208 }; 269 };
218 Condition_Fear = 3, 279 Condition_Fear = 3,
219 Condition_Drunk = 4, 280 Condition_Drunk = 4,
220 Condition_Insane = 5, 281 Condition_Insane = 5,
221 Condition_Poison1 = 6, 282 Condition_Poison1 = 6,
222 Condition_Disease1 = 7, 283 Condition_Disease1 = 7,
223 Condition_Posion2 = 8, 284 Condition_Poison2 = 8,
224 Condition_Disease2 = 9, 285 Condition_Disease2 = 9,
225 Condition_Poison3 = 10, 286 Condition_Poison3 = 10,
226 Condition_Disease3 = 11, 287 Condition_Disease3 = 11,
227 Condition_Paralyzed = 12, 288 Condition_Paralyzed = 12,
228 Condition_Unconcious = 13, 289 Condition_Unconcious = 13,
334 bool CanSteal(); 395 bool CanSteal();
335 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID); 396 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID);
336 int SetCondition(unsigned int uConditionIdx, int a3); 397 int SetCondition(unsigned int uConditionIdx, int a3);
337 int _49327B(unsigned int uClass, int a3); 398 int _49327B(unsigned int uClass, int a3);
338 __int16 PlaySound(int a2, int a3); 399 __int16 PlaySound(int a2, int a3);
339 __int16 PlayEmotion(int a2, int a3); 400 __int16 PlayEmotion(CHARACTER_EXPRESSION_ID expression, int a3);
340 char _4160CA(int a2); 401 char _4160CA(int a2);
341 unsigned int GetItemIDAtInventoryIndex(int *a2); 402 unsigned int GetItemIDAtInventoryIndex(int *a2);
342 int _4B6FF9(); 403 int _4B6FF9();
343 int _4B824B(float a2); 404 int _4B824B(float a2);
344 int _4B8265(int a2, float a3); 405 int _4B8265(int a2, float a3);
497 char field_1A97; 558 char field_1A97;
498 char uFullHealthBonus; 559 char uFullHealthBonus;
499 char _health_related; 560 char _health_related;
500 char uFullManaBonus; 561 char uFullManaBonus;
501 char _mana_related; 562 char _mana_related;
502 unsigned __int16 uExpressionID; 563 CHARACTER_EXPRESSION_ID expression;
503 unsigned __int16 uExpressionTimePassed; 564 unsigned __int16 uExpressionTimePassed;
504 unsigned __int16 uExpressionTimeLength; 565 unsigned __int16 uExpressionTimeLength;
505 __int16 field_1AA2; 566 __int16 field_1AA2;
506 int field_1AA4; 567 int field_1AA4;
507 int field_1AA8; 568 int field_1AA8;