]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Objects/Person.hpp
Devtools: Improve fixtype cmd and document it
[lugaru.git] / Source / Objects / Person.hpp
index 3f96a26f1b73e430636eceba768b35c56d80446e..0734eaa5e2e3dd2022fde3f0316e1acdddd9896e 100644 (file)
@@ -96,11 +96,6 @@ public:
     XYZ coords;
     XYZ velocity;
 
-    //~ XYZ proportionhead;
-    //~ XYZ proportionlegs;
-    //~ XYZ proportionarms;
-    //~ XYZ proportionbody;
-
     float unconscioustime;
 
     bool immobile;
@@ -331,8 +326,9 @@ public:
     inline AnimationFrame& currentFrame() { return Animation::animations.at(animCurrent).frames.at(frameCurrent); }
     inline AnimationFrame& targetFrame() { return Animation::animations.at(animTarget).frames.at(frameTarget); }
 
-    void setProportions(float, float, float, float);
-    XYZ getProportion(int part) const;
+    void setProportions(float head, float body, float arms, float legs);
+    float getProportion(int part) const;
+    XYZ getProportionXYZ(int part) const;
 
     void CheckKick();
     void CatchFire();