diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2010-02-06 02:50:33 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2010-02-06 02:50:33 +0300 |
commit | 443d913f72c15c9933e6da79c2e9f629d3e3a006 (patch) | |
tree | 5998fb4a154998be44b8d2435bd862f2b55a1ba6 /source/blender/makesdna | |
parent | 29a6465ed4e08e4bdf1bc53bace2be1774d6fd38 (diff) |
BGE: rna update for Logic Bricks
Sensor and Controllers: small fixes and suggestion (comments) for future improvement - mainly to replace text properties to material, text or object datablocks.
Actuators done:
* IPO
* CAMERA
Actuators to be done:
All the others (their structure is in the file)
Adding NC_LOGIC
** If someone want to help on that:
Files used for actuator RNA:
- logic_window.c
- DNA_actuator_types.h
*** my first big RNA operation. critics/suggestions are welcome
**** padded some DNA variables that were not been used.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_actuator_types.h | 8 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_sensor_types.h | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_actuator_types.h b/source/blender/makesdna/DNA_actuator_types.h index 58fa38ae159..01d75064d2e 100644 --- a/source/blender/makesdna/DNA_actuator_types.h +++ b/source/blender/makesdna/DNA_actuator_types.h @@ -114,16 +114,16 @@ typedef struct bIpoActuator { char name[32]; char frameProp[32]; /* Set this property to the actions current frame */ - short pad1, cur, butsta, butend; + short pad1, pad2, pad3, pad4; } bIpoActuator; typedef struct bCameraActuator { struct Object *ob; float height, min, max; - float fac; - short flag, axis; - float visifac; + float pad; + short pad1, axis; + float pad2; } bCameraActuator ; typedef struct bConstraintActuator { diff --git a/source/blender/makesdna/DNA_sensor_types.h b/source/blender/makesdna/DNA_sensor_types.h index a5ba5886ed5..e948bee0889 100644 --- a/source/blender/makesdna/DNA_sensor_types.h +++ b/source/blender/makesdna/DNA_sensor_types.h @@ -98,6 +98,7 @@ typedef struct bDelaySensor { typedef struct bCollisionSensor { char name[32]; /* property name */ char materialName[32]; /* material */ + // struct Material *ma; // XXX remove materialName short damptimer, damp; short mode; /* flag to choose material or property */ short pad2; @@ -121,6 +122,7 @@ typedef struct bRaySensor { float range; char propname[32]; char matname[32]; + //struct Material *ma; // XXX remove materialName short mode; short pad1; int axisflag; |