"dead1", "dead2", "dead3", "dead4"
};
-const int boneconnect = 0;
-const int constraint = 1;
-const int muscle = 2;
-
const int head = 0; // DO NOT CONFLICT WITH ZLIB's variable head
const int neck = 1;
const int leftshoulder = 2;
const int rightankle = 18;
const int rightfoot = 19;
-const int max_joints = 50;
-const int max_frames = 50;
-const int max_muscles = 100;
-
const int max_dialogues = 20;
const int max_dialoguelength = 20;
param=0;
}
+enum {boneconnect, constraint, muscle};
+
void Muscle::DoConstraint(bool spinny)
{
static XYZ vel;
void Skeleton::AddMuscle(int attach1,int attach2,float minlength,float maxlength,int type)
{
+ const int max_muscles = 100; // FIXME: Probably can be dropped
if(num_muscles<max_muscles-1&&attach1<num_joints&&attach1>=0&&attach2<num_joints&&attach2>=0&&attach1!=attach2){
muscles[num_muscles].parent1=&joints[attach1];
muscles[num_muscles].parent2=&joints[attach2];