convert line ends
[canaan.git] / prj / cam / src / sim / plyablt_.h
blobf3b81be0c0062092c36219c200fdcc45fd0ecf3f
1 /*
2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
4 */
6 // $Header: r:/t2repos/thief2/src/sim/plyablt_.h,v 1.4 2000/01/31 10:00:18 adurant Exp $
7 #pragma once
9 #ifndef __PLYABLT__H
10 #define __PLYABLT__H
12 #include <plyablty.h>
13 #include <matrixs.h>
14 #include <mschbase.h>
15 #include <plyrbase.h>
17 // this only needs to be used by modules that want to instantiate
18 // player abilities. It defines the data structures that get passed in
19 // to the ability constructor (and are forward declared in plyablty.h)
21 // this is used instead of skill selection desc for player, since
22 // want player to always execute a pre-defined set of maneuvers when
23 // he start/ends/aborts using an item. (Aborting using an item is what
24 // happens when player wants to switch items.)
25 // We don't need to match skills to best fit arbitrary control inputs.
26 typedef struct sSkillConnectDesc
28 int nextDefault; // skill to perform next if no inputs received
29 int nextIfStart; // skill to perform next if start action input received
30 int nextIfFinish;// skill to perform next if finish action input received
31 int nextIfAbort; // skill to perform next if abort action input received
32 } sSkillConnectDesc;
34 struct sPlayerSkillFullDesc
36 int controllerID;
37 ePlayerTransition trans;
38 sSkillConnectDesc connect;
39 sMPlayerSkillData skillData;
40 char *tagNames;
41 char *sndSchemaName;
42 float timeToMax;
43 int mouseSpeed;
44 int mouseZone;
45 float slewSpeedScale;
46 float rotateSpeedScale;
47 BOOL IsIdleMotion;
50 #endif