Mercurial > mm7
comparison Player.h @ 1743:26c1a3d50635
Merge
author | Ritor1 |
---|---|
date | Thu, 26 Sep 2013 23:42:25 +0600 |
parents | f44b6e02e81c |
children | 50e91a820f6f |
comparison
equal
deleted
inserted
replaced
1742:79621dd04649 | 1743:26c1a3d50635 |
---|---|
53 SPEECH_10 = 10, | 53 SPEECH_10 = 10, |
54 SPEECH_11 = 11, | 54 SPEECH_11 = 11, |
55 SPEECH_12 = 12, | 55 SPEECH_12 = 12, |
56 SPEECH_14 = 14, | 56 SPEECH_14 = 14, |
57 SPEECH_NoRoom = 15, // when placing to inventory | 57 SPEECH_NoRoom = 15, // when placing to inventory |
58 SPEECH_16 = 16, | 58 SPEECH_DO_POTION_FINE = 16, |
59 SPEECH_17 = 17, | 59 SPEECH_17 = 17, |
60 SPEECH_18 = 18, | 60 SPEECH_18 = 18, |
61 SPEECH_19 = 19, | 61 SPEECH_19 = 19, |
62 SPEECH_20 = 20, | 62 SPEECH_20 = 20, |
63 SPEECH_21 = 21, | 63 SPEECH_21 = 21, |
141 SPEECH_99 = 99, | 141 SPEECH_99 = 99, |
142 SPEECH_100 = 100, | 142 SPEECH_100 = 100, |
143 SPEECH_101 = 101, | 143 SPEECH_101 = 101, |
144 SPEECH_PickMe = 102, | 144 SPEECH_PickMe = 102, |
145 SPEECH_103 = 103, | 145 SPEECH_103 = 103, |
146 SPEECH_104 = 104, | 146 SPEECH_IDENTIFY_MONSTER_WEAKER = 104, |
147 SPEECH_105 = 105, | 147 SPEECH_IDENTIFY_MONSTER_STRONGER = 105, |
148 SPEECH_106 = 106, | 148 SPEECH_IDENTIFY_MONSTER_106 = 106, |
149 SPEECH_107 = 107, | 149 SPEECH_107 = 107, |
150 SPEECH_108 = 108, | 150 SPEECH_108 = 108, |
151 SPEECH_109 = 109, | 151 SPEECH_109 = 109, |
152 SPEECH_110 = 110, | 152 SPEECH_110 = 110, |
153 }; | 153 }; |
644 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;} | 644 inline bool IsRaceElf() {return GetRace() == CHARACTER_RACE_ELF;} |
645 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;} | 645 inline bool IsRaceGoblin() {return GetRace() == CHARACTER_RACE_GOBLIN;} |
646 | 646 |
647 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;} | 647 inline bool IsMale() { return GetSexByVoice() == SEX_MALE;} |
648 inline bool IsFemale() { return !IsMale();} | 648 inline bool IsFemale() { return !IsMale();} |
649 | |
650 ItemGen* GetMainHandItem(); | |
651 ItemGen* GetOffHandItem(); | |
652 ItemGen* GetBowItem(); | |
653 ItemGen* GetArmorItem(); | |
654 ItemGen* GetHelmItem(); | |
655 ItemGen* GetBeltItem(); | |
656 ItemGen* GetCloakItem(); | |
657 ItemGen* GetGloveItem(); | |
658 ItemGen* GetBootItem(); | |
659 ItemGen* GetAmuletItem(); | |
660 ItemGen* GetNthRingItem(int ringNum); | |
661 ItemGen* GetNthEquippedIndexItem(int index); | |
662 ItemGen* GetItem(unsigned int PlayerEquipment::* itemPos); | |
649 __int64 pConditions[20]; | 663 __int64 pConditions[20]; |
650 unsigned __int64 uExperience; | 664 unsigned __int64 uExperience; |
651 char pName[16]; | 665 char pName[16]; |
652 PLAYER_SEX uSex; | 666 PLAYER_SEX uSex; |
653 PLAYER_CLASS_TYPE classType; | 667 PLAYER_CLASS_TYPE classType; |