diff options
Diffstat (limited to 'source/gameengine')
7 files changed, 20 insertions, 20 deletions
diff --git a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp index 1266250e942..c4daecc9958 100644 --- a/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp +++ b/source/gameengine/BlenderRoutines/KX_BlenderRenderTools.cpp @@ -196,7 +196,7 @@ void KX_BlenderRenderTools::applyTransform(RAS_IRasterizer* rasty,double* oglmat //page 360/361 3D Game Engine Design, David Eberly for a discussion // on screen aligned and axis aligned billboards // assumed is that the preprocessor transformed all billboard polygons - // so that their normal points into the positive x direction (1.0 , 0.0 , 0.0) + // so that their normal points into the positive x direction (1.0, 0.0, 0.0) // when new parenting for objects is done, this rotation // will be moved into the object diff --git a/source/gameengine/Expressions/PyObjectPlus.h b/source/gameengine/Expressions/PyObjectPlus.h index 2fee6aaab92..f74ed7db8f7 100644 --- a/source/gameengine/Expressions/PyObjectPlus.h +++ b/source/gameengine/Expressions/PyObjectPlus.h @@ -299,16 +299,16 @@ public: \ * Method table macro (with doc) */ #define KX_PYMETHODTABLE(class_name, method_name) \ - {#method_name , (PyCFunction) class_name::sPy##method_name, METH_VARARGS, (const char *)class_name::method_name##_doc} + {#method_name, (PyCFunction) class_name::sPy##method_name, METH_VARARGS, (const char *)class_name::method_name##_doc} #define KX_PYMETHODTABLE_O(class_name, method_name) \ - {#method_name , (PyCFunction) class_name::sPy##method_name, METH_O, (const char *)class_name::method_name##_doc} + {#method_name, (PyCFunction) class_name::sPy##method_name, METH_O, (const char *)class_name::method_name##_doc} #define KX_PYMETHODTABLE_NOARGS(class_name, method_name) \ - {#method_name , (PyCFunction) class_name::sPy##method_name, METH_NOARGS, (const char *)class_name::method_name##_doc} + {#method_name, (PyCFunction) class_name::sPy##method_name, METH_NOARGS, (const char *)class_name::method_name##_doc} #define KX_PYMETHODTABLE_KEYWORDS(class_name, method_name) \ - {#method_name , (PyCFunction) class_name::sPy##method_name, METH_VARARGS|METH_KEYWORDS, (const char *)class_name::method_name##_doc} + {#method_name, (PyCFunction) class_name::sPy##method_name, METH_VARARGS|METH_KEYWORDS, (const char *)class_name::method_name##_doc} /** * Function implementation macro diff --git a/source/gameengine/Expressions/StringValue.h b/source/gameengine/Expressions/StringValue.h index aa4a1a0bb00..e37b4638a1e 100644 --- a/source/gameengine/Expressions/StringValue.h +++ b/source/gameengine/Expressions/StringValue.h @@ -29,7 +29,7 @@ class CStringValue : public CPropValue public: /// Construction / destruction CStringValue(); - CStringValue (const char *txt, const char *name , AllocationTYPE alloctype = CValue::HEAPVALUE); + CStringValue(const char *txt, const char *name, AllocationTYPE alloctype = CValue::HEAPVALUE); virtual ~CStringValue() {} /// CValue implementation diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp index 5bdf2e96e93..5208252ceae 100644 --- a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp +++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp @@ -620,7 +620,7 @@ bool IsPrintable(int keyIndex) * - numerals: KX_ZEROKEY to KX_NINEKEY * - alphas: KX_AKEY to KX_ZKEY. * - specials: KX_RETKEY, KX_PADASTERKEY, KX_PADCOMMAKEY to KX_PERIODKEY, - * KX_TABKEY , KX_SEMICOLONKEY to KX_RIGHTBRACKETKEY, + * KX_TABKEY, KX_SEMICOLONKEY to KX_RIGHTBRACKETKEY, * KX_PAD2 to KX_PADPLUSKEY * - delete and backspace: also printable in the sense that they modify * the string diff --git a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp index ed2fa8a7dc6..749e7748e19 100644 --- a/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp +++ b/source/gameengine/GamePlayer/common/GPC_RenderTools.cpp @@ -205,7 +205,7 @@ void GPC_RenderTools::applyTransform(RAS_IRasterizer* rasty,double* oglmatrix,in //page 360/361 3D Game Engine Design, David Eberly for a discussion // on screen aligned and axis aligned billboards // assumed is that the preprocessor transformed all billboard polygons - // so that their normal points into the positive x direction (1.0 , 0.0 , 0.0) + // so that their normal points into the positive x direction (1.0, 0.0, 0.0) // when new parenting for objects is done, this rotation // will be moved into the object diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp index 26cfc560b6d..025611972ce 100644 --- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp +++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp @@ -475,7 +475,7 @@ int main(int argc, char** argv) { #if defined(DEBUG) - printf("argv[%d] = '%s' , %i\n", i, argv[i],argc); + printf("argv[%d] = '%s', %i\n", i, argv[i],argc); #endif if (argv[i][0] == '-') { diff --git a/source/gameengine/Ketsji/KX_PythonInit.cpp b/source/gameengine/Ketsji/KX_PythonInit.cpp index a7ec1b52bd8..581b3712f97 100644 --- a/source/gameengine/Ketsji/KX_PythonInit.cpp +++ b/source/gameengine/Ketsji/KX_PythonInit.cpp @@ -2282,15 +2282,15 @@ PyObject* initGameKeys() KX_MACRO_addTypesToDict(d, PADPLUSKEY, SCA_IInputDevice::KX_PADPLUSKEY); - KX_MACRO_addTypesToDict(d, F1KEY , SCA_IInputDevice::KX_F1KEY); - KX_MACRO_addTypesToDict(d, F2KEY , SCA_IInputDevice::KX_F2KEY); - KX_MACRO_addTypesToDict(d, F3KEY , SCA_IInputDevice::KX_F3KEY); - KX_MACRO_addTypesToDict(d, F4KEY , SCA_IInputDevice::KX_F4KEY); - KX_MACRO_addTypesToDict(d, F5KEY , SCA_IInputDevice::KX_F5KEY); - KX_MACRO_addTypesToDict(d, F6KEY , SCA_IInputDevice::KX_F6KEY); - KX_MACRO_addTypesToDict(d, F7KEY , SCA_IInputDevice::KX_F7KEY); - KX_MACRO_addTypesToDict(d, F8KEY , SCA_IInputDevice::KX_F8KEY); - KX_MACRO_addTypesToDict(d, F9KEY , SCA_IInputDevice::KX_F9KEY); + KX_MACRO_addTypesToDict(d, F1KEY, SCA_IInputDevice::KX_F1KEY); + KX_MACRO_addTypesToDict(d, F2KEY, SCA_IInputDevice::KX_F2KEY); + KX_MACRO_addTypesToDict(d, F3KEY, SCA_IInputDevice::KX_F3KEY); + KX_MACRO_addTypesToDict(d, F4KEY, SCA_IInputDevice::KX_F4KEY); + KX_MACRO_addTypesToDict(d, F5KEY, SCA_IInputDevice::KX_F5KEY); + KX_MACRO_addTypesToDict(d, F6KEY, SCA_IInputDevice::KX_F6KEY); + KX_MACRO_addTypesToDict(d, F7KEY, SCA_IInputDevice::KX_F7KEY); + KX_MACRO_addTypesToDict(d, F8KEY, SCA_IInputDevice::KX_F8KEY); + KX_MACRO_addTypesToDict(d, F9KEY, SCA_IInputDevice::KX_F9KEY); KX_MACRO_addTypesToDict(d, F10KEY, SCA_IInputDevice::KX_F10KEY); KX_MACRO_addTypesToDict(d, F11KEY, SCA_IInputDevice::KX_F11KEY); KX_MACRO_addTypesToDict(d, F12KEY, SCA_IInputDevice::KX_F12KEY); @@ -2302,9 +2302,9 @@ PyObject* initGameKeys() KX_MACRO_addTypesToDict(d, F18KEY, SCA_IInputDevice::KX_F18KEY); KX_MACRO_addTypesToDict(d, F19KEY, SCA_IInputDevice::KX_F19KEY); - KX_MACRO_addTypesToDict(d, PAUSEKEY, SCA_IInputDevice::KX_PAUSEKEY); + KX_MACRO_addTypesToDict(d, PAUSEKEY, SCA_IInputDevice::KX_PAUSEKEY); KX_MACRO_addTypesToDict(d, INSERTKEY, SCA_IInputDevice::KX_INSERTKEY); - KX_MACRO_addTypesToDict(d, HOMEKEY , SCA_IInputDevice::KX_HOMEKEY); + KX_MACRO_addTypesToDict(d, HOMEKEY, SCA_IInputDevice::KX_HOMEKEY); KX_MACRO_addTypesToDict(d, PAGEUPKEY, SCA_IInputDevice::KX_PAGEUPKEY); KX_MACRO_addTypesToDict(d, PAGEDOWNKEY, SCA_IInputDevice::KX_PAGEDOWNKEY); KX_MACRO_addTypesToDict(d, ENDKEY, SCA_IInputDevice::KX_ENDKEY); |