DI-Guy C++ SDK Reference
13.0
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
diguyMotionPosture.h
Go to the documentation of this file.
1
2
/*********************************************************************
3
** Copyright (c) 1992-2014 VT MAK
4
** All rights reserved.
5
*********************************************************************/
6
7
8
/*********************************************************************
9
**
10
*t diguyMotionPosture Type Declaration
11
**
12
*/
13
14
#ifndef __diguyMotionPosture_H
15
#define __diguyMotionPosture_H
16
17
#ifdef SWIG
18
%module
diguyMotionPosture
19
#else
20
#define CPLUSPLUS_ONLY
21
#endif
22
23
extern
"C"
{
24
25
#include <
declspec_diguy.h
>
26
27
28
/****************************************************************************/
29
typedef
enum
{
30
DIGUY_MOTION_POSTURE_UPRIGHT
= 0,
31
DIGUY_MOTION_POSTURE_CROUCHED
,
32
DIGUY_MOTION_POSTURE_PRONE
,
33
DIGUY_MOTION_POSTURE_SITTING
,
34
35
DIGUY_MOTION_POSTURE_UNKNOWN
,
36
DIGUY_MOTION_POSTURE_ANY
,
37
DIGUY_MOTION_POSTURE_COUNT
38
}
diguyMotionPosture
;
39
40
/*l
41
*b Description:
42
**
43
** This function converts the passed posture enumeration into
44
** a NULL-terminated C-style string.
45
**
46
*b Returns:
47
**
48
** C-style string identifying posture
49
**
50
*b Callable From:
51
**
52
*- - C++
53
*- - Script
54
*/
55
BDI_DECLSPEC_diguy
56
const
char
*
diguy_motion_posture_to_string
(
diguyMotionPosture
posture);
57
58
/*l
59
*b Description:
60
**
61
** This function converts the passed C-style string into an
62
** enumerated value.
63
**
64
** Postures are used in functions such as
65
** diguyCharacter::get_action_from_description().
66
**
67
*b Returns:
68
**
69
** enumeration value of posture
70
**
71
*b Callable From:
72
**
73
*- - C++
74
*- - Script
75
*/
76
BDI_DECLSPEC_diguy
77
diguyMotionPosture
diguy_motion_posture_from_string
(
const
char
*
string
);
78
79
80
}
/* end extern "C" */
81
82
#endif
/* __diguyMotionPosture_H */
83
84
85
/*********************************************************************
86
** Copyright (c) 1992-2014 VT MAK
87
** All rights reserved.
88
*********************************************************************/
89
include
diguyMotionPosture.h
Generated on Wed Jul 9 2014 21:35:59 for DI-Guy C++ SDK Reference by
1.8.3.1