convert line ends
[canaan.git] / prj / cam / src / motion / mschbase.h
blob37871f1ec9e960d54588232689e8e9e361df1990
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/motion/mschbase.h,v 1.8 2000/01/31 09:51:07 adurant Exp $
7 #pragma once
9 #ifndef __MSCHBASE_H
10 #define __MSCHBASE_H
12 #include <mschtype.h>
14 #define MAX_GAIT_TURNS 3
16 typedef struct sMGaitTurn
18 int angle; // turn angle XXX can this be fixang yet edited in editor as degrees?
19 int mot;
20 } sMGaitTurn;
22 struct sMGaitSkillData
24 int leftStride;
25 int rightStride;
26 float maxAscend;
27 float maxDescend;
28 float timeWarp; // slows down playback of all motions for this gait
29 float stretch; // horizontally stretches all motions for this gait
30 int maxAngVel; // in degrees/second, used for smoothing
31 int turnTolerance; // in degrees. how close turn angle need to be to choose to turn
32 float maxVel; // max "physically possible" velocity appropriate for gait
33 float minVel;
34 int numTurns;
35 sMGaitTurn turns[MAX_GAIT_TURNS];
36 float noise;
39 struct sMPlayerSkillData
41 float flexDuration; // time to max flex
42 int flexDegree; // maximum flex, in degrees
45 // for mvrcmbat motor controller
46 enum eMSwordActionType
48 kMSAT_Swing,
49 kMSAT_GeneralBlock,
50 kMSAT_DirectedBlock,
51 kMSAT_Invalid=0xffffffff,
54 #endif // __MSCHDATA_H