diff Player.h @ 1362:d6cf8ead9242

Condition checking functions slightly renamed, some final changes in Player::SetCondition
author Grumpy7
date Mon, 15 Jul 2013 00:42:50 +0200
parents b3ac17fd12de
children fd661c9e7f97
line wrap: on
line diff
--- a/Player.h	Sun Jul 14 23:22:43 2013 +0200
+++ b/Player.h	Mon Jul 15 00:42:50 2013 +0200
@@ -574,13 +574,15 @@
   void DrawPlayerBuffAnimBasedOnCondition(int currPlayerId);
   void EquipBody(ITEM_EQUIP_TYPE uEquipType);
 
-  bool Weak();
-  bool Dead();
-  bool Eradicated();
-  bool Zombie();
-  bool Cursed();
-  bool Pertified();
-  bool Unconcious();
+  bool IsWeak();
+  bool IsDead();
+  bool IsEradicated();
+  bool IsZombie();
+  bool IsCursed();
+  bool IsPertified();
+  bool IsUnconcious();
+  bool IsAsleep();
+  bool IsParalyzed();
 
   void SetCursed(bool state);
   void SetWeak(bool state);
@@ -612,7 +614,6 @@
 
   inline bool IsMale() { return GetSexByVoice() == SEX_MALE;}
   inline bool IsFemale() { return !IsMale();}
-
   __int64 pConditions[20];
   unsigned __int64 uExperience;
   char pName[16];