![]() |
DI-Guy SDK Documentation
13.7.1
|
#include <declspec_diguy.h>Go to the source code of this file.
Macros | |
| #define | CPLUSPLUS_ONLY |
Typedefs | |
| typedef int | diguyMotionSpeedType |
| DI-Guy character speed types. More... | |
Functions | |
| const char * | diguy_motion_speed_type_to_string (diguyMotionSpeedType motion_speed_type) |
| Utility function that converts a diguyMotionSpeedType enum into a string. More... | |
| diguyMotionSpeedType | diguy_motion_speed_type_from_string (const char *string) |
| Utility function that converts a string into a diguyMotionSpeedType enum. More... | |
| #define CPLUSPLUS_ONLY |
| typedef int diguyMotionSpeedType |
DI-Guy character speed types.
There are times when it is convenient to refer to actions based on roughly how fast they will move a character. When this is possible, DI-Guy uses "speed types".
DIGUY_MOTION_SPEED_TYPE_UNKNOWN
Error return value.
DIGUY_MOTION_SPEED_TYPE_STILL
Specifies that character/action should not move. For upright characters, this is typically some kind of stand.
DIGUY_MOTION_SPEED_TYPE_SLOW
Specifies that character/action should move slowly. For upright characters, this is typically a shuffle.
DIGUY_MOTION_SPEED_TYPE_MEDIUM
Specifies that character/action should move at medium, or average, speed. For upright characters, this is typically a walk.
DIGUY_MOTION_SPEED_TYPE_FAST
Specifies that character/action should move at a speed faster than a walk, but slower than its fastest speed. For upright characters, this is typically a jog.
DIGUY_MOTION_SPEED_TYPE_FASTEST
Specifies that character/action should move at its fastest speed. For upright characters, this is typically a run.
| anonymous enum |
| const char* diguy_motion_speed_type_to_string | ( | diguyMotionSpeedType | motion_speed_type | ) |
Utility function that converts a diguyMotionSpeedType enum into a string.
| diguyMotionSpeedType diguy_motion_speed_type_from_string | ( | const char * | string | ) |
Utility function that converts a string into a diguyMotionSpeedType enum.