

#ifndef _WINDOWS


typedef struct
{
	int scaledStartFrame;
	int scaledAnimLength;
	int actualStartFrame;
	int actualAnimLength;
}ANIM_SEGMENT;

typedef struct
{
	short		segment;			// CPW: current animation segment (-1 if none)
	short		speed;				// CPW: anim frames per poll (*256)
	long		scaledFrameOffset;	// CPW: offset of current anim frame (*256)
	short		actualFrame;		// CPW: actual frame number, segment start having been added
	short		loop;				// CPW: loop this animation
}ANIM_DATA;

typedef struct
{
	short		blendEnable;		// CPW: allow blending to take place
	short		blendCounter;		// CPW: 0 = fully old anim, 4096 = fully current (new) anim
	short		endOfCurrentAnim;	// CPW: current (new) anim has finished playing
	short		numSegments;		// CPW: number of animation ranges in model
	
	ANIM_SEGMENT	*pSegments;		// CPW: list of animation segment info, first & last frame, etc

	// CPW: subscripts:	0 = current
	// CPW: 			1 = old
	ANIM_DATA	animData[2];

}ANIM_ANIMATION;

#endif
