Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2010-02-10 00:18:50 +0300
committerDalai Felinto <dfelinto@gmail.com>2010-02-10 00:18:50 +0300
commitd2e41b38df1130049b649406c6bfdcdf2482c783 (patch)
tree0d5ad4db231023c11ccfc2dfea4e0830fe8ac11e /source/blender/makesdna/DNA_actuator_types.h
parent6d833bced25743a4b92cd439cb20f8220f12f475 (diff)
BGE: rna update for Logic Bricks
New Actuators done: * OBJECT (aka MOTION) * SOUND * PROPERTY * CONSTRAINT * EDIT_OBJECT * ACTION * STATE * ARMATURE Actuators to be done: * CONSTRAINT * EDIT_OBJECT * SHAPE_ACTION Actuators done already: * IPO * CAMERA * SCENE * RANDOM * MESSAGE * GAME * VISIBILITY * TWODFILTER * PARENT once again: feedback is appreciated. + some typos + some DNA padding Thanks for Mitchell Stokes (Moguri) for his patch on that. It saved me some time on the ENUMs and some actuator descriptions :)
Diffstat (limited to 'source/blender/makesdna/DNA_actuator_types.h')
-rw-r--r--source/blender/makesdna/DNA_actuator_types.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h
index 312187d3d5f..9dbb7ecd998 100644
--- a/source/blender/makesdna/DNA_actuator_types.h
+++ b/source/blender/makesdna/DNA_actuator_types.h
@@ -63,13 +63,13 @@ typedef struct bActionActuator {
typedef struct bSoundActuator {
short flag, sndnr;
- int sta, end;
- short pad1[2];
+ int pad1, pad2;
+ short pad3[2];
float volume, pitch;
struct bSound *sound;
struct Sound3D sound3D;
- short type, makecopy;
- short copymade, pad2[1];
+ short type, pad4;
+ short pad5, pad6[1];
} bSoundActuator;
typedef struct bEditObjectActuator {
@@ -93,16 +93,16 @@ typedef struct bSceneActuator {
} bSceneActuator;
typedef struct bPropertyActuator {
- int flag, type;
+ int pad, type;
char name[32], value[32];
- struct Object *ob;
+ struct Object *ob; // not in use anymore
} bPropertyActuator;
typedef struct bObjectActuator {
short flag, type, otype;
short damping;
float forceloc[3], forcerot[3];
- float loc[3], rot[3];
+ float pad[3], pad1[3];
float dloc[3], drot[3];
float linearvelocity[3], angularvelocity[3];
struct Object *reference;
@@ -503,6 +503,12 @@ typedef struct FreeCamera {
/* update this define if more type are addedd */
#define ACT_ARM_MAXTYPE 4
+/* stateactuator->type */
+#define ACT_STATE_SET 0
+#define ACT_STATE_ADD 1
+#define ACT_STATE_REMOVE 2
+#define ACT_STATE_CHANGE 3
+
#endif