]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/Person.hpp
Moved knife catching test to a method and removed hardcoded rabbittype test
[lugaru.git] / Source / Objects / Person.hpp
index 2ead16e9a87922d662cbf65b5bc922175afe6a74..9492fb704f5ad59a714e7b545299f97e3b4eb2ed 100644 (file)
@@ -318,7 +318,7 @@ public:
     Person();
     Person(FILE*, int, unsigned);
 
-    void skeletonLoad(bool clothes = false);
+    void skeletonLoad();
 
     // convenience functions
     inline Joint& joint(int bodypart) { return skeleton.joints[skeleton.jointlabels[bodypart]]; }
@@ -331,6 +331,8 @@ public:
     float getProportion(int part) const;
     XYZ getProportionXYZ(int part) const;
 
+    void changeCreatureType(person_type type);
+
     void CheckKick();
     void CatchFire();
     void DoBlood(float howmuch, int which);
@@ -398,6 +400,8 @@ public:
     void addClothes();
 
     void doAI();
+
+    bool catchKnife();
 };
 
 const int maxplayers = 10;