DI-Guy SDK Documentation  13.2
diguyMotionSpeedType.h
Go to the documentation of this file.
1 
2 /*********************************************************************
3  ** Copyright (c) 1992-2016 VT MAK
4  ** All rights reserved.
5  *********************************************************************/
6 
7 
8 /*********************************************************************
9  **
10  *t diguyMotionSpeedType Type Declaration
11  **
12  */
13 
14 #ifndef __diguyMotionSpeedType_H
15 #define __diguyMotionSpeedType_H
16 
17 #ifdef SWIG
19 #else
20 #define CPLUSPLUS_ONLY
21 #endif
22 
23 extern "C" {
24 
25 #include <declspec_diguy.h>
26 
27 
28 /****************************************************************************/
29 /*l
30  *b Description:
31  **
32  ** DI-Guy character speed types.
33  **
34  ** There are times when it is convenient to refer to actions based
35  ** on roughly how fast they will move a character. When this is
36  ** possible, DI-Guy uses "speed types".
37  **
38  *i DIGUY_MOTION_SPEED_TYPE_UNKNOWN
39  **
40  ** Error return value.
41  **
42  *i DIGUY_MOTION_SPEED_TYPE_STILL
43  **
44  ** Specifies that character/action should not move.
45  ** For upright characters, this is typically some kind of stand.
46  **
47  *i DIGUY_MOTION_SPEED_TYPE_SLOW
48  **
49  ** Specifies that character/action should move slowly.
50  ** For upright characters, this is typically a shuffle.
51  **
52  *i DIGUY_MOTION_SPEED_TYPE_MEDIUM
53  **
54  ** Specifies that character/action should move at medium,
55  ** or average, speed.
56  ** For upright characters, this is typically a walk.
57  **
58  *i DIGUY_MOTION_SPEED_TYPE_FAST
59  **
60  ** Specifies that character/action should move at a speed
61  ** faster than a walk, but slower than its fastest speed.
62  ** For upright characters, this is typically a jog.
63  **
64  *i DIGUY_MOTION_SPEED_TYPE_FASTEST
65  **
66  ** Specifies that character/action should move at its
67  ** fastest speed.
68  ** For upright characters, this is typically a run.
69  */
70 typedef int diguyMotionSpeedType;
71 
72 enum {
74 
80 
82 };
83 
84 
85 /*l
86  *b Description:
87  **
88  ** Utility function that converts a diguyMotionSpeedType enum into
89  ** a string.
90  */
91 BDI_DECLSPEC_diguy
92 const char* diguy_motion_speed_type_to_string(diguyMotionSpeedType motion_speed_type);
93 
94 
95 /*l
96  *b Description:
97  **
98  ** Utility function that converts a string into a diguyMotionSpeedType
99  ** enum.
100  */
101 BDI_DECLSPEC_diguy
102 diguyMotionSpeedType diguy_motion_speed_type_from_string(const char* string);
103 
104 
105 } /* end extern "C" */
106 
107 #endif /* __diguyMotionSpeedType_H */
108 
109 
110 /*********************************************************************
111  ** Copyright (c) 1992-2016 VT MAK
112  ** All rights reserved.
113  *********************************************************************/
114 
Definition: diguyMotionSpeedType.h:69
Definition: diguyMotionSpeedType.h:75
Definition: diguyMotionSpeedType.h:74
Definition: diguyMotionSpeedType.h:73
Definition: diguyMotionSpeedType.h:77
diguyMotionSpeedType diguy_motion_speed_type_from_string(const char *string)
Utility function that converts a string into a diguyMotionSpeedType enum.
Definition: diguyMotionSpeedType.h:72
Definition: diguyMotionSpeedType.h:71
int diguyMotionSpeedType
DI-Guy character speed types.
Definition: diguyMotionSpeedType.h:66
const char * diguy_motion_speed_type_to_string(diguyMotionSpeedType motion_speed_type)
Utility function that converts a diguyMotionSpeedType enum into a string.