World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Player.h
См. документацию.
1 #pragma once
2 
3 #include <vector>
4 
5 #include "Engine/Engine.h"
6 
7 #include "Engine/Events.h"
8 #include "Engine/Conditions.h"
10 #include "Engine/Objects/Items.h"
11 #include "Engine/Spells/Spells.h"
12 
38 };
39 
40 #define PLAYER_GUILD_BITS__FINED 1
41 #define PLAYER_GUILD_BITS__SPIRIT_MEMBERSHIP 58
42 #define PLAYER_GUILD_BITS__ARCOMAGE_WIN 103
43 #define PLAYER_GUILD_BITS__ARCOMAGE_LOSE 104
44 
45 /* 301 */
47  SPEECH_1 = 1,
48  SPEECH_2 = 2,
49  SPEECH_3 = 3,
50  SPEECH_4 = 4,
51  SPEECH_5 = 5,
52  SPEECH_6 = 6,
53  SPEECH_7 = 7,
54  SPEECH_8 = 8,
55  SPEECH_9 = 9,
56  SPEECH_10 = 10,
57  SPEECH_11 = 11,
58  SPEECH_12 = 12,
60  SPEECH_14 = 14,
61  SPEECH_NoRoom = 15, // when placing to inventory
63  SPEECH_17 = 17,
64  SPEECH_18 = 18,
65  SPEECH_19 = 19,
66  SPEECH_20 = 20,
67  SPEECH_21 = 21,
68  SPEECH_GoodDay = 22, // greets on dialogue start
70  SPEECH_24 = 24, // damage - owww
71  SPEECH_25 = 25, // weak
72  SPEECH_26 = 26, // fear
73  SPEECH_27 = 27, // poisoned
74  SPEECH_28 = 28, // diseased
75  SPEECH_29 = 29, // insane
76  SPEECH_30 = 30, // cursed
77  SPEECH_31 = 31, // drunk
78  SPEECH_32 = 32, // uncnocious
79  SPEECH_33 = 33, // dead
80  SPEECH_34 = 34, // petrified
81  SPEECH_35 = 35, // eradicated
82  SPEECH_36 = 36,
83  SPEECH_37 = 37,
85  SPEECH_39 = 39, // cant use that
86  SPEECH_40 = 40,
87  SPEECH_41 = 41,
88  SPEECH_42 = 42,
89  SPEECH_43 = 43,
90  SPEECH_44 = 44,
91  SPEECH_45 = 45,
92  SPEECH_46 = 46,
93  SPEECH_47 = 47,
94  SPEECH_48 = 48,
95  SPEECH_49 = 49,
96  SPEECH_50 = 50,
97  SPEECH_51 = 51,
98  SPEECH_52 = 52, // ATTACK MISSED??
99  SPEECH_53 = 53,
100  SPEECH_54 = 54,
101  SPEECH_55 = 55,
102  SPEECH_56 = 56,
103  SPEECH_57 = 57,
104  SPEECH_58 = 58,
105  SPEECH_59 = 59,
106  SPEECH_60 = 60,
107  SPEECH_61 = 61,
108  SPEECH_62 = 62,
109  SPEECH_63 = 63,
110  SPEECH_64 = 64,
113  SPEECH_67 = 67,
114  SPEECH_68 = 68,
115  SPEECH_69 = 69,
116  SPEECH_70 = 70,
117  SPEECH_CarriageReady = 71, // travelling by carriage
118  SPEECH_SetSail = 72, // travelling by sea
119  SPEECH_73 = 73,
120  SPEECH_74 = 74,
121  SPEECH_75 = 75,
122  SPEECH_76 = 76,
123  SPEECH_77 = 77,
124  SPEECH_78 = 78,
125  SPEECH_79 = 79,
126  SPEECH_80 = 80,
127  SPEECH_81 = 81,
128  SPEECH_82 = 82,
129  SPEECH_83 = 83,
130  SPEECH_84 = 84,
131  SPEECH_85 = 85,
132  SPEECH_86 = 86,
133  SPEECH_87 = 87,
134  SPEECH_88 = 88,
135  SPEECH_89 = 89,
136  SPEECH_90 = 90,
137  SPEECH_91 = 91,
138  SPEECH_92 = 92,
139  SPEECH_93 = 93,
140  SPEECH_94 = 94,
141  SPEECH_95 = 95,
142  SPEECH_96 = 96,
143  SPEECH_97 = 97,
144  SPEECH_98 = 98,
145  SPEECH_99 = 99, // zombie
146  SPEECH_100 = 100,
147  SPEECH_101 = 101,
149  SPEECH_103 = 103,
153  SPEECH_107 = 107, // its just you and me now
154  SPEECH_108 = 108,
155  SPEECH_109 = 109,
156  SPEECH_110 = 110,
157 };
158 
159 /* 339 */
165 };
166 
167 #pragma warning(push)
168 #pragma warning(disable : 4341)
169 /* 328 */
170 enum PLAYER_SKILL_TYPE : signed __int8 {
211 };
212 #pragma warning(pop)
213 
214 /* 329 */
215 enum PLAYER_CLASS_TYPE : unsigned __int8 {
252 };
253 
254 struct LloydBeacon {
256  uBeaconTime = GameTime(0);
257  PartyPos_X = 0;
258  PartyPos_Y = 0;
259  PartyPos_Z = 0;
260  PartyRot_X = 0;
261  PartyRot_Y = 0;
262  unknown = 0;
263  SaveFileID = 0;
264  image = nullptr;
265  }
267  if (image != nullptr) {
268  image->Release();
269  }
270  }
280 };
281 
282 #pragma pack(push, 1)
284  std::array<char, 11> bIsSpellAvailable;
285 };
286 #pragma pack(pop)
287 
288 #pragma pack(push, 1)
289 struct PlayerSpells {
290  union {
291  struct {
301  char _pad_0;
302  };
303  struct {
304  std::array<PlayerSpellbookChapter, 9> pChapters;
305  char _pad_1;
306  };
307  struct {
308  std::array<char, 99> bHaveSpell;
309  char _pad_2;
310  };
311  };
312 };
313 #pragma pack(pop)
314 
315 #pragma pack(push, 1)
317  union {
318  struct {
319  unsigned int uShield;
320  unsigned int uMainHand;
321  unsigned int uBow;
322  unsigned int uArmor;
323  unsigned int uHelm;
324  unsigned int uBelt;
325  unsigned int uCloak;
326  unsigned int uGlove;
327  unsigned int uBoot;
328  unsigned int uAmulet;
329  std::array<unsigned int, 6> uRings;
330  // unsigned int field_2C;
331  // unsigned int field_30;
332  // unsigned int field_34;
333  // unsigned int field_38;
334  // unsigned int field_3C;
335  };
336  std::array<unsigned int, 16> pIndices;
337  };
338 };
339 #pragma pack(pop)
340 
341 enum CHARACTER_EXPRESSION_ID : unsigned __int16 {
382 
383  // ?
384 
385  CHARACTER_EXPRESSION_SCARED = 46, // like falling
386 
392 
393  // ?
394 
397 };
398 
399 enum PLAYER_SEX : uint8_t { SEX_MALE = 0, SEX_FEMALE = 1 };
400 
401 struct Player {
402  static const unsigned int INVETORYSLOTSWIDTH = 14;
403  static const unsigned int INVETORYSLOTSHEIGHT = 9;
404 
405  Player();
406 
407  void SetVariable(enum VariableType var, signed int a3);
408  void AddVariable(enum VariableType var, signed int val);
409  void SubtractVariable(enum VariableType VarNum, signed int pValue);
410  bool CompareVariable(enum VariableType VarNum, signed int pValue);
411  void UseItem_DrinkPotion_etc(signed int a2, int a3);
412  bool AddItem(struct ItemGen* pItem);
414  unsigned short Player::*attrValue,
415  unsigned short Player::*attrBonus);
416  int GetBaseStrength();
417  int GetBaseIntelligence();
418  int GetBaseWillpower();
419  int GetBaseEndurance();
420  int GetBaseAccuracy();
421  int GetBaseSpeed();
422  int GetBaseLuck();
423  int GetBaseLevel();
424  int GetActualLevel();
425  int GetActualMight();
426  int GetActualIntelligence();
427  int GetActualWillpower();
428  int GetActualEndurance();
429  int GetActualAccuracy();
430  int GetActualSpeed();
431  int GetActualLuck();
432  int GetActualAttack(bool onlyMainHandDmg);
433  int GetMeleeDamageMinimal();
434  int GetMeleeDamageMaximal();
435  int CalculateMeleeDamageTo(bool ignoreSkillBonus, bool ignoreOffhand,
436  unsigned int uTargetActorID);
437  int GetRangedAttack();
438  int GetRangedDamageMin();
439  int GetRangedDamageMax();
440  int CalculateRangedDamageTo(int uMonsterInfoID);
443  bool CanTrainToNextLevel();
444  unsigned int GetExperienceDisplayColor();
445  int CalculateIncommingDamage(DAMAGE_TYPE dmg_type, int amount);
448  bool IsUnarmed();
449  bool HasItemEquipped(ITEM_EQUIP_TYPE uEquipIndex);
450  bool HasEnchantedItemEquipped(int uEnchantment);
451  bool WearsItem(int item_id, ITEM_EQUIP_TYPE equip_type);
452  int StealFromShop(ItemGen* itemToSteal, int extraStealDifficulty,
453  int reputation, int extraStealFine, int* fineIfFailed);
454  int StealFromActor(unsigned int uActorID, int _steal_perm, int reputation);
455  void Heal(int amount);
456  int ReceiveDamage(signed int amount, DAMAGE_TYPE dmg_type);
457  int ReceiveSpecialAttackEffect(int attType, struct Actor* pActor);
458  unsigned int GetSpellSchool(unsigned int uSpellID);
459  int GetAttackRecoveryTime(bool bRangedAttack);
460 
461  int GetHealth() const { return this->sHealth; }
462  int GetMaxHealth();
463  int GetMana() const { return this->sMana; }
464  int GetMaxMana();
465 
466  int GetBaseAC();
467  int GetActualAC();
468  unsigned int GetBaseAge();
469  unsigned int GetActualAge();
472  void SetRecoveryTime(signed int sRecoveryTime);
473  void RandomizeName();
474  unsigned int GetMajorConditionIdx();
475  int GetParameterBonus(int player_parameter);
476  int GetSpecialItemBonus(ITEM_ENCHANTMENT enchantment);
477  int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, bool a3 = false);
479  int GetActualSkillLevel(PLAYER_SKILL_TYPE uSkillType);
482  enum CHARACTER_RACE GetRace() const;
483  String GetRaceName() const;
485  void SetInitialStats();
486  void SetSexByVoice();
489  void DecreaseAttribute(int eAttribute);
490  void IncreaseAttribute(int eAttribute);
491  void Zero();
492  unsigned int GetStatColor(int uStat);
493  bool DiscardConditionIfLastsLongerThan(unsigned int uCondition,
494  GameTime time);
495  int SelectPhrasesTransaction(ItemGen* pItem, int building_type,
496  int BuildID_2Events, int a5);
497  int GetBodybuilding();
498  int GetMeditation();
499  bool CanIdentify(ItemGen* pItem);
500  bool CanRepair(ItemGen* pItem);
501  int GetMerchant();
502  int GetPerception();
503  int GetDisarmTrap();
504  char GetLearningPercent();
505  bool CanFitItem(unsigned int uSlot, unsigned int uItemID);
507  int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID);
508  int HasSkill(unsigned int uSkillType);
509  void WearItem(unsigned int uItemID);
510  int AddItem(int uSlot, unsigned int uItemID);
511  int AddItem2(int uSlot, ItemGen* Src);
512  int CreateItemInInventory2(unsigned int index, ItemGen* Src);
513  void PutItemArInventoryIndex(int uItemID, int itemListPos, int uSlot);
514  void RemoveItemAtInventoryIndex(unsigned int uSlot);
515  bool CanAct();
516  bool CanSteal();
517  bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID);
518  void SetCondition(unsigned int uConditionIdx, int blockable);
519  bool ProfessionOrGuildFlagsCorrect(unsigned int uClass, int a3);
520  void PlaySound(PlayerSpeech speech, int a3);
521  void PlayEmotion(CHARACTER_EXPRESSION_ID expression, int duration);
522  void ItemsPotionDmgBreak(int enchant_count);
523  unsigned int GetItemListAtInventoryIndex(int inout_item_cell);
524  struct ItemGen* GetItemAtInventoryIndex(int inout_item_cell);
526  int GetBaseIdentifyPrice(float price_multiplier);
527  int GetBaseRepairPrice(int uRealValue, float price_multiplier);
528  int GetBaseBuyingPrice(int uRealValue, float price_multiplier);
529  int GetBaseSellingPrice(int uRealValue, float price_multiplier);
530  int GetPriceRepair(int uRealValue, float price_multiplier);
531  int GetPriceIdentification(float price_multiplier);
532  int GetBuyingPrice(unsigned int uRealValue, float price_multiplier);
533  int GetPriceSell(ItemGen itemx, float price_multiplier);
534  int GetTempleHealCostModifier(float price_multi);
535  int GetConditionDaysPassed(unsigned int uCondition);
537  void SalesProcess(unsigned int inventory_idnx, int item_index,
538  int _2devent_idx); // 0x4BE2DD
539  bool Recover(int dt);
540  bool CanCastSpell(unsigned int uRequiredMana);
541  void PlayAwardSound();
542  void EquipBody(ITEM_EQUIP_TYPE uEquipType);
544  bool HasItem(unsigned int uItemID, bool checkHeldItem);
545  void OnInventoryLeftClick();
546 
547  bool PlayerHitOrMiss(Actor* pActor, int distancemod, int skillmod);
548 
549  unsigned int GetMultiplierForSkillLevel(PLAYER_SKILL_TYPE uSkillType,
550  int mult1, int mult2, int mult3,
551  int mult4);
553  unsigned int uTargetActorID,
554  bool addOneDice);
555  bool WearsItemAnyWhere(int item_id);
557  unsigned char armour_skill_type, float param2, float param3,
558  float param4, float param5);
559  void SetSkillByEvent(unsigned __int16 Player::*skillToSet,
560  unsigned __int16 skillValue);
561  void AddSkillByEvent(unsigned __int16 Player::*skillToSet,
562  unsigned __int16 addSkillValue);
563  void PlayAwardSound_Anim();
565  void PlayAwardSound_Anim97();
567  void PlayAwardSound_Anim98();
569 
570  bool IsWeak() const;
571  bool IsDead() const;
572  bool IsEradicated() const;
573  bool IsZombie() const;
574  bool IsCursed() const;
575  bool IsPertified() const;
576  bool IsUnconcious() const;
577  bool IsAsleep() const;
578  bool IsParalyzed() const;
579  bool IsDrunk() const;
580 
581  void SetCursed(GameTime time);
582  void SetWeak(GameTime time);
583  void SetAsleep(GameTime time);
584  void SetAfraid(GameTime time);
585  void SetDrunk(GameTime time);
586  void SetInsane(GameTime time);
587  void SetPoisonWeak(GameTime time);
588  void SetDiseaseWeak(GameTime time);
589  void SetPoisonMedium(GameTime time);
590  void SetDiseaseMedium(GameTime time);
591  void SetPoisonSevere(GameTime time);
592  void SetDiseaseSevere(GameTime time);
593  void SetParalyzed(GameTime time);
594  void SetUnconcious(GameTime time);
595  void SetDead(GameTime time);
596  void SetPertified(GameTime time);
597  void SetEradicated(GameTime time);
598  void SetZombie(GameTime time);
599 
600  void SetCondWeakWithBlockCheck(int blockable);
601  void SetCondInsaneWithBlockCheck(int blockable);
602  void SetCondDeadWithBlockCheck(int blockable);
603  void SetCondUnconsciousWithBlockCheck(int blockable);
604 
605  inline bool IsRaceHuman() { return GetRace() == CHARACTER_RACE_HUMAN; }
606  inline bool IsRaceDwarf() { return GetRace() == CHARACTER_RACE_DWARF; }
607  inline bool IsRaceElf() { return GetRace() == CHARACTER_RACE_ELF; }
608  inline bool IsRaceGoblin() { return GetRace() == CHARACTER_RACE_GOBLIN; }
609 
610  inline bool IsMale() { return GetSexByVoice() == SEX_MALE; }
611  inline bool IsFemale() { return !IsMale(); }
612 
615  ItemGen* GetBowItem();
617  ItemGen* GetHelmItem();
618  ItemGen* GetBeltItem();
621  ItemGen* GetBootItem();
623  ItemGen* GetNthRingItem(int ringNum);
625  ItemGen* GetItem(unsigned int PlayerEquipment::*itemPos);
626  int GetPlayerIndex();
627 
628  static void _42ECB5_PlayerAttacksActor();
629  static void _42FA66_do_explosive_impact(int xpos, int ypos, int zpos,
630  int a4, __int16 a5,
631  signed int actchar);
632  void CleanupBeacons();
633  bool SetBeacon(size_t index, size_t power);
634 
635  std::array<GameTime, 20> conditions_times;
636  unsigned __int64 uExperience;
637  char pName[16];
640  unsigned __int8 uCurrentFace;
641  char field_BB;
642  unsigned __int16 uMight;
643  unsigned __int16 uMightBonus;
644  unsigned __int16 uIntelligence;
645  unsigned __int16 uIntelligenceBonus;
646  unsigned __int16 uWillpower;
647  unsigned __int16 uWillpowerBonus;
648  unsigned __int16 uEndurance;
649  unsigned __int16 uEnduranceBonus;
650  unsigned __int16 uSpeed;
651  unsigned __int16 uSpeedBonus;
652  unsigned __int16 uAccuracy;
653  unsigned __int16 uAccuracyBonus;
654  unsigned __int16 uLuck;
655  unsigned __int16 uLuckBonus;
656  __int16 sACModifier;
657  unsigned __int16 uLevel;
658  __int16 sLevelModifier;
659  __int16 sAgeModifier;
660  int field_E0;
661  int field_E4;
662  int field_E8;
663  int field_EC;
664  int field_F0;
665  int field_F4;
666  int field_F8;
667  int field_FC;
670  union {
671  struct {
672  unsigned __int16 skillStaff;
673  unsigned __int16 skillSword;
674  unsigned __int16 skillDagger;
675  unsigned __int16 skillAxe;
676  unsigned __int16 skillSpear;
677  unsigned __int16 skillBow;
678  unsigned __int16 skillMace;
679  unsigned __int16 skillBlaster;
680  unsigned __int16 skillShield;
681  unsigned __int16 skillLeather;
682  unsigned __int16 skillChain;
683  unsigned __int16 skillPlate;
684  unsigned __int16 skillFire;
685  unsigned __int16 skillAir;
686  unsigned __int16 skillWater;
687  unsigned __int16 skillEarth;
688  unsigned __int16 skillSpirit;
689  unsigned __int16 skillMind;
690  unsigned __int16 skillBody;
691  unsigned __int16 skillLight;
692  unsigned __int16 skillDark;
693  unsigned __int16 skillItemId;
694  unsigned __int16 skillMerchant;
695  unsigned __int16 skillRepair;
696  unsigned __int16 skillBodybuilding;
697  unsigned __int16 skillMeditation;
698  unsigned __int16 skillPerception;
699  unsigned __int16 skillDiplomacy;
700  unsigned __int16 skillThievery;
701  unsigned __int16 skillDisarmTrap;
702  unsigned __int16 skillDodge;
703  unsigned __int16 skillUnarmed;
704  unsigned __int16 skillMonsterId;
705  unsigned __int16 skillArmsmaster;
706  unsigned __int16 skillStealing;
707  unsigned __int16 skillAlchemy;
708  unsigned __int16 skillLearning;
709  };
710  std::array<unsigned __int16, 37>
711  pActiveSkills; // this encodes level and mastery using bitwise
712  // comparison ( & 0x3F for level) ( & 0x1C0
713  // mastery 1-4)
714  };
715  unsigned char _achieved_awards_bits[64];
717  char _1F6_padding[2];
725  union { // 214h
726  struct {
729  };
730  std::array<ItemGen, 138> pOwnItems;
731  };
732 
733  std::array<int, 126> pInventoryMatrix;
734  __int16 sResFireBase;
735  __int16 sResAirBase;
736  __int16 sResWaterBase;
737  __int16 sResEarthBase;
738  __int16 field_177C;
739  __int16 sResMagicBase;
740  __int16 sResSpiritBase;
741  __int16 sResMindBase;
742  __int16 sResBodyBase;
743  __int16 sResLightBase;
744  __int16 sResDarkBase;
745  __int16 sResFireBonus;
746  __int16 sResAirBonus;
747  __int16 sResWaterBonus;
748  __int16 sResEarthBonus;
749  __int16 field_1792;
750  __int16 sResMagicBonus;
752  __int16 sResMindBonus;
753  __int16 sResBodyBonus;
754  __int16 sResLightBonus;
755  __int16 sResDarkBonus;
756  std::array<SpellBuff, 24> pPlayerBuffs;
757  unsigned int uVoiceID;
762  unsigned __int16 uTimeToRecovery;
765  unsigned int uSkillPoints;
766  int sHealth;
767  int sMana;
768  unsigned int uBirthYear;
770  int field_1988[49];
774  unsigned __int8 uQuickSpell;
775  char playerEventBits[64];
789  unsigned __int16 uExpressionTimePassed;
790  unsigned __int16 uExpressionTimeLength;
791  __int16 field_1AA2;
794  std::vector<LloydBeacon> vBeacons;
799 };
800 
801 void DamagePlayerFromMonster(unsigned int uObjID, int a2,
802  struct Vec3_int_* pPos, signed int a4);
803 bool IsDwarfPresentInParty(bool b);
804 bool ShouldLoadTexturesForRaceAndGender(unsigned int _this);
806 int CycleCharacter(bool backwards);
807 unsigned int SkillToMastery(unsigned int skill_value);
808 
810 
811 extern enum PlayerSpeech PlayerSpeechID;
LloydBeacon::~LloydBeacon
~LloydBeacon()
Definition: Player.h:266
SPEECH_86
@ SPEECH_86
Definition: Player.h:132
Player::uMightBonus
unsigned __int16 uMightBonus
Definition: Player.h:643
uint16_t
unsigned __int16 uint16_t
Definition: SDL_config.h:37
Player::GetMeditation
int GetMeditation()
Definition: Player.cpp:925
Player::ReceiveSpecialAttackEffect
int ReceiveSpecialAttackEffect(int attType, struct Actor *pActor)
Definition: Player.cpp:1851
SPEECH_68
@ SPEECH_68
Definition: Player.h:114
Player::GetLearningPercent
char GetLearningPercent()
Definition: Player.cpp:1023
Player::GetSkillBonus
int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2)
Definition: Player.cpp:3196
CHARACTER_EXPRESSION_PERTIFIED
@ CHARACTER_EXPRESSION_PERTIFIED
Definition: Player.h:354
Player::SetRecoveryTime
void SetRecoveryTime(signed int sRecoveryTime)
Definition: Player.cpp:2593
Player::field_1937
char field_1937
Definition: Player.h:764
Player
Definition: Player.h:401
SPEECH_39
@ SPEECH_39
Definition: Player.h:85
Player::UseItem_DrinkPotion_etc
void UseItem_DrinkPotion_etc(signed int a2, int a3)
Definition: Player.cpp:3850
Player::AddSkillByEvent
void AddSkillByEvent(unsigned __int16 Player::*skillToSet, unsigned __int16 addSkillValue)
Definition: Player.cpp:6216
Player::StealFromActor
int StealFromActor(unsigned int uActorID, int _steal_perm, int reputation)
Definition: Player.cpp:1667
PLAYER_SKILL_BLASTER
@ PLAYER_SKILL_BLASTER
Definition: Player.h:178
Player::GetMana
int GetMana() const
Definition: Player.h:463
PlayerEquipment::pIndices
std::array< unsigned int, 16 > pIndices
Definition: Player.h:336
Player::IsWeak
bool IsWeak() const
Definition: Player.cpp:7412
Player::field_F4
int field_F4
Definition: Player.h:665
PlayerEquipment::uShield
unsigned int uShield
Definition: Player.h:319
PLAYER_CLASS_CRUSADER
@ PLAYER_CLASS_CRUSADER
Definition: Player.h:229
Player::PlayerHitOrMiss
bool PlayerHitOrMiss(Actor *pActor, int distancemod, int skillmod)
Definition: Player.cpp:7600
PLAYER_SKILL_MONSTER_ID
@ PLAYER_SKILL_MONSTER_ID
Definition: Player.h:203
PLAYER_SKILL_DAGGER
@ PLAYER_SKILL_DAGGER
Definition: Player.h:173
Player::pure_endurance_used
int pure_endurance_used
Definition: Player.h:721
Player::pure_willpower_used
int pure_willpower_used
Definition: Player.h:722
CHARACTER_EXPRESSION_17
@ CHARACTER_EXPRESSION_17
Definition: Player.h:359
Player::GetRangedDamageString
String GetRangedDamageString()
Definition: Player.cpp:1441
Player::IsUnconcious
bool IsUnconcious() const
Definition: Player.cpp:7436
PLAYER_CLASS_PRIEST_OF_MOON
@ PLAYER_CLASS_PRIEST_OF_MOON
Definition: Player.h:243
PLAYER_CLASS_HUNTER
@ PLAYER_CLASS_HUNTER
Definition: Player.h:237
Player::pure_intellect_used
int pure_intellect_used
Definition: Player.h:720
Player::sResEarthBonus
__int16 sResEarthBonus
Definition: Player.h:748
PLAYER_BUFF_PAIN_REFLECTION
@ PLAYER_BUFF_PAIN_REFLECTION
Definition: Player.h:24
PLAYER_CLASS_INITIATE
@ PLAYER_CLASS_INITIATE
Definition: Player.h:225
PLAYER_BUFFS
PLAYER_BUFFS
Definition: Player.h:13
Player::sAgeModifier
__int16 sAgeModifier
Definition: Player.h:659
Player::IsZombie
bool IsZombie() const
Definition: Player.cpp:7424
Player::skillSword
unsigned __int16 skillSword
Definition: Player.h:673
SPEECH_82
@ SPEECH_82
Definition: Player.h:128
Player::_expression21_animtime
int _expression21_animtime
Definition: Player.h:792
Player::pure_accuracy_used
int pure_accuracy_used
Definition: Player.h:723
Player::skillMeditation
unsigned __int16 skillMeditation
Definition: Player.h:697
Player::GetItemsBonus
int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, bool a3=false)
Definition: Player.cpp:2655
CHARACTER_EXPRESSION_30
@ CHARACTER_EXPRESSION_30
Definition: Player.h:372
int16_t
signed __int16 int16_t
Definition: SDL_config.h:36
Player::sResMagicBonus
__int16 sResMagicBonus
Definition: Player.h:750
Player::GetAttackRecoveryTime
int GetAttackRecoveryTime(bool bRangedAttack)
Definition: Player.cpp:2203
SPEECH_IDENTIFY_MONSTER_STRONGER
@ SPEECH_IDENTIFY_MONSTER_STRONGER
Definition: Player.h:151
Player::IncreaseAttribute
void IncreaseAttribute(int eAttribute)
Definition: Player.cpp:3711
Player::SubtractVariable
void SubtractVariable(enum VariableType VarNum, signed int pValue)
Definition: Player.cpp:6230
Player::GetBaseResistance
int GetBaseResistance(enum CHARACTER_ATTRIBUTE_TYPE a2)
Definition: Player.cpp:2479
Player::IsRaceGoblin
bool IsRaceGoblin()
Definition: Player.h:608
Player::_some_attack_bonus
char _some_attack_bonus
Definition: Player.h:776
Player::field_1988
int field_1988[49]
Definition: Player.h:770
Player::IsRaceHuman
bool IsRaceHuman()
Definition: Player.h:605
PLAYER_SKILL_STAFF
@ PLAYER_SKILL_STAFF
Definition: Player.h:171
PLAYER_CLASS_CHEVALIER
@ PLAYER_CLASS_CHEVALIER
Definition: Player.h:217
Player::SetPoisonSevere
void SetPoisonSevere(GameTime time)
Definition: Player.cpp:7492
Player::GetMagicalBonus
int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2)
Definition: Player.cpp:2942
LloydBeacon::PartyRot_X
int16_t PartyRot_X
Definition: Player.h:275
PLAYER_CLASS_VILLIAN
@ PLAYER_CLASS_VILLIAN
Definition: Player.h:231
PLAYER_BUFF_RESIST_MIND
@ PLAYER_BUFF_RESIST_MIND
Definition: Player.h:23
PLAYER_CLASS_RANGER_LORD
@ PLAYER_CLASS_RANGER_LORD
Definition: Player.h:238
Player::CalculateRangedDamageTo
int CalculateRangedDamageTo(int uMonsterInfoID)
Definition: Player.cpp:1365
Player::PlayEmotion
void PlayEmotion(CHARACTER_EXPRESSION_ID expression, int duration)
Definition: Player.cpp:7927
Player::GetActualSkillMastery
int GetActualSkillMastery(PLAYER_SKILL_TYPE uSkillType)
Definition: Player.cpp:3179
SPEECH_49
@ SPEECH_49
Definition: Player.h:95
SPEECH_63
@ SPEECH_63
Definition: Player.h:109
Items.h
Player::field_F8
int field_F8
Definition: Player.h:666
CHARACTER_EXPRESSION_SCARED
@ CHARACTER_EXPRESSION_SCARED
Definition: Player.h:385
Player::skillArmsmaster
unsigned __int16 skillArmsmaster
Definition: Player.h:705
Player::skillDiplomacy
unsigned __int16 skillDiplomacy
Definition: Player.h:699
Player::skillItemId
unsigned __int16 skillItemId
Definition: Player.h:693
PLAYER_CLASS_CLERIC
@ PLAYER_CLASS_CLERIC
Definition: Player.h:240
Player::skillBlaster
unsigned __int16 skillBlaster
Definition: Player.h:679
PLAYER_CLASS_ASSASSIN
@ PLAYER_CLASS_ASSASSIN
Definition: Player.h:223
Player::GetActualAttack
int GetActualAttack(bool onlyMainHandDmg)
Definition: Player.cpp:1156
Player::Player
Player()
Definition: Player.cpp:8073
SPEECH_57
@ SPEECH_57
Definition: Player.h:103
Player::CanIdentify
bool CanIdentify(ItemGen *pItem)
Definition: Player.cpp:934
SPEECH_61
@ SPEECH_61
Definition: Player.h:107
Player::uWillpowerBonus
unsigned __int16 uWillpowerBonus
Definition: Player.h:647
PlayerEquipment::uCloak
unsigned int uCloak
Definition: Player.h:325
Player::skillDodge
unsigned __int16 skillDodge
Definition: Player.h:702
Player::GetItemAtInventoryIndex
struct ItemGen * GetItemAtInventoryIndex(int inout_item_cell)
Definition: Player.cpp:493
PLAYER_BUFF_SHIELD
@ PLAYER_BUFF_SHIELD
Definition: Player.h:27
Player::uAccuracy
unsigned __int16 uAccuracy
Definition: Player.h:652
CHARACTER_EXPRESSION_23
@ CHARACTER_EXPRESSION_23
Definition: Player.h:365
Player::uFullManaBonus
char uFullManaBonus
Definition: Player.h:786
PLAYER_BUFF_ACCURACY
@ PLAYER_BUFF_ACCURACY
Definition: Player.h:29
Player::SetDrunk
void SetDrunk(GameTime time)
Definition: Player.cpp:7468
PLAYER_BUFF_STRENGTH
@ PLAYER_BUFF_STRENGTH
Definition: Player.h:33
Player::GetNthRingItem
ItemGen * GetNthRingItem(int ringNum)
Definition: Player.cpp:7562
SPEECH_110
@ SPEECH_110
Definition: Player.h:156
Player::skillLearning
unsigned __int16 skillLearning
Definition: Player.h:708
Player::GetEquippedItemEquipType
ITEM_EQUIP_TYPE GetEquippedItemEquipType(ITEM_EQUIP_TYPE uEquipSlot)
Definition: Player.cpp:1565
Player::ReceiveDamage
int ReceiveDamage(signed int amount, DAMAGE_TYPE dmg_type)
Definition: Player.cpp:1816
Player::Heal
void Heal(int amount)
Definition: Player.cpp:1796
CHARACTER_EXPRESSION_55
@ CHARACTER_EXPRESSION_55
Definition: Player.h:388
Player::skillStealing
unsigned __int16 skillStealing
Definition: Player.h:706
PLAYER_SKILL_AXE
@ PLAYER_SKILL_AXE
Definition: Player.h:174
SPEECH_80
@ SPEECH_80
Definition: Player.h:126
SPEECH_19
@ SPEECH_19
Definition: Player.h:65
SPEECH_25
@ SPEECH_25
Definition: Player.h:71
Player::GetTempleHealCostModifier
int GetTempleHealCostModifier(float price_multi)
Definition: Player.cpp:340
Player::uNumDivineInterventionCastsThisDay
char uNumDivineInterventionCastsThisDay
Definition: Player.h:795
PlayerSpells::pDarkSpellbook
PlayerSpellbookChapter pDarkSpellbook
Definition: Player.h:300
LloydBeacon::PartyPos_X
int32_t PartyPos_X
Definition: Player.h:272
Player::GetBodybuilding
int GetBodybuilding()
Definition: Player.cpp:916
Player::GetCloakItem
ItemGen * GetCloakItem()
Definition: Player.cpp:7554
Player::IsUnarmed
bool IsUnarmed()
Definition: Player.cpp:1576
Player::uEnduranceBonus
unsigned __int16 uEnduranceBonus
Definition: Player.h:649
Player::ItemsPotionDmgBreak
void ItemsPotionDmgBreak(int enchant_count)
Definition: Player.cpp:517
Player::IsPertified
bool IsPertified() const
Definition: Player.cpp:7432
Player::Recover
bool Recover(int dt)
Definition: Player.cpp:2573
Player::INVETORYSLOTSHEIGHT
static const unsigned int INVETORYSLOTSHEIGHT
Definition: Player.h:403
Actor
Definition: Actor.h:151
SPEECH_67
@ SPEECH_67
Definition: Player.h:113
CHARACTER_EXPRESSION_DMGRECVD_MAJOR
@ CHARACTER_EXPRESSION_DMGRECVD_MAJOR
Definition: Player.h:378
PlayerSpells::pAirSpellbook
PlayerSpellbookChapter pAirSpellbook
Definition: Player.h:293
Player::skillRepair
unsigned __int16 skillRepair
Definition: Player.h:695
Player::skillSpear
unsigned __int16 skillSpear
Definition: Player.h:676
CHARACTER_EXPRESSION_16
@ CHARACTER_EXPRESSION_16
Definition: Player.h:358
Player::CanAct
bool CanAct()
Definition: Player.cpp:549
Player::_42FA66_do_explosive_impact
static void _42FA66_do_explosive_impact(int xpos, int ypos, int zpos, int a4, __int16 a5, signed int actchar)
Definition: Player.cpp:7820
Player::SetAfraid
void SetAfraid(GameTime time)
Definition: Player.cpp:7464
CHARACTER_RACE_DWARF
@ CHARACTER_RACE_DWARF
Definition: Player.h:164
LloydBeacon::PartyPos_Y
int32_t PartyPos_Y
Definition: Player.h:273
Player::GetBaseAge
unsigned int GetBaseAge()
Definition: Player.cpp:2468
PLAYER_SKILL_EARTH
@ PLAYER_SKILL_EARTH
Definition: Player.h:186
Player::skillAxe
unsigned __int16 skillAxe
Definition: Player.h:675
PlayerEquipment::uBow
unsigned int uBow
Definition: Player.h:321
PlayerEquipment::uAmulet
unsigned int uAmulet
Definition: Player.h:328
PlayerEquipment::uGlove
unsigned int uGlove
Definition: Player.h:326
PLAYER_CLASS_MASTER
@ PLAYER_CLASS_MASTER
Definition: Player.h:226
SPEECH_96
@ SPEECH_96
Definition: Player.h:142
SPEECH_103
@ SPEECH_103
Definition: Player.h:149
Player::skillBow
unsigned __int16 skillBow
Definition: Player.h:677
Player::GetRaceName
String GetRaceName() const
Definition: Player.cpp:3502
Player::GetBaseLevel
int GetBaseLevel()
Definition: Player.cpp:1068
PLAYER_SKILL_CLUB
@ PLAYER_SKILL_CLUB
Definition: Player.h:208
Player::sResLightBase
__int16 sResLightBase
Definition: Player.h:743
CHARACTER_EXPRESSION_39
@ CHARACTER_EXPRESSION_39
Definition: Player.h:381
PLAYER_SKILL_MIND
@ PLAYER_SKILL_MIND
Definition: Player.h:188
Player::GetBaseRepairPrice
int GetBaseRepairPrice(int uRealValue, float price_multiplier)
Definition: Player.cpp:465
SPEECH_NotEnoughGold
@ SPEECH_NotEnoughGold
Definition: Player.h:84
NZIArray
Definition: NZIArray.h:7
SPEECH_83
@ SPEECH_83
Definition: Player.h:129
Player::GetRangedDamageMax
int GetRangedDamageMax()
Definition: Player.cpp:1351
Player::GetAmuletItem
ItemGen * GetAmuletItem()
Definition: Player.cpp:7560
PLAYER_CLASS_HERO
@ PLAYER_CLASS_HERO
Definition: Player.h:230
Player::SetInsane
void SetInsane(GameTime time)
Definition: Player.cpp:7472
PLAYER_SKILL_LEARNING
@ PLAYER_SKILL_LEARNING
Definition: Player.h:207
Player::CalculateMeleeDamageTo
int CalculateMeleeDamageTo(bool ignoreSkillBonus, bool ignoreOffhand, unsigned int uTargetActorID)
Definition: Player.cpp:1202
PLAYER_BUFF_WATER_WALK
@ PLAYER_BUFF_WATER_WALK
Definition: Player.h:37
CHARACTER_EXPRESSION_DEAD
@ CHARACTER_EXPRESSION_DEAD
Definition: Player.h:395
Player::field_177C
__int16 field_177C
Definition: Player.h:738
CHARACTER_EXPRESSION_SLEEP
@ CHARACTER_EXPRESSION_SLEEP
Definition: Player.h:346
SPEECH_46
@ SPEECH_46
Definition: Player.h:92
Player::field_104
int field_104
Definition: Player.h:669
PLAYER_CLASS_ARCHMAGE
@ PLAYER_CLASS_ARCHMAGE
Definition: Player.h:250
Player::skillDagger
unsigned __int16 skillDagger
Definition: Player.h:674
Player::GetPriceRepair
int GetPriceRepair(int uRealValue, float price_multiplier)
Definition: Player.cpp:421
CHARACTER_EXPRESSION_INSANE
@ CHARACTER_EXPRESSION_INSANE
Definition: Player.h:349
PLAYER_SKILL_BOW
@ PLAYER_SKILL_BOW
Definition: Player.h:176
Player::lastOpenedSpellbookPage
char lastOpenedSpellbookPage
Definition: Player.h:773
SPEECH_42
@ SPEECH_42
Definition: Player.h:88
Player::field_1A91
char field_1A91
Definition: Player.h:777
Player::skillLight
unsigned __int16 skillLight
Definition: Player.h:691
Player::sResAirBonus
__int16 sResAirBonus
Definition: Player.h:746
Player::Zero
void Zero()
Definition: Player.cpp:3765
Player::skillMerchant
unsigned __int16 skillMerchant
Definition: Player.h:694
Player::field_100
int field_100
Definition: Player.h:668
SPEECH_DO_POTION_FINE
@ SPEECH_DO_POTION_FINE
Definition: Player.h:62
CHARACTER_EXPRESSION_33
@ CHARACTER_EXPRESSION_33
Definition: Player.h:375
Player::sResLightBonus
__int16 sResLightBonus
Definition: Player.h:754
PLAYER_CLASS_PALADIN
@ PLAYER_CLASS_PALADIN
Definition: Player.h:228
Player::PlayAwardSound
void PlayAwardSound()
Definition: Player.cpp:5623
PlayerSpells::pEarthSpellbook
PlayerSpellbookChapter pEarthSpellbook
Definition: Player.h:295
Player::uSex
PLAYER_SEX uSex
Definition: Player.h:638
ITEM_EQUIP_TYPE
ITEM_EQUIP_TYPE
Definition: Items.h:226
CHARACTER_EXPRESSION_DMGRECVD_MINOR
@ CHARACTER_EXPRESSION_DMGRECVD_MINOR
Definition: Player.h:376
Player::GetSpecialItemBonus
int GetSpecialItemBonus(ITEM_ENCHANTMENT enchantment)
Definition: Player.cpp:2634
Player::skillBodybuilding
unsigned __int16 skillBodybuilding
Definition: Player.h:696
Player::_ranged_dmg_bonus
char _ranged_dmg_bonus
Definition: Player.h:782
Player::SetUnconcious
void SetUnconcious(GameTime time)
Definition: Player.cpp:7504
SPEECH_98
@ SPEECH_98
Definition: Player.h:144
Player::sResEarthBase
__int16 sResEarthBase
Definition: Player.h:737
CHARACTER_EXPRESSION_CURSED
@ CHARACTER_EXPRESSION_CURSED
Definition: Player.h:344
Player::GetActualAC
int GetActualAC()
Definition: Player.cpp:2452
SEX_FEMALE
@ SEX_FEMALE
Definition: Player.h:399
SEX_MALE
@ SEX_MALE
Definition: Player.h:399
Player::field_E0
int field_E0
Definition: Player.h:660
CHARACTER_EXPRESSION_UNCONCIOUS
@ CHARACTER_EXPRESSION_UNCONCIOUS
Definition: Player.h:353
SPEECH_PickMe
@ SPEECH_PickMe
Definition: Player.h:148
Player::field_1A4D
char field_1A4D
Definition: Player.h:772
SPEECH_51
@ SPEECH_51
Definition: Player.h:97
SPEECH_17
@ SPEECH_17
Definition: Player.h:63
Player::uSkillPoints
unsigned int uSkillPoints
Definition: Player.h:765
SPEECH_48
@ SPEECH_48
Definition: Player.h:94
Player::pActiveSkills
std::array< unsigned __int16, 37 > pActiveSkills
Definition: Player.h:711
SPEECH_26
@ SPEECH_26
Definition: Player.h:72
index
GLuint index
Definition: SDL_opengl_glext.h:663
Player::WearItem
void WearItem(unsigned int uItemID)
Definition: Player.cpp:788
PLAYER_CLASS_ROGUE
@ PLAYER_CLASS_ROGUE
Definition: Player.h:221
Player::uLuck
unsigned __int16 uLuck
Definition: Player.h:654
PLAYER_BUFF_RESIST_FIRE
@ PLAYER_BUFF_RESIST_FIRE
Definition: Player.h:19
PlayerSpells::pLightSpellbook
PlayerSpellbookChapter pLightSpellbook
Definition: Player.h:299
Player::field_E4
int field_E4
Definition: Player.h:661
Player::FindFreeInventoryListSlot
int FindFreeInventoryListSlot()
Definition: Player.cpp:750
Player::SalesProcess
void SalesProcess(unsigned int inventory_idnx, int item_index, int _2devent_idx)
Definition: Player.cpp:293
Player::field_192C
int field_192C
Definition: Player.h:760
PLAYER_SKILL_ITEM_ID
@ PLAYER_SKILL_ITEM_ID
Definition: Player.h:192
Player::GetPerception
int GetPerception()
Definition: Player.cpp:994
Player::GetBaseAC
int GetBaseAC()
Definition: Player.cpp:2439
PLAYER_SKILL_FIRE
@ PLAYER_SKILL_FIRE
Definition: Player.h:183
SPEECH_Falling_scream
@ SPEECH_Falling_scream
Definition: Player.h:112
Player::skillLeather
unsigned __int16 skillLeather
Definition: Player.h:681
Engine.h
PLAYER_CLASS_ARCHER
@ PLAYER_CLASS_ARCHER
Definition: Player.h:232
Player::skillDisarmTrap
unsigned __int16 skillDisarmTrap
Definition: Player.h:701
Player::GetActualEndurance
int GetActualEndurance()
Definition: Player.cpp:1099
Player::GetActualIntelligence
int GetActualIntelligence()
Definition: Player.cpp:1086
PLAYER_SKILL_UNARMED
@ PLAYER_SKILL_UNARMED
Definition: Player.h:202
PLAYER_CLASS_WIZARD
@ PLAYER_CLASS_WIZARD
Definition: Player.h:249
PlayerEquipment::uBelt
unsigned int uBelt
Definition: Player.h:324
Image.h
Player::uFullHealthBonus
char uFullHealthBonus
Definition: Player.h:784
SPEECH_10
@ SPEECH_10
Definition: Player.h:56
Player::IsEradicated
bool IsEradicated() const
Definition: Player.cpp:7420
Player::skillWater
unsigned __int16 skillWater
Definition: Player.h:686
Player::GetMainHandItem
ItemGen * GetMainHandItem()
Definition: Player.cpp:7542
SPEECH_IDENTIFY_MONSTER_WEAKER
@ SPEECH_IDENTIFY_MONSTER_WEAKER
Definition: Player.h:150
SPEECH_47
@ SPEECH_47
Definition: Player.h:93
Player::sResAirBase
__int16 sResAirBase
Definition: Player.h:735
PLAYER_CLASS_RANGER
@ PLAYER_CLASS_RANGER
Definition: Player.h:236
Player::sResSpiritBonus
__int16 sResSpiritBonus
Definition: Player.h:751
Player::OnInventoryLeftClick
void OnInventoryLeftClick()
Definition: Player.cpp:7294
PLAYER_CLASS_ARCH_DRUID
@ PLAYER_CLASS_ARCH_DRUID
Definition: Player.h:246
Player::GetBaseSpeed
int GetBaseSpeed()
Definition: Player.cpp:1058
SPEECH_9
@ SPEECH_9
Definition: Player.h:55
Player::sResMagicBase
__int16 sResMagicBase
Definition: Player.h:739
PLAYER_SKILL_LIGHT
@ PLAYER_SKILL_LIGHT
Definition: Player.h:190
Player::pure_speed_used
int pure_speed_used
Definition: Player.h:719
SPEECH_60
@ SPEECH_60
Definition: Player.h:106
Events.h
SPEECH_100
@ SPEECH_100
Definition: Player.h:146
Player::EquipBody
void EquipBody(ITEM_EQUIP_TYPE uEquipType)
Definition: Player.cpp:6787
CHARACTER_EXPRESSION_13
@ CHARACTER_EXPRESSION_13
Definition: Player.h:355
CHARACTER_EXPRESSION_22
@ CHARACTER_EXPRESSION_22
Definition: Player.h:364
Player::SetPertified
void SetPertified(GameTime time)
Definition: Player.cpp:7512
SPEECH_40
@ SPEECH_40
Definition: Player.h:86
Player::WearsItemAnyWhere
bool WearsItemAnyWhere(int item_id)
Definition: Player.cpp:1609
PLAYER_SKILL_BODYBUILDING
@ PLAYER_SKILL_BODYBUILDING
Definition: Player.h:195
Player::skillAlchemy
unsigned __int16 skillAlchemy
Definition: Player.h:707
Player::uExpressionTimeLength
unsigned __int16 uExpressionTimeLength
Definition: Player.h:790
PLAYER_SKILL_PERCEPTION
@ PLAYER_SKILL_PERCEPTION
Definition: Player.h:197
Player::SetCondInsaneWithBlockCheck
void SetCondInsaneWithBlockCheck(int blockable)
Definition: Player.cpp:7528
CHARACTER_EXPRESSION_FALLING
@ CHARACTER_EXPRESSION_FALLING
Definition: Player.h:391
CHARACTER_EXPRESSION_29
@ CHARACTER_EXPRESSION_29
Definition: Player.h:371
Player::pInventoryMatrix
std::array< int, 126 > pInventoryMatrix
Definition: Player.h:733
Player::SetCondDeadWithBlockCheck
void SetCondDeadWithBlockCheck(int blockable)
Definition: Player.cpp:7532
CHARACTER_EXPRESSION_38
@ CHARACTER_EXPRESSION_38
Definition: Player.h:380
Player::skillMonsterId
unsigned __int16 skillMonsterId
Definition: Player.h:704
SPEECH_97
@ SPEECH_97
Definition: Player.h:143
Player::playerEventBits
char playerEventBits[64]
Definition: Player.h:775
PLAYER_SKILL_MISC
@ PLAYER_SKILL_MISC
Definition: Player.h:209
Player::uAccuracyBonus
unsigned __int16 uAccuracyBonus
Definition: Player.h:653
Player::CompareVariable
bool CompareVariable(enum VariableType VarNum, signed int pValue)
Definition: Player.cpp:4645
Player::HasUnderwaterSuitEquipped
bool HasUnderwaterSuitEquipped()
Definition: Player.cpp:6841
PlayerSpells::bHaveSpell
std::array< char, 99 > bHaveSpell
Definition: Player.h:308
Player::skillStaff
unsigned __int16 skillStaff
Definition: Player.h:672
SPEECH_31
@ SPEECH_31
Definition: Player.h:77
Player::SetCondUnconsciousWithBlockCheck
void SetCondUnconsciousWithBlockCheck(int blockable)
Definition: Player.cpp:7536
CHARACTER_EXPRESSION_25
@ CHARACTER_EXPRESSION_25
Definition: Player.h:367
Player::pOwnItems
std::array< ItemGen, 138 > pOwnItems
Definition: Player.h:730
PLAYER_SKILL_DIPLOMACY
@ PLAYER_SKILL_DIPLOMACY
Definition: Player.h:198
Player::IsFemale
bool IsFemale()
Definition: Player.h:611
PlayerSpellbookChapter::bIsSpellAvailable
std::array< char, 11 > bIsSpellAvailable
Definition: Player.h:284
CHARACTER_RACE_HUMAN
@ CHARACTER_RACE_HUMAN
Definition: Player.h:161
PlayerEquipment::uBoot
unsigned int uBoot
Definition: Player.h:327
SPEECH_69
@ SPEECH_69
Definition: Player.h:115
DAMAGE_TYPE
DAMAGE_TYPE
Definition: Items.h:10
Player::StealFromShop
int StealFromShop(ItemGen *itemToSteal, int extraStealDifficulty, int reputation, int extraStealFine, int *fineIfFailed)
Definition: Player.cpp:1620
SPEECH_11
@ SPEECH_11
Definition: Player.h:57
Player::DiscardConditionIfLastsLongerThan
bool DiscardConditionIfLastsLongerThan(unsigned int uCondition, GameTime time)
Definition: Player.cpp:3839
Player::skillPlate
unsigned __int16 skillPlate
Definition: Player.h:683
Image
Definition: Image.h:19
CHARACTER_EXPRESSION_28
@ CHARACTER_EXPRESSION_28
Definition: Player.h:370
Player::CreateItemInInventory
int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID)
Definition: Player.cpp:761
CHARACTER_EXPRESSION_WEAK
@ CHARACTER_EXPRESSION_WEAK
Definition: Player.h:345
Player::SetPoisonMedium
void SetPoisonMedium(GameTime time)
Definition: Player.cpp:7484
Player::field_1A97
char field_1A97
Definition: Player.h:783
PLAYER_SKILL_TIEVERY
@ PLAYER_SKILL_TIEVERY
Definition: Player.h:199
PlayerSpells::_pad_2
char _pad_2
Definition: Player.h:309
Player::GetActualResistance
int GetActualResistance(enum CHARACTER_ATTRIBUTE_TYPE a2)
Definition: Player.cpp:2523
CHARACTER_EXPRESSION_19
@ CHARACTER_EXPRESSION_19
Definition: Player.h:361
CHARACTER_EXPRESSION_PARALYZED
@ CHARACTER_EXPRESSION_PARALYZED
Definition: Player.h:352
SPEECH_52
@ SPEECH_52
Definition: Player.h:98
PLAYER_SKILL_SPIRIT
@ PLAYER_SKILL_SPIRIT
Definition: Player.h:187
Player::RemoveItemAtInventoryIndex
void RemoveItemAtInventoryIndex(unsigned int uSlot)
Definition: Player.cpp:892
Player::SetCondWeakWithBlockCheck
void SetCondWeakWithBlockCheck(int blockable)
Definition: Player.cpp:7524
Player::GetNthEquippedIndexItem
ItemGen * GetNthEquippedIndexItem(int index)
Definition: Player.cpp:7566
Player::IsRaceDwarf
bool IsRaceDwarf()
Definition: Player.h:606
Player::CanTrainToNextLevel
bool CanTrainToNextLevel()
Definition: Player.cpp:1474
SPEECH_Yell
@ SPEECH_Yell
Definition: Player.h:111
SPEECH_20
@ SPEECH_20
Definition: Player.h:66
SPEECH_14
@ SPEECH_14
Definition: Player.h:60
PlayerSpells
Definition: Player.h:289
PLAYER_CLASS_PRIEST
@ PLAYER_CLASS_PRIEST
Definition: Player.h:241
Player::PlayAwardSound_Anim
void PlayAwardSound_Anim()
Definition: Player.cpp:5631
CHARACTER_EXPRESSION_ID
CHARACTER_EXPRESSION_ID
Definition: Player.h:341
Player::uWillpower
unsigned __int16 uWillpower
Definition: Player.h:646
Player::skillThievery
unsigned __int16 skillThievery
Definition: Player.h:700
Player::sResSpiritBase
__int16 sResSpiritBase
Definition: Player.h:740
Player::SetCondition
void SetCondition(unsigned int uConditionIdx, int blockable)
Definition: Player.cpp:612
SPEECH_GoodDay
@ SPEECH_GoodDay
Definition: Player.h:68
Player::field_F0
int field_F0
Definition: Player.h:664
Player::GetItemListAtInventoryIndex
unsigned int GetItemListAtInventoryIndex(int inout_item_cell)
Definition: Player.cpp:504
PLAYER_BUFF_SPEED
@ PLAYER_BUFF_SPEED
Definition: Player.h:35
Player::uExpressionTimePassed
unsigned __int16 uExpressionTimePassed
Definition: Player.h:789
Player::uSpeed
unsigned __int16 uSpeed
Definition: Player.h:650
PLAYER_SKILL_DODGE
@ PLAYER_SKILL_DODGE
Definition: Player.h:201
SPEECH_SetSail
@ SPEECH_SetSail
Definition: Player.h:118
Player::sResDarkBonus
__int16 sResDarkBonus
Definition: Player.h:755
Player::GetBaseIdentifyPrice
int GetBaseIdentifyPrice(float price_multiplier)
Definition: Player.cpp:455
Player::IsCursed
bool IsCursed() const
Definition: Player.cpp:7428
Player::IsDrunk
bool IsDrunk() const
Definition: Player.cpp:7448
Player::skillChain
unsigned __int16 skillChain
Definition: Player.h:682
Player::expression
CHARACTER_EXPRESSION_ID expression
Definition: Player.h:788
Player::GetBaseAccuracy
int GetBaseAccuracy()
Definition: Player.cpp:1053
Player::GetPlayerIndex
int GetPlayerIndex()
Definition: Player.cpp:7582
Player::field_1A4C
char field_1A4C
Definition: Player.h:771
PLAYER_SKILL_TYPE
PLAYER_SKILL_TYPE
Definition: Player.h:170
CHARACTER_EXPRESSION_26
@ CHARACTER_EXPRESSION_26
Definition: Player.h:368
PLAYER_CLASS_PRIEST_OF_SUN
@ PLAYER_CLASS_PRIEST_OF_SUN
Definition: Player.h:242
Player::AddVariable
void AddVariable(enum VariableType var, signed int val)
Definition: Player.cpp:5658
PlayerSpells::pChapters
std::array< PlayerSpellbookChapter, 9 > pChapters
Definition: Player.h:304
SPEECH_33
@ SPEECH_33
Definition: Player.h:79
SPEECH_84
@ SPEECH_84
Definition: Player.h:130
CHARACTER_EXPRESSION_14
@ CHARACTER_EXPRESSION_14
Definition: Player.h:356
ShouldLoadTexturesForRaceAndGender
bool ShouldLoadTexturesForRaceAndGender(unsigned int _this)
Definition: Player.cpp:6879
Player::pure_might_used
int pure_might_used
Definition: Player.h:724
PLAYER_SKILL_MEDITATION
@ PLAYER_SKILL_MEDITATION
Definition: Player.h:196
Player::WearsItem
bool WearsItem(int item_id, ITEM_EQUIP_TYPE equip_type)
Definition: Player.cpp:1603
Player::GetArmorRecoveryMultiplierFromSkillLevel
float GetArmorRecoveryMultiplierFromSkillLevel(unsigned char armour_skill_type, float param2, float param3, float param4, float param5)
Definition: Player.cpp:2330
ItemGen::uItemID
int uItemID
Definition: Items.h:326
Player::GetMeleeDamageString
String GetMeleeDamageString()
Definition: Player.cpp:1413
CHARACTER_ATTRIBUTE_TYPE
CHARACTER_ATTRIBUTE_TYPE
Definition: Engine.h:520
Player::CalculateMeleeDmgToEnemyWithWeapon
int CalculateMeleeDmgToEnemyWithWeapon(ItemGen *weapon, unsigned int uTargetActorID, bool addOneDice)
Definition: Player.cpp:1256
Player::uBirthYear
unsigned int uBirthYear
Definition: Player.h:768
Player::_achieved_awards_bits
unsigned char _achieved_awards_bits[64]
Definition: Player.h:715
Player::GetBaseLuck
int GetBaseLuck()
Definition: Player.cpp:1063
SPEECH_CarriageReady
@ SPEECH_CarriageReady
Definition: Player.h:117
SPEECH_44
@ SPEECH_44
Definition: Player.h:90
PLAYER_BUFF_BLESS
@ PLAYER_BUFF_BLESS
Definition: Player.h:15
Player::SetDead
void SetDead(GameTime time)
Definition: Player.cpp:7508
PLAYER_SKILL_AIR
@ PLAYER_SKILL_AIR
Definition: Player.h:184
PLAYER_CLASS_LICH
@ PLAYER_CLASS_LICH
Definition: Player.h:251
Player::GetRace
enum CHARACTER_RACE GetRace() const
Definition: Player.cpp:3488
SPEECH_1
@ SPEECH_1
Definition: Player.h:47
Player::field_1AA2
__int16 field_1AA2
Definition: Player.h:791
SPEECH_37
@ SPEECH_37
Definition: Player.h:83
Player::uLuckBonus
unsigned __int16 uLuckBonus
Definition: Player.h:655
PlayerSpells::_pad_0
char _pad_0
Definition: Player.h:301
CHARACTER_EXPRESSION_INVALID
@ CHARACTER_EXPRESSION_INVALID
Definition: Player.h:342
int32_t
signed __int32 int32_t
Definition: SDL_config.h:38
PLAYER_SKILL_LEATHER
@ PLAYER_SKILL_LEATHER
Definition: Player.h:180
Player::GetRangedDamageMin
int GetRangedDamageMin()
Definition: Player.cpp:1336
Player::GetMeleeDamageMaximal
int GetMeleeDamageMaximal()
Definition: Player.cpp:1186
SPEECH_27
@ SPEECH_27
Definition: Player.h:73
LloydBeacon::PartyRot_Y
int16_t PartyRot_Y
Definition: Player.h:276
SPEECH_43
@ SPEECH_43
Definition: Player.h:89
Player::uEndurance
unsigned __int16 uEndurance
Definition: Player.h:648
PLAYER_SKILL_MACE
@ PLAYER_SKILL_MACE
Definition: Player.h:177
Player::PlayAwardSound_Anim98
void PlayAwardSound_Anim98()
Definition: Player.cpp:6774
Player::uVoiceID
unsigned int uVoiceID
Definition: Player.h:757
Player::GetMaxMana
int GetMaxMana()
Definition: Player.cpp:2369
CHARACTER_EXPRESSION_56
@ CHARACTER_EXPRESSION_56
Definition: Player.h:389
SPEECH_64
@ SPEECH_64
Definition: Player.h:110
Player::NothingOrJustBlastersEquipped
bool NothingOrJustBlastersEquipped()
Definition: Player.cpp:303
PLAYER_SKILL_TRAP_DISARM
@ PLAYER_SKILL_TRAP_DISARM
Definition: Player.h:200
PLAYER_CLASS_DRUID
@ PLAYER_CLASS_DRUID
Definition: Player.h:244
SPEECH_2
@ SPEECH_2
Definition: Player.h:48
Player::pName
char pName[16]
Definition: Player.h:637
Player::field_1792
__int16 field_1792
Definition: Player.h:749
SPEECH_87
@ SPEECH_87
Definition: Player.h:133
Player::GetBowItem
ItemGen * GetBowItem()
Definition: Player.cpp:7546
Player::uTimeToRecovery
unsigned __int16 uTimeToRecovery
Definition: Player.h:762
SPEECH_91
@ SPEECH_91
Definition: Player.h:137
PLAYER_SKILL_WATER
@ PLAYER_SKILL_WATER
Definition: Player.h:185
SPEECH_3
@ SPEECH_3
Definition: Player.h:49
CHARACTER_EXPRESSION_DMGRECVD_MODERATE
@ CHARACTER_EXPRESSION_DMGRECVD_MODERATE
Definition: Player.h:377
Player::GetSpellSchool
unsigned int GetSpellSchool(unsigned int uSpellID)
Definition: Player.cpp:2198
SPEECH_55
@ SPEECH_55
Definition: Player.h:101
Player::sMana
int sMana
Definition: Player.h:767
PLAYER_CLASS_TYPE
PLAYER_CLASS_TYPE
Definition: Player.h:215
Player::_mana_related
char _mana_related
Definition: Player.h:787
LloydBeacon::unknown
uint16_t unknown
Definition: Player.h:277
Player::sResMindBonus
__int16 sResMindBonus
Definition: Player.h:752
PLAYER_CLASS_SORCERER
@ PLAYER_CLASS_SORCERER
Definition: Player.h:248
CHARACTER_EXPRESSION_32
@ CHARACTER_EXPRESSION_32
Definition: Player.h:374
Player::SetDiseaseSevere
void SetDiseaseSevere(GameTime time)
Definition: Player.cpp:7496
PlayerSpells::pMindSpellbook
PlayerSpellbookChapter pMindSpellbook
Definition: Player.h:297
Conditions.h
Player::_expression21_frameset
int _expression21_frameset
Definition: Player.h:793
CHARACTER_EXPRESSION_31
@ CHARACTER_EXPRESSION_31
Definition: Player.h:373
Player::HasItem
bool HasItem(unsigned int uItemID, bool checkHeldItem)
Definition: Player.cpp:6855
Player::GetMaxHealth
int GetMaxHealth()
Definition: Player.cpp:2354
order
GLfixed GLfixed GLint GLint order
Definition: SDL_opengl_glext.h:4561
Player::_health_related
char _health_related
Definition: Player.h:785
Player::GetHelmItem
ItemGen * GetHelmItem()
Definition: Player.cpp:7550
PLAYER_BUFF_RESIST_AIR
@ PLAYER_BUFF_RESIST_AIR
Definition: Player.h:14
Player::skillShield
unsigned __int16 skillShield
Definition: Player.h:680
Player::sResWaterBonus
__int16 sResWaterBonus
Definition: Player.h:747
Player::GetMultiplierForSkillLevel
unsigned int GetMultiplierForSkillLevel(PLAYER_SKILL_TYPE uSkillType, int mult1, int mult2, int mult3, int mult4)
Definition: Player.cpp:3457
CHARACTER_RACE
CHARACTER_RACE
Definition: Player.h:160
SPEECH_CantRestHere
@ SPEECH_CantRestHere
Definition: Player.h:59
PLAYER_CLASS_THEIF
@ PLAYER_CLASS_THEIF
Definition: Player.h:220
PlayerEquipment::uRings
std::array< unsigned int, 6 > uRings
Definition: Player.h:329
PLAYER_BUFF_INTELLIGENCE
@ PLAYER_BUFF_INTELLIGENCE
Definition: Player.h:31
Player::INVETORYSLOTSWIDTH
static const unsigned int INVETORYSLOTSWIDTH
Definition: Player.h:402
Player::GetParameterBonus
int GetParameterBonus(int player_parameter)
Definition: Player.cpp:2623
PLAYER_SKILL_SPEAR
@ PLAYER_SKILL_SPEAR
Definition: Player.h:175
Player::PlayAwardSound_Anim97_Face
void PlayAwardSound_Anim97_Face(PlayerSpeech speech)
Definition: Player.cpp:6210
SPEECH_92
@ SPEECH_92
Definition: Player.h:138
Player::AddItem2
int AddItem2(int uSlot, ItemGen *Src)
Definition: Player.cpp:828
ITEM_ENCHANTMENT
ITEM_ENCHANTMENT
Definition: Items.h:38
Player::sResFireBase
__int16 sResFireBase
Definition: Player.h:734
PlayerSpellbookChapter
Definition: Player.h:283
PLAYER_CLASS_SNIPER
@ PLAYER_CLASS_SNIPER
Definition: Player.h:235
Player::_melee_dmg_bonus
char _melee_dmg_bonus
Definition: Player.h:778
Spells.h
Player::PlayAwardSound_Anim_Face
void PlayAwardSound_Anim_Face(PlayerSpeech speech)
Definition: Player.cpp:5638
Player::field_E8
int field_E8
Definition: Player.h:662
PlayerEquipment
Definition: Player.h:316
SPEECH_IDENTIFY_MONSTER_106
@ SPEECH_IDENTIFY_MONSTER_106
Definition: Player.h:152
SPEECH_6
@ SPEECH_6
Definition: Player.h:52
Player::field_FC
int field_FC
Definition: Player.h:667
Player::SetInitialStats
void SetInitialStats()
Definition: Player.cpp:3551
Player::uIntelligenceBonus
unsigned __int16 uIntelligenceBonus
Definition: Player.h:645
Player::pInventoryItemList
ItemGen pInventoryItemList[126]
Definition: Player.h:727
PlayerEquipment::uMainHand
unsigned int uMainHand
Definition: Player.h:320
SPEECH_28
@ SPEECH_28
Definition: Player.h:74
Player::CanSteal
bool CanSteal()
Definition: Player.cpp:559
Player::uCurrentFace
unsigned __int8 uCurrentFace
Definition: Player.h:640
Player::SetCursed
void SetCursed(GameTime time)
Definition: Player.cpp:7452
Player::IsAsleep
bool IsAsleep() const
Definition: Player.cpp:7440
Player::field_1936
char field_1936
Definition: Player.h:763
PLAYER_SKILL_SHIELD
@ PLAYER_SKILL_SHIELD
Definition: Player.h:179
PlayerSpells::pSpiritSpellbook
PlayerSpellbookChapter pSpiritSpellbook
Definition: Player.h:296
PLAYER_BUFF_STONESKIN
@ PLAYER_BUFF_STONESKIN
Definition: Player.h:28
Player::SetParalyzed
void SetParalyzed(GameTime time)
Definition: Player.cpp:7500
Player::GetSexByVoice
PLAYER_SEX GetSexByVoice()
Definition: Player.cpp:3516
PLAYER_SKILL_ALCHEMY
@ PLAYER_SKILL_ALCHEMY
Definition: Player.h:206
SPEECH_56
@ SPEECH_56
Definition: Player.h:102
Player::GetItem
ItemGen * GetItem(unsigned int PlayerEquipment::*itemPos)
Definition: Player.cpp:7574
Player::_1F6_padding
char _1F6_padding[2]
Definition: Player.h:717
SPEECH_93
@ SPEECH_93
Definition: Player.h:139
LloydBeacon::LloydBeacon
LloydBeacon()
Definition: Player.h:255
Player::GetActualWillpower
int GetActualWillpower()
Definition: Player.cpp:1093
Player::field_EC
int field_EC
Definition: Player.h:663
Player::PutItemArInventoryIndex
void PutItemArInventoryIndex(int uItemID, int itemListPos, int uSlot)
Definition: Player.cpp:868
Player::sResDarkBase
__int16 sResDarkBase
Definition: Player.h:744
Player::uSpeedBonus
unsigned __int16 uSpeedBonus
Definition: Player.h:651
Player::GetBeltItem
ItemGen * GetBeltItem()
Definition: Player.cpp:7552
PLAYER_CLASS_MASTER_ARCHER
@ PLAYER_CLASS_MASTER_ARCHER
Definition: Player.h:234
Player::CanRepair
bool CanRepair(ItemGen *pItem)
Definition: Player.cpp:952
Player::_ranged_atk_bonus
char _ranged_atk_bonus
Definition: Player.h:780
PLAYER_CLASS_BOUNTY_HUNTER
@ PLAYER_CLASS_BOUNTY_HUNTER
Definition: Player.h:239
Player::GetMerchant
int GetMerchant()
Definition: Player.cpp:975
Player::GetBaseStrength
int GetBaseStrength()
Definition: Player.cpp:1032
SPEECH_21
@ SPEECH_21
Definition: Player.h:67
Player::uMight
unsigned __int16 uMight
Definition: Player.h:642
Player::field_BB
char field_BB
Definition: Player.h:641
Player::skillBody
unsigned __int16 skillBody
Definition: Player.h:690
SPEECH_54
@ SPEECH_54
Definition: Player.h:100
PLAYER_CLASS_BLACK_KNIGHT
@ PLAYER_CLASS_BLACK_KNIGHT
Definition: Player.h:219
PLAYER_CLASS_NINJA
@ PLAYER_CLASS_NINJA
Definition: Player.h:227
PLAYER_BUFF_ENDURANCE
@ PLAYER_BUFF_ENDURANCE
Definition: Player.h:30
Player::skillMind
unsigned __int16 skillMind
Definition: Player.h:689
PLAYER_CLASS_WARLOCK
@ PLAYER_CLASS_WARLOCK
Definition: Player.h:247
Player::conditions_times
std::array< GameTime, 20 > conditions_times
Definition: Player.h:635
PLAYER_BUFF_WILLPOWER
@ PLAYER_BUFF_WILLPOWER
Definition: Player.h:34
PLAYER_SKILL_STEALING
@ PLAYER_SKILL_STEALING
Definition: Player.h:205
Player::SetSexByVoice
void SetSexByVoice()
Definition: Player.cpp:3563
uint8_t
unsigned __int8 uint8_t
Definition: SDL_config.h:35
PLAYER_SKILL_CHAIN
@ PLAYER_SKILL_CHAIN
Definition: Player.h:181
SPEECH_58
@ SPEECH_58
Definition: Player.h:104
Player::field_1A93
char field_1A93
Definition: Player.h:779
PLAYER_SEX
PLAYER_SEX
Definition: Player.h:399
Player::skillDark
unsigned __int16 skillDark
Definition: Player.h:692
Player::GetOffHandItem
ItemGen * GetOffHandItem()
Definition: Player.cpp:7540
Player::GetActualMight
int GetActualMight()
Definition: Player.cpp:1080
PLAYER_BUFF_FATE
@ PLAYER_BUFF_FATE
Definition: Player.h:18
Player::GetBaseBuyingPrice
int GetBaseBuyingPrice(int uRealValue, float price_multiplier)
Definition: Player.cpp:445
Player::CanEquip_RaceAndAlignmentCheck
bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID)
Definition: Player.cpp:564
SPEECH_50
@ SPEECH_50
Definition: Player.h:96
CHARACTER_EXPRESSION_27
@ CHARACTER_EXPRESSION_27
Definition: Player.h:369
SPEECH_75
@ SPEECH_75
Definition: Player.h:121
CHARACTER_EXPRESSION_DISEASED
@ CHARACTER_EXPRESSION_DISEASED
Definition: Player.h:351
Player::classType
PLAYER_CLASS_TYPE classType
Definition: Player.h:639
b
GLboolean GLboolean GLboolean b
Definition: SDL_opengl_glext.h:1112
IsDwarfPresentInParty
bool IsDwarfPresentInParty(bool b)
Definition: Player.cpp:6915
SPEECH_35
@ SPEECH_35
Definition: Player.h:81
Player::GetBaseIntelligence
int GetBaseIntelligence()
Definition: Player.cpp:1037
VariableType
VariableType
Definition: Events.h:128
PLAYER_BUFF_HEROISM
@ PLAYER_BUFF_HEROISM
Definition: Player.h:22
SPEECH_24
@ SPEECH_24
Definition: Player.h:70
Player::AddItem
bool AddItem(struct ItemGen *pItem)
Player::GetBaseWillpower
int GetBaseWillpower()
Definition: Player.cpp:1043
val
GLuint GLfloat * val
Definition: SDL_opengl_glext.h:1495
PlayerSpells::pWaterSpellbook
PlayerSpellbookChapter pWaterSpellbook
Definition: Player.h:294
Player::skillEarth
unsigned __int16 skillEarth
Definition: Player.h:687
uRequiredMana
unsigned int uRequiredMana
Definition: mm7_data.cpp:516
SPEECH_108
@ SPEECH_108
Definition: Player.h:154
Player::HasEnchantedItemEquipped
bool HasEnchantedItemEquipped(int uEnchantment)
Definition: Player.cpp:1592
PLAYER_BUFF_RESIST_EARTH
@ PLAYER_BUFF_RESIST_EARTH
Definition: Player.h:17
CHARACTER_RACE_GOBLIN
@ CHARACTER_RACE_GOBLIN
Definition: Player.h:163
CHARACTER_EXPRESSION_ERADICATED
@ CHARACTER_EXPRESSION_ERADICATED
Definition: Player.h:396
PLAYER_SKILL_SWORD
@ PLAYER_SKILL_SWORD
Definition: Player.h:172
Player::GetMajorConditionIdx
unsigned int GetMajorConditionIdx()
Definition: Player.cpp:2614
Player::vBeacons
std::vector< LloydBeacon > vBeacons
Definition: Player.h:794
LloydBeacon::image
Image * image
Definition: Player.h:279
SPEECH_GoodEvening
@ SPEECH_GoodEvening
Definition: Player.h:69
CHARACTER_EXPRESSION_18
@ CHARACTER_EXPRESSION_18
Definition: Player.h:360
Player::SelectPhrasesTransaction
int SelectPhrasesTransaction(ItemGen *pItem, int building_type, int BuildID_2Events, int a5)
Definition: Player.cpp:7994
Player::uPrevVoiceID
int uPrevVoiceID
Definition: Player.h:758
CHARACTER_EXPRESSION_57
@ CHARACTER_EXPRESSION_57
Definition: Player.h:390
Player::skillUnarmed
unsigned __int16 skillUnarmed
Definition: Player.h:703
Player::IsMale
bool IsMale()
Definition: Player.h:610
PLAYER_CLASS_WARRIOR_MAGE
@ PLAYER_CLASS_WARRIOR_MAGE
Definition: Player.h:233
SPEECH_78
@ SPEECH_78
Definition: Player.h:124
Player::SetBeacon
bool SetBeacon(size_t index, size_t power)
Definition: Player.cpp:8186
Player::uIntelligence
unsigned __int16 uIntelligence
Definition: Player.h:644
SPEECH_70
@ SPEECH_70
Definition: Player.h:116
SPEECH_18
@ SPEECH_18
Definition: Player.h:64
SkillToMastery
unsigned int SkillToMastery(unsigned int skill_value)
Definition: Player.cpp:7854
Player::SetZombie
void SetZombie(GameTime time)
Definition: Player.cpp:7520
PlayerEquipment::uHelm
unsigned int uHelm
Definition: Player.h:323
Player::GetMeleeDamageMinimal
int GetMeleeDamageMinimal()
Definition: Player.cpp:1170
PlayerEquipment::uArmor
unsigned int uArmor
Definition: Player.h:322
SPEECH_59
@ SPEECH_59
Definition: Player.h:105
PLAYER_BUFF_RESIST_BODY
@ PLAYER_BUFF_RESIST_BODY
Definition: Player.h:16
PLAYER_SKILL_REPAIR
@ PLAYER_SKILL_REPAIR
Definition: Player.h:194
Player::CleanupBeacons
void CleanupBeacons()
Definition: Player.cpp:8177
SPEECH_12
@ SPEECH_12
Definition: Player.h:58
CHARACTER_EXPRESSION_37
@ CHARACTER_EXPRESSION_37
Definition: Player.h:379
CHARACTER_EXPRESSION_15
@ CHARACTER_EXPRESSION_15
Definition: Player.h:357
Player::sResWaterBase
__int16 sResWaterBase
Definition: Player.h:736
PLAYER_SKILL_INVALID
@ PLAYER_SKILL_INVALID
Definition: Player.h:210
PLAYER_BUFF_REGENERATION
@ PLAYER_BUFF_REGENERATION
Definition: Player.h:26
Player::IsDead
bool IsDead() const
Definition: Player.cpp:7416
Player::sHealth
int sHealth
Definition: Player.h:766
Player::CalculateIncommingDamage
int CalculateIncommingDamage(DAMAGE_TYPE dmg_type, int amount)
Definition: Player.cpp:1489
LloydBeacon::SaveFileID
uint16_t SaveFileID
Definition: Player.h:278
Player::GetExperienceDisplayColor
unsigned int GetExperienceDisplayColor()
Definition: Player.cpp:1481
Player::PlaySound
void PlaySound(PlayerSpeech speech, int a3)
Definition: Player.cpp:7874
SPEECH_8
@ SPEECH_8
Definition: Player.h:54
Player::RandomizeName
void RandomizeName()
Definition: Player.cpp:2606
SPEECH_79
@ SPEECH_79
Definition: Player.h:125
Player::GetActualLevel
int GetActualLevel()
Definition: Player.cpp:1073
SPEECH_77
@ SPEECH_77
Definition: Player.h:123
Player::Reset
void Reset(PLAYER_CLASS_TYPE classType)
Definition: Player.cpp:3600
CHARACTER_EXPRESSION_54
@ CHARACTER_EXPRESSION_54
Definition: Player.h:387
Player::IsParalyzed
bool IsParalyzed() const
Definition: Player.cpp:7444
Player::PlayAwardSound_Anim98_Face
void PlayAwardSound_Anim98_Face(PlayerSpeech speech)
Definition: Player.cpp:6781
SPEECH_76
@ SPEECH_76
Definition: Player.h:122
Player::skillAir
unsigned __int16 skillAir
Definition: Player.h:685
Player::GetPriceIdentification
int GetPriceIdentification(float price_multiplier)
Definition: Player.cpp:407
SPEECH_74
@ SPEECH_74
Definition: Player.h:120
CHARACTER_EXPRESSION_1
@ CHARACTER_EXPRESSION_1
Definition: Player.h:343
Player::GetActualSpeed
int GetActualSpeed()
Definition: Player.cpp:1111
SPEECH_107
@ SPEECH_107
Definition: Player.h:153
PLAYER_CLASS_SPY
@ PLAYER_CLASS_SPY
Definition: Player.h:222
PLAYER_CLASS_CHAMPION
@ PLAYER_CLASS_CHAMPION
Definition: Player.h:218
DamagePlayerFromMonster
void DamagePlayerFromMonster(unsigned int uObjID, int a2, struct Vec3_int_ *pPos, signed int a4)
Definition: Player.cpp:6928
Player::GetArmorItem
ItemGen * GetArmorItem()
Definition: Player.cpp:7548
Player::GetDisarmTrap
int GetDisarmTrap()
Definition: Player.cpp:1007
Player::GetActualAttribute
int GetActualAttribute(CHARACTER_ATTRIBUTE_TYPE attrId, unsigned short Player::*attrValue, unsigned short Player::*attrBonus)
Definition: Player.cpp:1132
Player::GetActualAccuracy
int GetActualAccuracy()
Definition: Player.cpp:1105
Player::GetBaseSellingPrice
int GetBaseSellingPrice(int uRealValue, float price_multiplier)
Definition: Player.cpp:435
Player::GetActualLuck
int GetActualLuck()
Definition: Player.cpp:1117
SPEECH_81
@ SPEECH_81
Definition: Player.h:127
PLAYER_BUFF_RESIST_WATER
@ PLAYER_BUFF_RESIST_WATER
Definition: Player.h:36
SPEECH_90
@ SPEECH_90
Definition: Player.h:136
Player::IsRaceElf
bool IsRaceElf()
Definition: Player.h:607
PLAYER_SKILL_DARK
@ PLAYER_SKILL_DARK
Definition: Player.h:191
Player::field_1930
int field_1930
Definition: Player.h:761
Player::PlayAwardSound_Anim97
void PlayAwardSound_Anim97()
Definition: Player.cpp:6203
PLAYER_SKILL_BODY
@ PLAYER_SKILL_BODY
Definition: Player.h:189
SPEECH_62
@ SPEECH_62
Definition: Player.h:108
PLAYER_SKILL_MERCHANT
@ PLAYER_SKILL_MERCHANT
Definition: Player.h:193
SPEECH_4
@ SPEECH_4
Definition: Player.h:50
Player::sResMindBase
__int16 sResMindBase
Definition: Player.h:741
LloydBeacon
Definition: Player.h:254
CHARACTER_RACE_ELF
@ CHARACTER_RACE_ELF
Definition: Player.h:162
Player::uExperience
unsigned __int64 uExperience
Definition: Player.h:636
Player::SetWeak
void SetWeak(GameTime time)
Definition: Player.cpp:7456
Player::GetEquippedItemSkillType
PLAYER_SKILL_TYPE GetEquippedItemSkillType(ITEM_EQUIP_TYPE uEquipSlot)
Definition: Player.cpp:1570
Player::field_1B3B
char field_1B3B
Definition: Player.h:798
Player::sLevelModifier
__int16 sLevelModifier
Definition: Player.h:658
SPEECH_95
@ SPEECH_95
Definition: Player.h:141
SPEECH_30
@ SPEECH_30
Definition: Player.h:76
Player::CanCastSpell
bool CanCastSpell(unsigned int uRequiredMana)
Definition: Player.cpp:280
Player::GetActualSkillLevel
int GetActualSkillLevel(PLAYER_SKILL_TYPE uSkillType)
Definition: Player.cpp:3017
SPEECH_53
@ SPEECH_53
Definition: Player.h:99
CHARACTER_EXPRESSION_POISONED
@ CHARACTER_EXPRESSION_POISONED
Definition: Player.h:350
SPEECH_36
@ SPEECH_36
Definition: Player.h:82
PLAYER_BUFF_LUCK
@ PLAYER_BUFF_LUCK
Definition: Player.h:32
Player::HasItemEquipped
bool HasItemEquipped(ITEM_EQUIP_TYPE uEquipIndex)
Definition: Player.cpp:1583
Player::SetAsleep
void SetAsleep(GameTime time)
Definition: Player.cpp:7460
ItemGen
Definition: Items.h:263
Player::SetDiseaseWeak
void SetDiseaseWeak(GameTime time)
Definition: Player.cpp:7480
Player::HasSkill
int HasSkill(unsigned int uSkillType)
Definition: Player.cpp:778
PlayerSpeech
PlayerSpeech
Definition: Player.h:46
CHARACTER_EXPRESSION_24
@ CHARACTER_EXPRESSION_24
Definition: Player.h:366
sRecoveryTime
signed int sRecoveryTime
Definition: mm7_data.cpp:515
PLAYER_BUFF_HAMMERHANDS
@ PLAYER_BUFF_HAMMERHANDS
Definition: Player.h:20
Player::GetBuyingPrice
int GetBuyingPrice(unsigned int uRealValue, float price_multiplier)
Definition: Player.cpp:396
PLAYER_SKILL_ARMSMASTER
@ PLAYER_SKILL_ARMSMASTER
Definition: Player.h:204
Player::uPrevFace
int uPrevFace
Definition: Player.h:759
PlayerSpells::_pad_1
char _pad_1
Definition: Player.h:305
Player::CreateItemInInventory2
int CreateItemInInventory2(unsigned int index, ItemGen *Src)
Definition: Player.cpp:851
Player::SetDiseaseMedium
void SetDiseaseMedium(GameTime time)
Definition: Player.cpp:7488
PLAYER_CLASS_KNIGHT
@ PLAYER_CLASS_KNIGHT
Definition: Player.h:216
SPEECH_45
@ SPEECH_45
Definition: Player.h:91
SPEECH_73
@ SPEECH_73
Definition: Player.h:119
Player::uNumFireSpikeCasts
char uNumFireSpikeCasts
Definition: Player.h:797
CHARACTER_EXPRESSION_21
@ CHARACTER_EXPRESSION_21
Definition: Player.h:363
Player::GetHealth
int GetHealth() const
Definition: Player.h:461
PlayerSpells::pBodySpellbook
PlayerSpellbookChapter pBodySpellbook
Definition: Player.h:298
Player::uNumArmageddonCasts
char uNumArmageddonCasts
Definition: Player.h:796
Player::SetVariable
void SetVariable(enum VariableType var, signed int a3)
Definition: Player.cpp:5061
LloydBeacon::uBeaconTime
GameTime uBeaconTime
Definition: Player.h:271
Player::IsPlayerHealableByTemple
bool IsPlayerHealableByTemple()
Definition: Player.cpp:475
image
EGLImageKHR image
Definition: SDL_egl.h:953
PLAYER_BUFF_HASTE
@ PLAYER_BUFF_HASTE
Definition: Player.h:21
Player::uQuickSpell
unsigned __int8 uQuickSpell
Definition: Player.h:774
Player::skillSpirit
unsigned __int16 skillSpirit
Definition: Player.h:688
Player::skillMace
unsigned __int16 skillMace
Definition: Player.h:678
PlayerCreation_GetUnspentAttributePointCount
int PlayerCreation_GetUnspentAttributePointCount()
Definition: Player.cpp:223
SPEECH_109
@ SPEECH_109
Definition: Player.h:155
Player::uLevel
unsigned __int16 uLevel
Definition: Player.h:657
Player::ProfessionOrGuildFlagsCorrect
bool ProfessionOrGuildFlagsCorrect(unsigned int uClass, int a3)
Definition: Player.cpp:7964
Player::field_1A95
char field_1A95
Definition: Player.h:781
Player::pEquipment
PlayerEquipment pEquipment
Definition: Player.h:769
Player::SetEradicated
void SetEradicated(GameTime time)
Definition: Player.cpp:7516
SPEECH_89
@ SPEECH_89
Definition: Player.h:135
CHARACTER_EXPRESSION_20
@ CHARACTER_EXPRESSION_20
Definition: Player.h:362
PLAYER_BUFF_PRESERVATION
@ PLAYER_BUFF_PRESERVATION
Definition: Player.h:25
SPEECH_99
@ SPEECH_99
Definition: Player.h:145
SPEECH_85
@ SPEECH_85
Definition: Player.h:131
String
std::string String
Definition: Strings.h:10
SPEECH_41
@ SPEECH_41
Definition: Player.h:87
CHARACTER_EXPRESSION_DRUNK
@ CHARACTER_EXPRESSION_DRUNK
Definition: Player.h:348
Player::SetPoisonWeak
void SetPoisonWeak(GameTime time)
Definition: Player.cpp:7476
CHARACTER_EXPRESSION_FEAR
@ CHARACTER_EXPRESSION_FEAR
Definition: Player.h:347
Player::GetBaseEndurance
int GetBaseEndurance()
Definition: Player.cpp:1048
GameTime
Definition: Time.h:14
Player::GetActualAge
unsigned int GetActualAge()
Definition: Player.cpp:2474
Player::GetPriceSell
int GetPriceSell(ItemGen itemx, float price_multiplier)
Definition: Player.cpp:380
Player::pPlayerBuffs
std::array< SpellBuff, 24 > pPlayerBuffs
Definition: Player.h:756
Player::CanFitItem
bool CanFitItem(unsigned int uSlot, unsigned int uItemID)
Definition: Player.cpp:727
Player::skillPerception
unsigned __int16 skillPerception
Definition: Player.h:698
Player::sResBodyBonus
__int16 sResBodyBonus
Definition: Player.h:753
Player::GetBootItem
ItemGen * GetBootItem()
Definition: Player.cpp:7558
Player::GetGloveItem
ItemGen * GetGloveItem()
Definition: Player.cpp:7556
Player::sACModifier
__int16 sACModifier
Definition: Player.h:656
SPEECH_5
@ SPEECH_5
Definition: Player.h:51
SPEECH_29
@ SPEECH_29
Definition: Player.h:75
Player::GetConditionDaysPassed
int GetConditionDaysPassed(unsigned int uCondition)
Definition: Player.cpp:325
Player::DecreaseAttribute
void DecreaseAttribute(int eAttribute)
Definition: Player.cpp:3670
Player::pEquippedItems
ItemGen pEquippedItems[12]
Definition: Player.h:728
CycleCharacter
int CycleCharacter(bool backwards)
Definition: Player.cpp:6825
PLAYER_CLASS_GREAT_DRUID
@ PLAYER_CLASS_GREAT_DRUID
Definition: Player.h:245
Player::GetStatColor
unsigned int GetStatColor(int uStat)
Definition: Player.cpp:3800
Player::_42ECB5_PlayerAttacksActor
static void _42ECB5_PlayerAttacksActor()
Definition: Player.cpp:7643
SPEECH_34
@ SPEECH_34
Definition: Player.h:80
Player::GetSkillIdxByOrder
PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order)
Definition: Player.cpp:3635
PLAYER_CLASS_MONK
@ PLAYER_CLASS_MONK
Definition: Player.h:224
pPlayers
NZIArray< struct Player *, 5 > pPlayers
Definition: Player.cpp:46
SPEECH_32
@ SPEECH_32
Definition: Player.h:78
SPEECH_NoRoom
@ SPEECH_NoRoom
Definition: Player.h:61
SPEECH_88
@ SPEECH_88
Definition: Player.h:134
PlayerSpeechID
enum PlayerSpeech PlayerSpeechID
Definition: Player.cpp:48
Player::skillFire
unsigned __int16 skillFire
Definition: Player.h:684
Player::sResFireBonus
__int16 sResFireBonus
Definition: Player.h:745
Player::pure_luck_used
int pure_luck_used
Definition: Player.h:718
SPEECH_94
@ SPEECH_94
Definition: Player.h:140
SPEECH_7
@ SPEECH_7
Definition: Player.h:53
Player::sResBodyBase
__int16 sResBodyBase
Definition: Player.h:742
PLAYER_SKILL_PLATE
@ PLAYER_SKILL_PLATE
Definition: Player.h:182
PlayerSpells::pFireSpellbook
PlayerSpellbookChapter pFireSpellbook
Definition: Player.h:292
SPEECH_101
@ SPEECH_101
Definition: Player.h:147
Player::spellbook
PlayerSpells spellbook
Definition: Player.h:716
Player::GetRangedAttack
int GetRangedAttack()
Definition: Player.cpp:1311
LloydBeacon::PartyPos_Z
int32_t PartyPos_Z
Definition: Player.h:274
Player::SetSkillByEvent
void SetSkillByEvent(unsigned __int16 Player::*skillToSet, unsigned __int16 skillValue)
Definition: Player.cpp:5644