X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FSkeleton.h;h=ca8ac30cf241037a5a072f54d7946a16412270cc;hb=8afdcba610cded0e54b85069ba051268b29669a6;hp=8186b1824cc391a758b724310d2c7be0f96d716d;hpb=9248d1455aa434112b5ddd771fd69b8df02d44ee;p=lugaru.git diff --git a/Source/Skeleton.h b/Source/Skeleton.h index 8186b18..ca8ac30 100644 --- a/Source/Skeleton.h +++ b/Source/Skeleton.h @@ -24,7 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Models.h" #include "Quaternions.h" -#include "Constants.h" /**> HEADER FILES <**/ @@ -34,6 +33,15 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "Sprite.h" #include "binio.h" +enum bodyparts { + head, neck, + leftshoulder, leftelbow, leftwrist, lefthand, + rightshoulder, rightelbow, rightwrist, righthand, + abdomen, lefthip, righthip, groin, + leftknee, leftankle, leftfoot, + rightknee, rightankle, rightfoot +}; + class Joint { public: @@ -142,6 +150,8 @@ protected: }; +const int max_joints = 50; + class Skeleton { public: