convert line ends
[canaan.git] / prj / cam / src / editor / motedit_.h
blobb1c1b8929101c7ce8847a2a2979f8ce6b2944daa
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/editor/motedit_.h,v 1.2 2000/01/29 13:12:42 adurant Exp $
7 // internal motion editor header
8 #pragma once
10 #ifndef __MOTEDIT__H
11 #define __MOTEDIT__H
13 #include <multiped.h>
14 #include <motedit.h>
16 #define MROLE_MAIN 0
18 #define NUM_MOTION_ROLES 1
20 #if 0
21 // XXX taken out until further notice KJ 2/98
22 extern mps_motion_node activeMotions[NUM_MOTION_ROLES];
23 #endif
25 // global variables. bad form, I know
26 EXTERN BOOL motionIsPlaying;
27 EXTERN int g_CurMotEditFrame;
28 EXTERN int g_LastMotEditFrame;
29 EXTERN char *g_MotEditMotionName;
30 EXTERN int g_MotEditMotionNum;
31 EXTERN mps_motion *g_MotEditMotion;
32 EXTERN mxs_vector g_MotEditStartPos;
33 EXTERN quat g_MotEditStartRot;
35 // functions
36 EXTERN void MotEditUpdate(float dt);
37 EXTERN BOOL MotEditSetEditMotion(char *motname);
38 EXTERN void MotEditFinishMotionEdit();
40 EXTERN void MotEditSetEditObj();
42 multiped *MotEditGetMultiped();
44 #ifdef __cplusplus
45 #include <motrtype.h>
46 IMotor *MotEditGetMotor();
47 #endif // cplusplus
49 #endif