#include "Models.h"
#include "Quaternions.h"
-#include "Constants.h"
/**> HEADER FILES <**/
#include "gamegl.h"
#include "Quaternions.h"
#include "Objects.h"
-#include "Sprites.h"
+#include "Sprite.h"
#include "binio.h"
-#define neutral 0
-#define normalattack 1
-#define reversed 2
-#define reversal 3
-#define lowheight 0
-#define middleheight 1
-#define highheight 2
+enum bodyparts {
+ head, neck,
+ leftshoulder, leftelbow, leftwrist, lefthand,
+ rightshoulder, rightelbow, rightwrist, righthand,
+ abdomen, lefthip, righthip, groin,
+ leftknee, leftankle, leftfoot,
+ rightknee, rightankle, rightfoot
+};
class Joint
{
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:
};
+const int max_joints = 50;
+
class Skeleton
{
public: