Mercurial > mm7
comparison Player.h @ 821:5e3f4bf3b8e6
* UpdateActorAI clean
* VS 2010 fixes
author | zipi |
---|---|
date | Tue, 26 Mar 2013 15:21:03 +0000 |
parents | cfc65feef029 |
children | 9c3f28b31b4a |
comparison
equal
deleted
inserted
replaced
820:522591080ac5 | 821:5e3f4bf3b8e6 |
---|---|
483 char *GetMeleeDamageString(); | 483 char *GetMeleeDamageString(); |
484 char *GetRangedDamageString(); | 484 char *GetRangedDamageString(); |
485 bool CanTrainToNextLevel(); | 485 bool CanTrainToNextLevel(); |
486 unsigned int GetExperienceDisplayColor(); | 486 unsigned int GetExperienceDisplayColor(); |
487 int CalculateIncommingDamage(int resistance, signed int type); | 487 int CalculateIncommingDamage(int resistance, signed int type); |
488 ITEM_EQUIP_TYPE GetEquippedItemEquipType(enum ITEM_EQUIP_TYPE uEquipSlot); | 488 ITEM_EQUIP_TYPE GetEquippedItemEquipType(ITEM_EQUIP_TYPE uEquipSlot); |
489 PLAYER_SKILL_TYPE GetEquippedItemSkillType(enum ITEM_EQUIP_TYPE uEquipSlot); | 489 PLAYER_SKILL_TYPE GetEquippedItemSkillType(ITEM_EQUIP_TYPE uEquipSlot); |
490 bool IsUnarmed(); | 490 bool IsUnarmed(); |
491 bool HasItemEquipped(enum ITEM_EQUIP_TYPE uEquipIndex); | 491 bool HasItemEquipped(ITEM_EQUIP_TYPE uEquipIndex); |
492 bool HasEnchantedItemEquipped(int uEnchantment); | 492 bool HasEnchantedItemEquipped(int uEnchantment); |
493 bool WearsItem(int a1, signed int a2); | 493 bool WearsItem(int a1, signed int a2); |
494 bool StealFromShop(struct ItemGen *a2, int a3, int a4, int a5, int *a6); | 494 bool StealFromShop(struct ItemGen *a2, int a3, int a4, int a5, int *a6); |
495 int StealFromActor(unsigned int uActorID, int _steal_perm, int reputation); | 495 int StealFromActor(unsigned int uActorID, int _steal_perm, int reputation); |
496 void Heal(int amount); | 496 void Heal(int amount); |
511 unsigned int GetMajorConditionIdx(); | 511 unsigned int GetMajorConditionIdx(); |
512 int _48EA1B_get_static_effect(int a2); | 512 int _48EA1B_get_static_effect(int a2); |
513 int _48EA46_calc_special_bonus_by_items(int a2); | 513 int _48EA46_calc_special_bonus_by_items(int a2); |
514 int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, int a3); | 514 int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, int a3); |
515 int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2); | 515 int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2); |
516 char GetActualSkillLevel(enum PLAYER_SKILL_TYPE uSkillType); | 516 char GetActualSkillLevel(PLAYER_SKILL_TYPE uSkillType); |
517 int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2); | 517 int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2); |
518 enum CHARACTER_RACE GetRace(); | 518 enum CHARACTER_RACE GetRace(); |
519 PLAYER_SEX GetSexByVoice(); | 519 PLAYER_SEX GetSexByVoice(); |
520 void SetInitialStats(); | 520 void SetInitialStats(); |
521 int SetSexByVoice(); | 521 int SetSexByVoice(); |
522 void Reset(PLAYER_CLASS_TYPE classType); | 522 void Reset(PLAYER_CLASS_TYPE classType); |
523 enum PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order); | 523 PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order); |
524 void DecreaseAttribute(int eAttribute); | 524 void DecreaseAttribute(int eAttribute); |
525 int IncreaseAttribute(int eAttribute); | 525 int IncreaseAttribute(int eAttribute); |
526 void Player::Zero(); | 526 void Player::Zero(); |
527 unsigned int GetStatColor(int uStat); | 527 unsigned int GetStatColor(int uStat); |
528 bool DiscardConditionIfLastsLongerThan(unsigned int uCondition, unsigned __int64 uTime); | 528 bool DiscardConditionIfLastsLongerThan(unsigned int uCondition, unsigned __int64 uTime); |