]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/PersonType.hpp
Moved hurtidle anim to PersonType to avoid hardcoded wolftype test
[lugaru.git] / Source / Objects / PersonType.hpp
index 119fa20e95c208103b1704489e881af42664c200..5502b4cedb40725fb60f1528f01792daa5fbac00 100644 (file)
@@ -44,6 +44,7 @@ public:
     animation_type animFightIdle;
     animation_type animBounceIdle;
     animation_type animTalkIdle;
+    animation_type animHurtIdle;
 
     sound_type soundsAttack[4];
     sound_type soundsTalk[2];
@@ -58,11 +59,18 @@ public:
     std::vector<std::string> skins;
 
     float power;
+    unsigned int defaultDamageTolerance;
+    float defaultScale;
+    bool hasClaws;
+    bool clothes;
+    unsigned int maxRunSpeed;
+    unsigned int knifeCatchingType;
 
     GLubyte bloodText[512 * 512 * 3] = { 0 };
 
     PersonType();
     bool hasAnimTalkIdle();
+    bool hasAnimHurtIdle();
 
     static std::vector<PersonType> types;
     static void Load();