X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAnimation%2FJoint.h;h=c4c8e3b4318809c79fc3b05110dcbf2e59107ca5;hb=f83c7bc4ef12b0bbdc1cfa6bdce35d9665510e6c;hp=764b095de9ff44d69c7ef48f89f2b45be573c89d;hpb=1991e81a5c3bcc9cd0d6d49f56ebd8bcbd76e7b4;p=lugaru.git diff --git a/Source/Animation/Joint.h b/Source/Animation/Joint.h index 764b095..c4c8e3b 100644 --- a/Source/Animation/Joint.h +++ b/Source/Animation/Joint.h @@ -24,6 +24,15 @@ along with Lugaru. If not, see . #include "Quaternions.h" #include +enum bodypart { + head, neck, + leftshoulder, leftelbow, leftwrist, lefthand, + rightshoulder, rightelbow, rightwrist, righthand, + abdomen, lefthip, righthip, groin, + leftknee, leftankle, leftfoot, + rightknee, rightankle, rightfoot +}; + class Joint { public: @@ -43,7 +52,7 @@ public: bool visible; Joint* parent; bool sametwist; - int label; + bodypart label; int hasgun; float delay; XYZ velchange;