diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 22:28:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-09 22:28:30 +0400 |
commit | 89a963fb7fdff543b77de790355b9dac3019bd33 (patch) | |
tree | 4e1d2245e20f8c21625e99d771776f66c233a0de /source/gameengine/Converter/KX_ConvertActuators.cpp | |
parent | de4bd55e01bc574c13977537ace1a0901dcfcaf0 (diff) |
style cleanup: comment blocks
Diffstat (limited to 'source/gameengine/Converter/KX_ConvertActuators.cpp')
-rw-r--r-- | source/gameengine/Converter/KX_ConvertActuators.cpp | 42 |
1 files changed, 19 insertions, 23 deletions
diff --git a/source/gameengine/Converter/KX_ConvertActuators.cpp b/source/gameengine/Converter/KX_ConvertActuators.cpp index 135a3b20d96..04342717555 100644 --- a/source/gameengine/Converter/KX_ConvertActuators.cpp +++ b/source/gameengine/Converter/KX_ConvertActuators.cpp @@ -106,8 +106,8 @@ #include "BL_BlenderDataConversion.h" /** -KX_BLENDERTRUNC needed to round 'almost' zero values to zero, else velocities etc. are incorrectly set -*/ + * KX_BLENDERTRUNC needed to round 'almost' zero values to zero, else velocities etc. are incorrectly set + */ #define KX_BLENDERTRUNC(x) (( x < 0.0001 && x > -0.0001 ) ? 0.0 : x) @@ -310,30 +310,26 @@ void BL_ConvertActuators(const char* maggiename, { bMessageActuator *msgAct = (bMessageActuator *) bact->data; - /** - * Get the name of the properties that objects must own that - * we're sending to, if present - */ + /* Get the name of the properties that objects must own that + * we're sending to, if present + */ STR_String toPropName = (msgAct->toPropName ? (char*) msgAct->toPropName : ""); - /** - * Get the Message Subject to send. - */ + /* Get the Message Subject to send. + */ STR_String subject = (msgAct->subject ? (char*) msgAct->subject : ""); - /** - * Get the bodyType - */ + /* Get the bodyType + */ int bodyType = msgAct->bodyType; - /** - * Get the body (text message or property name whose value - * we'll be sending, might be empty - */ + /* Get the body (text message or property name whose value + * we'll be sending, might be empty + */ STR_String body = (msgAct->body ? (char*) msgAct->body : ""); @@ -451,13 +447,13 @@ void BL_ConvertActuators(const char* maggiename, SCA_IObject* destinationObj = NULL; /* - here the destinationobject is searched. problem with multiple scenes: other scenes - have not been converted yet, so the destobj will not be found, so the prop will - not be copied. - possible solutions: - - convert everything when possible and not realtime only when needed. - - let the object-with-property report itself to the act when converted - */ + * here the destinationobject is searched. problem with multiple scenes: other scenes + * have not been converted yet, so the destobj will not be found, so the prop will + * not be copied. + * possible solutions: + * - convert everything when possible and not realtime only when needed. + * - let the object-with-property report itself to the act when converted + */ if (propact->ob) destinationObj = converter->FindGameObject(propact->ob); |