From 443d913f72c15c9933e6da79c2e9f629d3e3a006 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Fri, 5 Feb 2010 23:50:33 +0000 Subject: 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. --- source/blender/makesdna/DNA_sensor_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_sensor_types.h') 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; -- cgit v1.2.3