]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Skeleton.h
Remove Constants.h
[lugaru.git] / Source / Skeleton.h
index 7dcd203d11bd05ecd2aab36ec69dc1ff678fddad..ca8ac30cf241037a5a072f54d7946a16412270cc 100644 (file)
@@ -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:
@@ -134,7 +142,7 @@ public:
 
        Animation & operator = (const Animation & ani);
 
-       void Load(char *fileName, int aheight, int aattack);
+       void Load(const char *fileName, int aheight, int aattack);
        void Move(XYZ how);
 
 protected:
@@ -142,6 +150,8 @@ protected:
 };
 
 
+const int max_joints = 50;
+
 class Skeleton
 {
 public: