comparison Player.h @ 190:9b77686e2239

Merge
author Gloval
date Sat, 16 Feb 2013 00:44:38 +0400
parents 207b2492e14b
children e6e348d66a75
comparison
equal deleted inserted replaced
189:038a4d09406f 190:9b77686e2239
1 #pragma once 1 #pragma once
2 #include "Items.h" 2 #include "Items.h"
3 #include "Spells.h" 3 #include "Spells.h"
4 4
5 5
6
7
8
9
10
11 /* 301 */
12 enum PlayerSpeech
13 {
14 SPEECH_1 = 1,
15 SPEECH_2 = 2,
16 SPEECH_3 = 3,
17 SPEECH_4 = 4,
18 SPEECH_5 = 5,
19 SPEECH_6 = 6,
20 SPEECH_7 = 7,
21 SPEECH_8 = 8,
22 SPEECH_9 = 9,
23 SPEECH_10 = 10,
24 SPEECH_11 = 11,
25 SPEECH_12 = 12,
26 SPEECH_14 = 14,
27 SPEECH_15 = 15,
28 SPEECH_16 = 16,
29 SPEECH_17 = 17,
30 SPEECH_18 = 18,
31 SPEECH_19 = 19,
32 SPEECH_20 = 20,
33 SPEECH_21 = 21,
34 SPEECH_GoodDay = 22,
35 SPEECH_GoodEvening = 23,
36 SPEECH_24 = 24,
37 SPEECH_25 = 25,
38 SPEECH_26 = 26,
39 SPEECH_27 = 27,
40 SPEECH_28 = 28,
41 SPEECH_29 = 29,
42 SPEECH_30 = 30,
43 SPEECH_31 = 31,
44 SPEECH_32 = 32,
45 SPEECH_33 = 33,
46 SPEECH_34 = 34,
47 SPEECH_35 = 35,
48 SPEECH_36 = 36,
49 SPEECH_37 = 37,
50 SPEECH_38 = 38,
51 SPEECH_39 = 39,
52 SPEECH_40 = 40,
53 SPEECH_41 = 41,
54 SPEECH_42 = 42,
55 SPEECH_43 = 43,
56 SPEECH_44 = 44,
57 SPEECH_45 = 45,
58 SPEECH_46 = 46,
59 SPEECH_47 = 47,
60 SPEECH_48 = 48,
61 SPEECH_49 = 49,
62 SPEECH_50 = 50,
63 SPEECH_51 = 51,
64 SPEECH_52 = 52,
65 SPEECH_53 = 53,
66 SPEECH_54 = 54,
67 SPEECH_55 = 55,
68 SPEECH_56 = 56,
69 SPEECH_57 = 57,
70 SPEECH_58 = 58,
71 SPEECH_59 = 59,
72 SPEECH_60 = 60,
73 SPEECH_61 = 61,
74 SPEECH_62 = 62,
75 SPEECH_63 = 63,
76 SPEECH_64 = 64,
77 SPEECH_Yell = 65,
78 SPEECH_66 = 66,
79 SPEECH_67 = 67,
80 SPEECH_68 = 68,
81 SPEECH_69 = 69,
82 SPEECH_70 = 70,
83 SPEECH_71 = 71,
84 SPEECH_72 = 72,
85 SPEECH_73 = 73,
86 SPEECH_74 = 74,
87 SPEECH_75 = 75,
88 SPEECH_76 = 76,
89 SPEECH_77 = 77,
90 SPEECH_78 = 78,
91 SPEECH_79 = 79,
92 SPEECH_80 = 80,
93 SPEECH_81 = 81,
94 SPEECH_82 = 82,
95 SPEECH_83 = 83,
96 SPEECH_84 = 84,
97 SPEECH_85 = 85,
98 SPEECH_86 = 86,
99 SPEECH_87 = 87,
100 SPEECH_88 = 88,
101 SPEECH_89 = 89,
102 SPEECH_90 = 90,
103 SPEECH_91 = 91,
104 SPEECH_92 = 92,
105 SPEECH_93 = 93,
106 SPEECH_94 = 94,
107 SPEECH_95 = 95,
108 SPEECH_96 = 96,
109 SPEECH_97 = 97,
110 SPEECH_98 = 98,
111 SPEECH_99 = 99,
112 SPEECH_100 = 100,
113 SPEECH_101 = 101,
114 SPEECH_PickMe = 102,
115 SPEECH_103 = 103,
116 SPEECH_104 = 104,
117 SPEECH_105 = 105,
118 SPEECH_106 = 106,
119 SPEECH_107 = 107,
120 SPEECH_108 = 108,
121 SPEECH_109 = 109,
122 SPEECH_110 = 110,
123 };
6 124
7 125
8 126
9 /* 339 */ 127 /* 339 */
10 enum CHARACTER_RACE 128 enum CHARACTER_RACE
253 371
254 CHARACTER_EXPRESSION_54 = 54, 372 CHARACTER_EXPRESSION_54 = 54,
255 CHARACTER_EXPRESSION_55 = 55, 373 CHARACTER_EXPRESSION_55 = 55,
256 CHARACTER_EXPRESSION_56 = 56, 374 CHARACTER_EXPRESSION_56 = 56,
257 CHARACTER_EXPRESSION_57 = 57, 375 CHARACTER_EXPRESSION_57 = 57,
376 CHARACTER_EXPRESSION_58 = 58,
258 377
259 // ? 378 // ?
260 379
261 CHARACTER_EXPRESSION_DEAD = 98, 380 CHARACTER_EXPRESSION_DEAD = 98,
262 CHARACTER_EXPRESSION_ERADICATED = 99, 381 CHARACTER_EXPRESSION_ERADICATED = 99,
361 int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, int a3); 480 int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, int a3);
362 int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2); 481 int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2);
363 char GetActualSkillLevel(enum PLAYER_SKILL_TYPE uSkillType); 482 char GetActualSkillLevel(enum PLAYER_SKILL_TYPE uSkillType);
364 int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2); 483 int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2);
365 enum CHARACTER_RACE GetRace(); 484 enum CHARACTER_RACE GetRace();
366 int GetSexByVoice(); 485 PLAYER_SEX GetSexByVoice();
367 void SetInitialStats(); 486 void SetInitialStats();
368 int SetSexByVoice(); 487 int SetSexByVoice();
369 void Reset(PLAYER_CLASS_TYPE classType); 488 void Reset(PLAYER_CLASS_TYPE classType);
370 enum PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order); 489 enum PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order);
371 void DecreaseAttribute(int eAttribute); 490 void DecreaseAttribute(int eAttribute);
395 bool CanAct(); 514 bool CanAct();
396 bool CanSteal(); 515 bool CanSteal();
397 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID); 516 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID);
398 int SetCondition(unsigned int uConditionIdx, int a3); 517 int SetCondition(unsigned int uConditionIdx, int a3);
399 int _49327B(unsigned int uClass, int a3); 518 int _49327B(unsigned int uClass, int a3);
400 __int16 PlaySound(int a2, int a3); 519 void PlaySound(PlayerSpeech speech, int a3);
401 __int16 PlayEmotion(CHARACTER_EXPRESSION_ID expression, int a3); 520 void PlayEmotion(CHARACTER_EXPRESSION_ID expression, int a3);
402 char _4160CA(int a2); 521 char _4160CA(int a2);
403 unsigned int GetItemIDAtInventoryIndex(int *a2); 522 unsigned int GetItemIDAtInventoryIndex(int *a2);
404 int _4B6FF9(); 523 int _4B6FF9();
405 int _4B824B(float a2); 524 int _4B824B(float a2);
406 int _4B8265(int a2, float a3); 525 int _4B8265(int a2, float a3);