comparison Player.h @ 1791:9f610f471283

Player::AddVariable adding helper functions
author Grumpy7
date Thu, 03 Oct 2013 08:53:25 +0200
parents 421e826f4477
children 253194aba8b8
comparison
equal deleted inserted replaced
1790:5ace90f129d3 1791:9f610f471283
601 unsigned int GetMultiplierForSkillLevel(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4); 601 unsigned int GetMultiplierForSkillLevel(unsigned int skillValue, int mult1, int mult2, int mult3, int mult4);
602 int CalculateMeleeDmgToEnemyWithWeapon( ItemGen * weapon, unsigned int uTargetActorID , bool addOneDice); 602 int CalculateMeleeDmgToEnemyWithWeapon( ItemGen * weapon, unsigned int uTargetActorID , bool addOneDice);
603 bool WearsItemAnyWhere(int item_id); 603 bool WearsItemAnyWhere(int item_id);
604 float GetArmorRecoveryMultiplierFromSkillLevel( unsigned char armour_skill_type, float param2, float param3, float param4, float param5 ); 604 float GetArmorRecoveryMultiplierFromSkillLevel( unsigned char armour_skill_type, float param2, float param3, float param4, float param5 );
605 void SetSkillByEvent(unsigned __int16 Player::* skillToSet, unsigned __int16 skillValue, int currPlayerId); 605 void SetSkillByEvent(unsigned __int16 Player::* skillToSet, unsigned __int16 skillValue, int currPlayerId);
606 void AddSkillByEvent( unsigned __int16 Player::* skillToSet, unsigned __int16 addSkillValue, int currPlayerId );
607 void PlayAwardSound_Anim(int currPlayerId);
606 void PlayAwardSound_Anim_Face(int currPlayerId, PlayerSpeech speech); 608 void PlayAwardSound_Anim_Face(int currPlayerId, PlayerSpeech speech);
607 void PlayAwardSound_Anim(int currPlayerId); 609 void PlayAwardSound_Anim97(int currPlayerId);
610 void PlayAwardSound_Anim97_Face(int currPlayerId, PlayerSpeech speech);
608 611
609 bool IsWeak(); 612 bool IsWeak();
610 bool IsDead(); 613 bool IsDead();
611 bool IsEradicated(); 614 bool IsEradicated();
612 bool IsZombie(); 615 bool IsZombie();