orx
1.14
Portable Game Engine
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
orxPlugin_Physics.h
Go to the documentation of this file.
1
/* Orx - Portable Game Engine
2
*
3
* Copyright (c) 2008-2022 Orx-Project
4
*
5
* This software is provided 'as-is', without any express or implied
6
* warranty. In no event will the authors be held liable for any damages
7
* arising from the use of this software.
8
*
9
* Permission is granted to anyone to use this software for any purpose,
10
* including commercial applications, and to alter it and redistribute it
11
* freely, subject to the following restrictions:
12
*
13
* 1. The origin of this software must not be misrepresented; you must not
14
* claim that you wrote the original software. If you use this software
15
* in a product, an acknowledgment in the product documentation would be
16
* appreciated but is not required.
17
*
18
* 2. Altered source versions must be plainly marked as such, and must not be
19
* misrepresented as being the original software.
20
*
21
* 3. This notice may not be removed or altered from any source
22
* distribution.
23
*/
24
42
#ifndef _orxPLUGIN_PHYSICS_H_
43
#define _orxPLUGIN_PHYSICS_H_
44
45
#include "
plugin/define/orxPlugin_CoreID.h
"
46
47
48
typedef
enum
__orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_t
49
{
50
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_INIT
= 0,
51
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_EXIT
,
52
53
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_GRAVITY
,
54
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_GRAVITY
,
55
56
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_CREATE_BODY
,
57
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_DELETE_BODY
,
58
59
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_CREATE_PART
,
60
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_DELETE_PART
,
61
62
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_CREATE_JOINT
,
63
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_DELETE_JOINT
,
64
65
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_POSITION
,
66
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ROTATION
,
67
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_SPEED
,
68
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ANGULAR_VELOCITY
,
69
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_CUSTOM_GRAVITY
,
70
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_FIXED_ROTATION
,
71
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_DYNAMIC
,
72
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ALLOW_MOVING
,
73
74
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_POSITION
,
75
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_ROTATION
,
76
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_SPEED
,
77
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_SPEED_AT_WORLD_POSITION
,
78
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_ANGULAR_VELOCITY
,
79
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_CUSTOM_GRAVITY
,
80
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_IS_FIXED_ROTATION
,
81
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_MASS
,
82
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_MASS_CENTER
,
83
84
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_LINEAR_DAMPING
,
85
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ANGULAR_DAMPING
,
86
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_LINEAR_DAMPING
,
87
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_ANGULAR_DAMPING
,
88
89
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_APPLY_TORQUE
,
90
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_APPLY_FORCE
,
91
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_APPLY_IMPULSE
,
92
93
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_SELF_FLAGS
,
94
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_CHECK_MASK
,
95
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_SELF_FLAGS
,
96
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_CHECK_MASK
,
97
98
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_SOLID
,
99
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_IS_PART_SOLID
,
100
101
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_FRICTION
,
102
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_FRICTION
,
103
104
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_RESTITUTION
,
105
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_RESTITUTION
,
106
107
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_DENSITY
,
108
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_DENSITY
,
109
110
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_IS_INSIDE_PART
,
111
112
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_ENABLE_MOTOR
,
113
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_JOINT_MOTOR_SPEED
,
114
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_JOINT_MAX_MOTOR_TORQUE
,
115
116
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_JOINT_REACTION_FORCE
,
117
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_JOINT_REACTION_TORQUE
,
118
119
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_RAYCAST
,
120
121
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_BOX_PICK
,
122
123
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_ENABLE_SIMULATION
,
124
125
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_NUMBER
,
126
127
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_NONE
= orxENUM_NONE
128
129
}
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS
;
130
131
#endif
/* _orxPLUGIN_PHYSICS_H_ */
132
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_MASS
Definition:
orxPlugin_Physics.h:81
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_DENSITY
Definition:
orxPlugin_Physics.h:107
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_ENABLE_SIMULATION
Definition:
orxPlugin_Physics.h:123
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_JOINT_MAX_MOTOR_TORQUE
Definition:
orxPlugin_Physics.h:114
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_DENSITY
Definition:
orxPlugin_Physics.h:108
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_ANGULAR_VELOCITY
Definition:
orxPlugin_Physics.h:78
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ROTATION
Definition:
orxPlugin_Physics.h:66
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_SPEED
Definition:
orxPlugin_Physics.h:76
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS
Definition:
orxPlugin_Physics.h:48
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_APPLY_FORCE
Definition:
orxPlugin_Physics.h:90
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_RESTITUTION
Definition:
orxPlugin_Physics.h:105
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_NUMBER
Definition:
orxPlugin_Physics.h:125
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_SPEED_AT_WORLD_POSITION
Definition:
orxPlugin_Physics.h:77
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_JOINT_REACTION_FORCE
Definition:
orxPlugin_Physics.h:116
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_FRICTION
Definition:
orxPlugin_Physics.h:101
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_IS_PART_SOLID
Definition:
orxPlugin_Physics.h:99
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_CUSTOM_GRAVITY
Definition:
orxPlugin_Physics.h:69
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_LINEAR_DAMPING
Definition:
orxPlugin_Physics.h:86
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_NONE
Definition:
orxPlugin_Physics.h:127
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_FRICTION
Definition:
orxPlugin_Physics.h:102
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ALLOW_MOVING
Definition:
orxPlugin_Physics.h:72
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_LINEAR_DAMPING
Definition:
orxPlugin_Physics.h:84
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_DYNAMIC
Definition:
orxPlugin_Physics.h:71
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_MASS_CENTER
Definition:
orxPlugin_Physics.h:82
orxPlugin_CoreID.h
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_IS_INSIDE_PART
Definition:
orxPlugin_Physics.h:110
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_EXIT
Definition:
orxPlugin_Physics.h:51
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_RESTITUTION
Definition:
orxPlugin_Physics.h:104
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_JOINT_REACTION_TORQUE
Definition:
orxPlugin_Physics.h:117
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_FIXED_ROTATION
Definition:
orxPlugin_Physics.h:70
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_CUSTOM_GRAVITY
Definition:
orxPlugin_Physics.h:79
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_ENABLE_MOTOR
Definition:
orxPlugin_Physics.h:112
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_CREATE_BODY
Definition:
orxPlugin_Physics.h:56
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_SELF_FLAGS
Definition:
orxPlugin_Physics.h:95
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_IS_FIXED_ROTATION
Definition:
orxPlugin_Physics.h:80
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_APPLY_IMPULSE
Definition:
orxPlugin_Physics.h:91
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_INIT
Definition:
orxPlugin_Physics.h:50
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_DELETE_JOINT
Definition:
orxPlugin_Physics.h:63
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ANGULAR_VELOCITY
Definition:
orxPlugin_Physics.h:68
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_JOINT_MOTOR_SPEED
Definition:
orxPlugin_Physics.h:113
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_POSITION
Definition:
orxPlugin_Physics.h:74
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_GRAVITY
Definition:
orxPlugin_Physics.h:53
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_CREATE_PART
Definition:
orxPlugin_Physics.h:59
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_DELETE_BODY
Definition:
orxPlugin_Physics.h:57
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_APPLY_TORQUE
Definition:
orxPlugin_Physics.h:89
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_RAYCAST
Definition:
orxPlugin_Physics.h:119
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_PART_CHECK_MASK
Definition:
orxPlugin_Physics.h:96
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_CREATE_JOINT
Definition:
orxPlugin_Physics.h:62
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_ANGULAR_DAMPING
Definition:
orxPlugin_Physics.h:85
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_SOLID
Definition:
orxPlugin_Physics.h:98
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_SELF_FLAGS
Definition:
orxPlugin_Physics.h:93
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_DELETE_PART
Definition:
orxPlugin_Physics.h:60
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_BOX_PICK
Definition:
orxPlugin_Physics.h:121
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_ROTATION
Definition:
orxPlugin_Physics.h:75
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_POSITION
Definition:
orxPlugin_Physics.h:65
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_ANGULAR_DAMPING
Definition:
orxPlugin_Physics.h:87
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_SPEED
Definition:
orxPlugin_Physics.h:67
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_SET_PART_CHECK_MASK
Definition:
orxPlugin_Physics.h:94
orxPLUGIN_FUNCTION_BASE_ID_PHYSICS_GET_GRAVITY
Definition:
orxPlugin_Physics.h:54
Generated for orx by
1.8.11