diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-14 04:53:15 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-14 09:10:56 +0300 |
commit | d7f55c4ff58f87b80f0ce2fa43ce2f7cd2b72675 (patch) | |
tree | 6d0777779c74a927551baa36da3bc8225ad8ead5 /source/gameengine | |
parent | b97a2c3688ad29b051898ff2be5f9b9e98bebdba (diff) |
Cleanup: comment block tabs
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/Expressions/EXP_BoolValue.h | 2 | ||||
-rw-r--r-- | source/gameengine/Expressions/EXP_Value.h | 2 | ||||
-rw-r--r-- | source/gameengine/GameLogic/SCA_KeyboardSensor.cpp | 4 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_Dome.cpp | 16 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_KetsjiEngine.cpp | 4 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_MouseFocusSensor.cpp | 8 | ||||
-rw-r--r-- | source/gameengine/Ketsji/KX_RadarSensor.cpp | 6 | ||||
-rw-r--r-- | source/gameengine/Network/NG_NetworkScene.h | 2 | ||||
-rw-r--r-- | source/gameengine/SceneGraph/SG_Spatial.h | 2 |
9 files changed, 23 insertions, 23 deletions
diff --git a/source/gameengine/Expressions/EXP_BoolValue.h b/source/gameengine/Expressions/EXP_BoolValue.h index 89c724e87ee..2b8c909a0ba 100644 --- a/source/gameengine/Expressions/EXP_BoolValue.h +++ b/source/gameengine/Expressions/EXP_BoolValue.h @@ -22,7 +22,7 @@ #include "EXP_Value.h" /** - * Smart Boolean Value class. + * Smart Boolean Value class. * Is used by parser when an expression tree is build containing booleans. */ diff --git a/source/gameengine/Expressions/EXP_Value.h b/source/gameengine/Expressions/EXP_Value.h index dd0cee3dbb8..78e0303b0ad 100644 --- a/source/gameengine/Expressions/EXP_Value.h +++ b/source/gameengine/Expressions/EXP_Value.h @@ -141,7 +141,7 @@ struct ValueFlags { }; /** - * Base Class for all Actions performed on CValue's. Can be extended for undo/redo system in future. + * Base Class for all Actions performed on CValue's. Can be extended for undo/redo system in future. */ class CAction { diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp index a502158f453..66a5c5a2a5a 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp +++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp @@ -304,10 +304,10 @@ bool SCA_KeyboardSensor::Evaluate() * note, this will only change the results if key modifiers are set. * * When all modifiers and keys are positive - * - pulse true + * - pulse true * * When ANY of the modifiers or main key become inactive, - * - pulse false + * - pulse false */ if (qual==false) { /* one of the qualifiers are not pressed */ if (m_val_orig && qual_change) { /* we were originally enabled, but a qualifier changed */ diff --git a/source/gameengine/Ketsji/KX_Dome.cpp b/source/gameengine/Ketsji/KX_Dome.cpp index bfc8b6edf1b..2f8a94c3b50 100644 --- a/source/gameengine/Ketsji/KX_Dome.cpp +++ b/source/gameengine/Ketsji/KX_Dome.cpp @@ -457,13 +457,13 @@ bool KX_Dome::ParseWarpMesh(STR_String text) /* * //Notes about the supported data format: * File example:: - * mode - * width height - * n0_x n0_y n0_u n0_v n0_i - * n1_x n1_y n1_u n1_v n1_i - * n2_x n1_y n2_u n2_v n2_i - * n3_x n3_y n3_u n3_v n3_i - * (...) + * mode + * width height + * n0_x n0_y n0_u n0_v n0_i + * n1_x n1_y n1_u n1_v n1_i + * n2_x n1_y n2_u n2_v n2_i + * n3_x n3_y n3_u n3_v n3_i + * (...) * First line is the image type the mesh is support to be applied to: 2 = fisheye, 1=radial * The next line has the mesh dimensions * Rest of the lines are the nodes of the mesh. Each line has x y u v i @@ -535,7 +535,7 @@ bool KX_Dome::ParseWarpMesh(STR_String text) void KX_Dome::CreateMeshDome180(void) { /* - * 1)- Define the faces of half of a cube + * 1) Define the faces of half of a cube * - each face is made out of 2 triangles * 2) Subdivide the faces * - more resolution == more curved lines diff --git a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp index 3592a67c8e4..e8fe056618e 100644 --- a/source/gameengine/Ketsji/KX_KetsjiEngine.cpp +++ b/source/gameengine/Ketsji/KX_KetsjiEngine.cpp @@ -105,7 +105,7 @@ short KX_KetsjiEngine::m_exitkey = 130; // ESC Key bool KX_KetsjiEngine::m_doRender = true; /** - * Constructor of the Ketsji Engine + * Constructor of the Ketsji Engine */ KX_KetsjiEngine::KX_KetsjiEngine(KX_ISystem* system) : m_canvas(NULL), @@ -189,7 +189,7 @@ KX_KetsjiEngine::KX_KetsjiEngine(KX_ISystem* system) /** - * Destructor of the Ketsji Engine, release all memory + * Destructor of the Ketsji Engine, release all memory */ KX_KetsjiEngine::~KX_KetsjiEngine() { diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp index 6dc85b59935..a9cd8bf4508 100644 --- a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp +++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp @@ -308,11 +308,11 @@ bool KX_MouseFocusSensor::ParentObjectHasFocusCamera(KX_Camera *cam) * _should_ be wrong! - see from point Z values */ - /* build the from and to point in normalized device coordinates - * Normalized device coordinates are [-1,1] in x, y, z + /* build the from and to point in normalized device coordinates + * Normalized device coordinates are [-1,1] in x, y, z * - * The actual z coordinates used don't have to be exact just infront and - * behind of the near and far clip planes. + * The actual z coordinates used don't have to be exact just infront and + * behind of the near and far clip planes. */ frompoint.setValue( (2 * (m_x-x_lb) / width) - 1.0f, 1.0f - (2 * (m_y_inv - y_lb) / height), diff --git a/source/gameengine/Ketsji/KX_RadarSensor.cpp b/source/gameengine/Ketsji/KX_RadarSensor.cpp index 4f7a0e33011..6300a6ab0e4 100644 --- a/source/gameengine/Ketsji/KX_RadarSensor.cpp +++ b/source/gameengine/Ketsji/KX_RadarSensor.cpp @@ -38,7 +38,7 @@ #include "DNA_sensor_types.h" /** - * RadarSensor constructor. Creates a near-sensor derived class, with a cone collision shape. + * RadarSensor constructor. Creates a near-sensor derived class, with a cone collision shape. */ KX_RadarSensor::KX_RadarSensor(SCA_EventManager* eventmgr, KX_GameObject* gameobj, @@ -84,8 +84,8 @@ CValue* KX_RadarSensor::GetReplica() } /** - * Transforms the collision object. A cone is not correctly centered - * for usage. */ + * Transforms the collision object. A cone is not correctly centered + * for usage. */ void KX_RadarSensor::SynchronizeTransform() { // Getting the parent location was commented out. Why? diff --git a/source/gameengine/Network/NG_NetworkScene.h b/source/gameengine/Network/NG_NetworkScene.h index e6233852ee2..d9985fe05c7 100644 --- a/source/gameengine/Network/NG_NetworkScene.h +++ b/source/gameengine/Network/NG_NetworkScene.h @@ -85,7 +85,7 @@ public: void RemoveAllObjects(); /** - * send a message (ascii text) over the network + * send a message (ascii text) over the network */ void SendMessage(const STR_String& to,const STR_String& from,const STR_String& subject,const STR_String& message); diff --git a/source/gameengine/SceneGraph/SG_Spatial.h b/source/gameengine/SceneGraph/SG_Spatial.h index 7fa21506675..504eccedea7 100644 --- a/source/gameengine/SceneGraph/SG_Spatial.h +++ b/source/gameengine/SceneGraph/SG_Spatial.h @@ -60,7 +60,7 @@ protected: MT_Matrix3x3 m_worldRotation; MT_Vector3 m_worldScaling; - SG_ParentRelation * m_parent_relation; + SG_ParentRelation *m_parent_relation; SG_BBox m_bbox; MT_Scalar m_radius; |