Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-04-03 08:12:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-04-03 08:12:20 +0400
commitd573e9c5390a438b6e606a12d05dc2c6ad06a174 (patch)
treea921b33b0f399293cf65780d20c361184c13ab1c /source
parent0499d98311c6c9ce1a096ca2ee7bd0e361b5188c (diff)
BGE Python api
Added the method into the PyType so python knows about the methods (its supposed to work this way). This means in the future the api can use PyType_Ready() to store the methods in the types dictionary. Python3 removes Py_FindMethod and we should not be using it anyway since its not that efficient.
Diffstat (limited to 'source')
-rw-r--r--source/gameengine/Converter/BL_ActionActuator.cpp9
-rw-r--r--source/gameengine/Converter/BL_ShapeActionActuator.cpp7
-rw-r--r--source/gameengine/Expressions/ListValue.cpp2
-rw-r--r--source/gameengine/Expressions/PyObjectPlus.cpp9
-rw-r--r--source/gameengine/Expressions/Value.cpp6
-rw-r--r--source/gameengine/GameLogic/SCA_2DFilterActuator.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_ANDController.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_ActuatorSensor.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_AlwaysSensor.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_DelaySensor.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_ILogicBrick.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_IObject.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_ISensor.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_JoystickSensor.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_KeyboardSensor.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_MouseSensor.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_NANDController.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_NORController.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_ORController.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_PropertyActuator.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_PropertySensor.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_PythonController.cpp7
-rw-r--r--source/gameengine/GameLogic/SCA_RandomActuator.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_RandomSensor.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_XNORController.cpp9
-rw-r--r--source/gameengine/GameLogic/SCA_XORController.cpp9
-rw-r--r--source/gameengine/Ketsji/BL_Shader.cpp3
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_BlenderMaterial.cpp3
-rw-r--r--source/gameengine/Ketsji/KX_CDActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_Camera.cpp37
-rw-r--r--source/gameengine/Ketsji/KX_Camera.h5
-rw-r--r--source/gameengine/Ketsji/KX_CameraActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_ConstraintActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_ConstraintWrapper.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_GameActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_GameObject.cpp11
-rw-r--r--source/gameengine/Ketsji/KX_IpoActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_Light.cpp33
-rw-r--r--source/gameengine/Ketsji/KX_Light.h1
-rw-r--r--source/gameengine/Ketsji/KX_MeshProxy.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_MouseFocusSensor.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_NearSensor.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_ObjectActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_ParentActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_PolyProxy.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_PolygonMaterial.cpp5
-rw-r--r--source/gameengine/Ketsji/KX_RadarSensor.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_RaySensor.cpp10
-rw-r--r--source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp13
-rw-r--r--source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp13
-rw-r--r--source/gameengine/Ketsji/KX_Scene.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_SceneActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_SoundActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_StateActuator.cpp12
-rw-r--r--source/gameengine/Ketsji/KX_TouchSensor.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_TrackToActuator.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_VehicleWrapper.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_VertexProxy.cpp9
-rw-r--r--source/gameengine/Ketsji/KX_VisibilityActuator.cpp13
64 files changed, 183 insertions, 407 deletions
diff --git a/source/gameengine/Converter/BL_ActionActuator.cpp b/source/gameengine/Converter/BL_ActionActuator.cpp
index 22c6c95b158..88f75eac1d5 100644
--- a/source/gameengine/Converter/BL_ActionActuator.cpp
+++ b/source/gameengine/Converter/BL_ActionActuator.cpp
@@ -974,13 +974,10 @@ PyTypeObject BL_ActionActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject BL_ActionActuator::Parents[] = {
diff --git a/source/gameengine/Converter/BL_ShapeActionActuator.cpp b/source/gameengine/Converter/BL_ShapeActionActuator.cpp
index 2e02ee9b941..74953a90bb3 100644
--- a/source/gameengine/Converter/BL_ShapeActionActuator.cpp
+++ b/source/gameengine/Converter/BL_ShapeActionActuator.cpp
@@ -431,11 +431,8 @@ PyTypeObject BL_ShapeActionActuator::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject BL_ShapeActionActuator::Parents[] = {
diff --git a/source/gameengine/Expressions/ListValue.cpp b/source/gameengine/Expressions/ListValue.cpp
index 90a939af236..aa84cab0266 100644
--- a/source/gameengine/Expressions/ListValue.cpp
+++ b/source/gameengine/Expressions/ListValue.cpp
@@ -210,6 +210,8 @@ PyTypeObject CListValue::Type = {
&instance_as_mapping, /*tp_as_mapping*/
0, /*tp_hash*/
0, /*tp_call */
+ 0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Expressions/PyObjectPlus.cpp b/source/gameengine/Expressions/PyObjectPlus.cpp
index 494a848be74..417388be464 100644
--- a/source/gameengine/Expressions/PyObjectPlus.cpp
+++ b/source/gameengine/Expressions/PyObjectPlus.cpp
@@ -66,12 +66,9 @@ PyTypeObject PyObjectPlus::Type = {
__getattr, /*tp_getattr*/
__setattr, /*tp_setattr*/
0, /*tp_compare*/
- __repr, /*tp_repr*/
- 0, /*tp_as_number*/
- 0, /*tp_as_sequence*/
- 0, /*tp_as_mapping*/
- 0, /*tp_hash*/
- 0, /*tp_call */
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyObjectPlus::~PyObjectPlus()
diff --git a/source/gameengine/Expressions/Value.cpp b/source/gameengine/Expressions/Value.cpp
index 2ab0a9addee..36509763454 100644
--- a/source/gameengine/Expressions/Value.cpp
+++ b/source/gameengine/Expressions/Value.cpp
@@ -151,10 +151,8 @@ PyTypeObject CValue::Type = {
&MyPyCompare,
__repr,
&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject CValue::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp b/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
index 7bf051f2b5c..0b410728512 100644
--- a/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp
@@ -90,12 +90,9 @@ PyTypeObject SCA_2DFilterActuator::Type = {
__getattr,
__setattr,
0,
- __repr,
- 0,
- 0,
- 0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/GameLogic/SCA_ANDController.cpp b/source/gameengine/GameLogic/SCA_ANDController.cpp
index b67ef7dabaf..de67037b64a 100644
--- a/source/gameengine/GameLogic/SCA_ANDController.cpp
+++ b/source/gameengine/GameLogic/SCA_ANDController.cpp
@@ -116,13 +116,10 @@ PyTypeObject SCA_ANDController::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_ANDController::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp b/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp
index 7f8dbef7758..d5c3e1960fe 100644
--- a/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp
@@ -131,13 +131,10 @@ PyTypeObject SCA_ActuatorSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_ActuatorSensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp b/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
index 154f0ad8cef..e2125b8b08d 100644
--- a/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp
@@ -116,11 +116,8 @@ PyTypeObject SCA_AlwaysSensor::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_AlwaysSensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_DelaySensor.cpp b/source/gameengine/GameLogic/SCA_DelaySensor.cpp
index 31a620b939d..733057017a7 100644
--- a/source/gameengine/GameLogic/SCA_DelaySensor.cpp
+++ b/source/gameengine/GameLogic/SCA_DelaySensor.cpp
@@ -142,11 +142,8 @@ PyTypeObject SCA_DelaySensor::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_DelaySensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_ILogicBrick.cpp b/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
index 49d39f75814..3cefe638726 100644
--- a/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
+++ b/source/gameengine/GameLogic/SCA_ILogicBrick.cpp
@@ -228,11 +228,8 @@ PyTypeObject SCA_ILogicBrick::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/GameLogic/SCA_IObject.cpp b/source/gameengine/GameLogic/SCA_IObject.cpp
index debd62d44e6..976665a3ccd 100644
--- a/source/gameengine/GameLogic/SCA_IObject.cpp
+++ b/source/gameengine/GameLogic/SCA_IObject.cpp
@@ -386,11 +386,8 @@ PyTypeObject SCA_IObject::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/GameLogic/SCA_ISensor.cpp b/source/gameengine/GameLogic/SCA_ISensor.cpp
index e8a072f4c46..0d7dffca17a 100644
--- a/source/gameengine/GameLogic/SCA_ISensor.cpp
+++ b/source/gameengine/GameLogic/SCA_ISensor.cpp
@@ -402,13 +402,10 @@ PyTypeObject SCA_ISensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_ISensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_JoystickSensor.cpp b/source/gameengine/GameLogic/SCA_JoystickSensor.cpp
index c2d90c830cf..6b8779ee37a 100644
--- a/source/gameengine/GameLogic/SCA_JoystickSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_JoystickSensor.cpp
@@ -286,11 +286,8 @@ PyTypeObject SCA_JoystickSensor::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
index 324e5eae98a..bf470daa349 100644
--- a/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp
@@ -789,11 +789,8 @@ PyTypeObject SCA_KeyboardSensor::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_KeyboardSensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_MouseSensor.cpp b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
index 57535b29f32..19365fbbb88 100644
--- a/source/gameengine/GameLogic/SCA_MouseSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_MouseSensor.cpp
@@ -309,13 +309,10 @@ PyTypeObject SCA_MouseSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_MouseSensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_NANDController.cpp b/source/gameengine/GameLogic/SCA_NANDController.cpp
index 18426d75582..2bc6a3ef1d6 100644
--- a/source/gameengine/GameLogic/SCA_NANDController.cpp
+++ b/source/gameengine/GameLogic/SCA_NANDController.cpp
@@ -116,13 +116,10 @@ PyTypeObject SCA_NANDController::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_NANDController::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_NORController.cpp b/source/gameengine/GameLogic/SCA_NORController.cpp
index 1de6a641c3d..98ba77df54c 100644
--- a/source/gameengine/GameLogic/SCA_NORController.cpp
+++ b/source/gameengine/GameLogic/SCA_NORController.cpp
@@ -116,13 +116,10 @@ PyTypeObject SCA_NORController::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_NORController::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_ORController.cpp b/source/gameengine/GameLogic/SCA_ORController.cpp
index 61fbc889d90..ba616402ac9 100644
--- a/source/gameengine/GameLogic/SCA_ORController.cpp
+++ b/source/gameengine/GameLogic/SCA_ORController.cpp
@@ -110,11 +110,8 @@ PyTypeObject SCA_ORController::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_ORController::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_PropertyActuator.cpp b/source/gameengine/GameLogic/SCA_PropertyActuator.cpp
index c9ace081bae..28a3b6b822a 100644
--- a/source/gameengine/GameLogic/SCA_PropertyActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_PropertyActuator.cpp
@@ -227,13 +227,10 @@ PyTypeObject SCA_PropertyActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_PropertyActuator::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_PropertySensor.cpp b/source/gameengine/GameLogic/SCA_PropertySensor.cpp
index d683c8bb3e7..ef3dbe7e049 100644
--- a/source/gameengine/GameLogic/SCA_PropertySensor.cpp
+++ b/source/gameengine/GameLogic/SCA_PropertySensor.cpp
@@ -315,13 +315,10 @@ PyTypeObject SCA_PropertySensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_PropertySensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_PythonController.cpp b/source/gameengine/GameLogic/SCA_PythonController.cpp
index c75e36acab2..4ad3f135d31 100644
--- a/source/gameengine/GameLogic/SCA_PythonController.cpp
+++ b/source/gameengine/GameLogic/SCA_PythonController.cpp
@@ -235,11 +235,8 @@ PyTypeObject SCA_PythonController::Type = {
__setattr,
0, //&MyPyCompare,
__repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
- 0,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_PythonController::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_RandomActuator.cpp b/source/gameengine/GameLogic/SCA_RandomActuator.cpp
index d6c73f21f37..78614f9ace3 100644
--- a/source/gameengine/GameLogic/SCA_RandomActuator.cpp
+++ b/source/gameengine/GameLogic/SCA_RandomActuator.cpp
@@ -321,13 +321,10 @@ PyTypeObject SCA_RandomActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_RandomActuator::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_RandomSensor.cpp b/source/gameengine/GameLogic/SCA_RandomSensor.cpp
index 5354c120f52..d88f8f500c0 100644
--- a/source/gameengine/GameLogic/SCA_RandomSensor.cpp
+++ b/source/gameengine/GameLogic/SCA_RandomSensor.cpp
@@ -136,13 +136,10 @@ PyTypeObject SCA_RandomSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_RandomSensor::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_XNORController.cpp b/source/gameengine/GameLogic/SCA_XNORController.cpp
index b2734dd1b33..a9fe906f54e 100644
--- a/source/gameengine/GameLogic/SCA_XNORController.cpp
+++ b/source/gameengine/GameLogic/SCA_XNORController.cpp
@@ -120,13 +120,10 @@ PyTypeObject SCA_XNORController::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_XNORController::Parents[] = {
diff --git a/source/gameengine/GameLogic/SCA_XORController.cpp b/source/gameengine/GameLogic/SCA_XORController.cpp
index 662ef523d56..b0053ca17fb 100644
--- a/source/gameengine/GameLogic/SCA_XORController.cpp
+++ b/source/gameengine/GameLogic/SCA_XORController.cpp
@@ -120,13 +120,10 @@ PyTypeObject SCA_XORController::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject SCA_XORController::Parents[] = {
diff --git a/source/gameengine/Ketsji/BL_Shader.cpp b/source/gameengine/Ketsji/BL_Shader.cpp
index 60cb288436a..14f672bb68f 100644
--- a/source/gameengine/Ketsji/BL_Shader.cpp
+++ b/source/gameengine/Ketsji/BL_Shader.cpp
@@ -783,7 +783,8 @@ PyTypeObject BL_Shader::Type = {
__setattr,
0,
__repr,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
index fa4fdaee972..0a7e20b8650 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp
@@ -114,13 +114,10 @@ PyTypeObject KX_NetworkMessageActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_NetworkMessageActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
index 40ade460792..d5434a34eb7 100644
--- a/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
+++ b/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp
@@ -177,13 +177,10 @@ PyTypeObject KX_NetworkMessageSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_NetworkMessageSensor::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_BlenderMaterial.cpp b/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
index b9bd7647f89..668873883af 100644
--- a/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
+++ b/source/gameengine/Ketsji/KX_BlenderMaterial.cpp
@@ -764,7 +764,8 @@ PyTypeObject KX_BlenderMaterial::Type = {
__setattr,
0,
__repr,
- 0
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_CDActuator.cpp b/source/gameengine/Ketsji/KX_CDActuator.cpp
index 98f76dbee54..f86a5669225 100644
--- a/source/gameengine/Ketsji/KX_CDActuator.cpp
+++ b/source/gameengine/Ketsji/KX_CDActuator.cpp
@@ -167,13 +167,10 @@ PyTypeObject KX_CDActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_Camera.cpp b/source/gameengine/Ketsji/KX_Camera.cpp
index 5caac2fc670..cb138efba89 100644
--- a/source/gameengine/Ketsji/KX_Camera.cpp
+++ b/source/gameengine/Ketsji/KX_Camera.cpp
@@ -487,33 +487,6 @@ PyAttributeDef KX_Camera::Attributes[] = {
{ NULL } //Sentinel
};
-char KX_Camera::doc[] = "Module KX_Camera\n\n"
-"Constants:\n"
-"\tINSIDE\n"
-"\tINTERSECT\n"
-"\tOUTSIDE\n"
-"Attributes:\n"
-"\tlens -> float\n"
-"\t\tThe camera's lens value\n"
-"\tnear -> float\n"
-"\t\tThe camera's near clip distance\n"
-"\tfar -> float\n"
-"\t\tThe camera's far clip distance\n"
-"\tfrustum_culling -> bool\n"
-"\t\tNon zero if this camera is frustum culling.\n"
-"\tprojection_matrix -> [[float]]\n"
-"\t\tThis camera's projection matrix.\n"
-"\tmodelview_matrix -> [[float]] (read only)\n"
-"\t\tThis camera's model view matrix.\n"
-"\t\tRegenerated every frame from the camera's position and orientation.\n"
-"\tcamera_to_world -> [[float]] (read only)\n"
-"\t\tThis camera's camera to world transform.\n"
-"\t\tRegenerated every frame from the camera's position and orientation.\n"
-"\tworld_to_camera -> [[float]] (read only)\n"
-"\t\tThis camera's world to camera transform.\n"
-"\t\tRegenerated every frame from the camera's position and orientation.\n"
-"\t\tThis is camera_to_world inverted.\n";
-
PyTypeObject KX_Camera::Type = {
PyObject_HEAD_INIT(&PyType_Type)
0,
@@ -524,14 +497,10 @@ PyTypeObject KX_Camera::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0, 0, 0, 0, 0, 0,
- doc
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_Camera::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_Camera.h b/source/gameengine/Ketsji/KX_Camera.h
index efd18f99390..b80be9a7fee 100644
--- a/source/gameengine/Ketsji/KX_Camera.h
+++ b/source/gameengine/Ketsji/KX_Camera.h
@@ -108,11 +108,6 @@ protected:
bool m_set_frustum_center;
/**
- * Python module doc string.
- */
- static char doc[];
-
- /**
* Extracts the camera clip frames from the projection and world-to-camera matrices.
*/
void ExtractClipPlanes();
diff --git a/source/gameengine/Ketsji/KX_CameraActuator.cpp b/source/gameengine/Ketsji/KX_CameraActuator.cpp
index 65f3aea12f9..08afa2853c3 100644
--- a/source/gameengine/Ketsji/KX_CameraActuator.cpp
+++ b/source/gameengine/Ketsji/KX_CameraActuator.cpp
@@ -380,13 +380,10 @@ PyTypeObject KX_CameraActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_CameraActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_ConstraintActuator.cpp b/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
index fba9544d702..31a566f34ad 100644
--- a/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
+++ b/source/gameengine/Ketsji/KX_ConstraintActuator.cpp
@@ -569,13 +569,10 @@ PyTypeObject KX_ConstraintActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_ConstraintActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp b/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
index f014c1896fe..05e677b9fd3 100644
--- a/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
+++ b/source/gameengine/Ketsji/KX_ConstraintWrapper.cpp
@@ -78,13 +78,10 @@ PyTypeObject KX_ConstraintWrapper::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_ConstraintWrapper::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_GameActuator.cpp b/source/gameengine/Ketsji/KX_GameActuator.cpp
index 6799ac7269c..6800c75d807 100644
--- a/source/gameengine/Ketsji/KX_GameActuator.cpp
+++ b/source/gameengine/Ketsji/KX_GameActuator.cpp
@@ -217,13 +217,10 @@ PyTypeObject KX_GameActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_GameObject.cpp b/source/gameengine/Ketsji/KX_GameObject.cpp
index 5c9615c408b..2bd4b2834d1 100644
--- a/source/gameengine/Ketsji/KX_GameObject.cpp
+++ b/source/gameengine/Ketsji/KX_GameObject.cpp
@@ -1189,17 +1189,20 @@ PyTypeObject KX_GameObject::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
+ 0,
__repr,
- 0, //&cvalue_as_number,
0,
- &Mapping,
0,
- 0
+ &Mapping,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
+
+
+
PyParentObject KX_GameObject::Parents[] = {
&KX_GameObject::Type,
&SCA_IObject::Type,
diff --git a/source/gameengine/Ketsji/KX_IpoActuator.cpp b/source/gameengine/Ketsji/KX_IpoActuator.cpp
index f6fdce9de0f..5d1d45879c9 100644
--- a/source/gameengine/Ketsji/KX_IpoActuator.cpp
+++ b/source/gameengine/Ketsji/KX_IpoActuator.cpp
@@ -422,13 +422,10 @@ PyTypeObject KX_IpoActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_IpoActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_Light.cpp b/source/gameengine/Ketsji/KX_Light.cpp
index 487b8f30e0d..f71dd69a7a3 100644
--- a/source/gameengine/Ketsji/KX_Light.cpp
+++ b/source/gameengine/Ketsji/KX_Light.cpp
@@ -306,29 +306,6 @@ PyAttributeDef KX_LightObject::Attributes[] = {
{ NULL } //Sentinel
};
-char KX_LightObject::doc[] = "Module KX_LightObject\n\n"
-"Constants:\n"
-"\tSPOT\n"
-"\tSUN\n"
-"\tNORMAL\n"
-"Attributes:\n"
-"\ttype -> SPOT, SUN or NORMAL\n"
-"\t\tThe type of light.\n"
-"\tlayer -> integer bit field.\n"
-"\t\tThe layers this light applies to.\n"
-"\tenergy -> float.\n"
-"\t\tThe brightness of the light.\n"
-"\tdistance -> float.\n"
-"\t\tThe effect radius of the light.\n"
-"\tcolour -> list [r, g, b].\n"
-"\tcolor -> list [r, g, b].\n"
-"\t\tThe color of the light.\n"
-"\tlin_attenuation -> float.\n"
-"\t\tThe attenuation factor for the light.\n"
-"\tspotsize -> float.\n"
-"\t\tThe size of the spot.\n"
-"\tspotblend -> float.\n"
-"\t\tThe blend? of the spot.\n";
PyTypeObject KX_LightObject::Type = {
PyObject_HEAD_INIT(&PyType_Type)
@@ -340,14 +317,10 @@ PyTypeObject KX_LightObject::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0, 0, 0, 0, 0, 0,
- doc
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_LightObject::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_Light.h b/source/gameengine/Ketsji/KX_Light.h
index 47edd09b5b9..98dcc8ef873 100644
--- a/source/gameengine/Ketsji/KX_Light.h
+++ b/source/gameengine/Ketsji/KX_Light.h
@@ -47,7 +47,6 @@ protected:
class RAS_IRenderTools* m_rendertools; //needed for registering and replication of lightobj
bool m_glsl;
Scene* m_blenderscene;
- static char doc[];
public:
KX_LightObject(void* sgReplicationInfo,SG_Callbacks callbacks,class RAS_IRenderTools* rendertools,const struct RAS_LightObject& lightobj, bool glsl, PyTypeObject *T = &Type);
diff --git a/source/gameengine/Ketsji/KX_MeshProxy.cpp b/source/gameengine/Ketsji/KX_MeshProxy.cpp
index f40c307315e..f349a6b519a 100644
--- a/source/gameengine/Ketsji/KX_MeshProxy.cpp
+++ b/source/gameengine/Ketsji/KX_MeshProxy.cpp
@@ -55,13 +55,10 @@ PyTypeObject KX_MeshProxy::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_MeshProxy::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
index 384034485e7..973dfce505b 100644
--- a/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
+++ b/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp
@@ -302,13 +302,10 @@ PyTypeObject KX_MouseFocusSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_MouseFocusSensor::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_NearSensor.cpp b/source/gameengine/Ketsji/KX_NearSensor.cpp
index 993a6b3d86c..383d673b7ea 100644
--- a/source/gameengine/Ketsji/KX_NearSensor.cpp
+++ b/source/gameengine/Ketsji/KX_NearSensor.cpp
@@ -296,13 +296,10 @@ PyTypeObject KX_NearSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_ObjectActuator.cpp b/source/gameengine/Ketsji/KX_ObjectActuator.cpp
index 0666261b470..ca2157f2bc0 100644
--- a/source/gameengine/Ketsji/KX_ObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_ObjectActuator.cpp
@@ -286,13 +286,10 @@ PyTypeObject KX_ObjectActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_ObjectActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_ParentActuator.cpp b/source/gameengine/Ketsji/KX_ParentActuator.cpp
index 3430fd85184..4c0507cd0bf 100644
--- a/source/gameengine/Ketsji/KX_ParentActuator.cpp
+++ b/source/gameengine/Ketsji/KX_ParentActuator.cpp
@@ -148,13 +148,10 @@ PyTypeObject KX_ParentActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_ParentActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
index 246c63feb21..4c04a96eae2 100644
--- a/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
+++ b/source/gameengine/Ketsji/KX_PhysicsObjectWrapper.cpp
@@ -128,13 +128,10 @@ PyTypeObject KX_PhysicsObjectWrapper::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_PhysicsObjectWrapper::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_PolyProxy.cpp b/source/gameengine/Ketsji/KX_PolyProxy.cpp
index b4bdd77fb66..27fbe8b19f3 100644
--- a/source/gameengine/Ketsji/KX_PolyProxy.cpp
+++ b/source/gameengine/Ketsji/KX_PolyProxy.cpp
@@ -48,13 +48,10 @@ PyTypeObject KX_PolyProxy::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_PolyProxy::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_PolygonMaterial.cpp b/source/gameengine/Ketsji/KX_PolygonMaterial.cpp
index bbaf697b168..9e979144c47 100644
--- a/source/gameengine/Ketsji/KX_PolygonMaterial.cpp
+++ b/source/gameengine/Ketsji/KX_PolygonMaterial.cpp
@@ -194,9 +194,10 @@ PyTypeObject KX_PolygonMaterial::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
+ 0,
__repr,
- 0 //&cvalue_as_number,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_PolygonMaterial::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_RadarSensor.cpp b/source/gameengine/Ketsji/KX_RadarSensor.cpp
index fa8998cd81d..91ad60e8cee 100644
--- a/source/gameengine/Ketsji/KX_RadarSensor.cpp
+++ b/source/gameengine/Ketsji/KX_RadarSensor.cpp
@@ -259,13 +259,10 @@ PyTypeObject KX_RadarSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_RadarSensor::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_RaySensor.cpp b/source/gameengine/Ketsji/KX_RaySensor.cpp
index 253fe11fe05..fdaf48218b3 100644
--- a/source/gameengine/Ketsji/KX_RaySensor.cpp
+++ b/source/gameengine/Ketsji/KX_RaySensor.cpp
@@ -330,13 +330,11 @@ PyTypeObject KX_RaySensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
+
};
PyParentObject KX_RaySensor::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
index 7c4f60a7f0a..33e74d4dc5a 100644
--- a/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp
@@ -176,13 +176,10 @@ PyTypeObject KX_SCA_AddObjectActuator::Type = {
0,
__getattr,
__setattr,
- 0,
- __repr,
- 0,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_SCA_AddObjectActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp b/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp
index 8df3af61721..7dd5301385c 100644
--- a/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp
@@ -50,9 +50,7 @@
PyTypeObject
-KX_SCA_DynamicActuator::
-
-Type = {
+KX_SCA_DynamicActuator::Type = {
PyObject_HEAD_INIT(&PyType_Type)
0,
"KX_SCA_DynamicActuator",
@@ -62,13 +60,10 @@ Type = {
0,
__getattr,
__setattr,
- 0,
- __repr,
- 0,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_SCA_DynamicActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
index 9268a1df5f0..6f0bd65ce43 100644
--- a/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp
@@ -103,13 +103,10 @@ PyTypeObject KX_SCA_EndObjectActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
index 58d6f659135..c892af71159 100644
--- a/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp
@@ -52,9 +52,7 @@
PyTypeObject
-KX_SCA_ReplaceMeshActuator::
-
-Type = {
+KX_SCA_ReplaceMeshActuator::Type = {
PyObject_HEAD_INIT(&PyType_Type)
0,
"KX_SCA_ReplaceMeshActuator",
@@ -64,13 +62,10 @@ Type = {
0,
__getattr,
__setattr,
- 0,
- __repr,
- 0,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_SCA_ReplaceMeshActuator::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_Scene.cpp b/source/gameengine/Ketsji/KX_Scene.cpp
index b24b5cd9693..67f6c567549 100644
--- a/source/gameengine/Ketsji/KX_Scene.cpp
+++ b/source/gameengine/Ketsji/KX_Scene.cpp
@@ -1526,13 +1526,10 @@ PyTypeObject KX_Scene::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0, 0, 0, 0, 0, 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_Scene::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_SceneActuator.cpp b/source/gameengine/Ketsji/KX_SceneActuator.cpp
index 579c53974d5..595d2cb4070 100644
--- a/source/gameengine/Ketsji/KX_SceneActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SceneActuator.cpp
@@ -235,13 +235,10 @@ PyTypeObject KX_SceneActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_SoundActuator.cpp b/source/gameengine/Ketsji/KX_SoundActuator.cpp
index 6de1d67bfdb..f6c0283d49f 100644
--- a/source/gameengine/Ketsji/KX_SoundActuator.cpp
+++ b/source/gameengine/Ketsji/KX_SoundActuator.cpp
@@ -242,13 +242,10 @@ PyTypeObject KX_SoundActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_StateActuator.cpp b/source/gameengine/Ketsji/KX_StateActuator.cpp
index 0de4da79bd8..e48c4209923 100644
--- a/source/gameengine/Ketsji/KX_StateActuator.cpp
+++ b/source/gameengine/Ketsji/KX_StateActuator.cpp
@@ -108,8 +108,7 @@ KX_StateActuator::Update()
/* Integration hooks ------------------------------------------------------- */
-PyTypeObject
-KX_StateActuator::Type = {
+PyTypeObject KX_StateActuator::Type = {
PyObject_HEAD_INIT(&PyType_Type)
0,
"KX_StateActuator",
@@ -119,13 +118,10 @@ KX_StateActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject
diff --git a/source/gameengine/Ketsji/KX_TouchSensor.cpp b/source/gameengine/Ketsji/KX_TouchSensor.cpp
index 705b54edd37..b1c22a86f3d 100644
--- a/source/gameengine/Ketsji/KX_TouchSensor.cpp
+++ b/source/gameengine/Ketsji/KX_TouchSensor.cpp
@@ -251,13 +251,10 @@ PyTypeObject KX_TouchSensor::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_TouchSensor::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_TrackToActuator.cpp b/source/gameengine/Ketsji/KX_TrackToActuator.cpp
index e54528c7bd4..575abc5d748 100644
--- a/source/gameengine/Ketsji/KX_TrackToActuator.cpp
+++ b/source/gameengine/Ketsji/KX_TrackToActuator.cpp
@@ -434,13 +434,10 @@ PyTypeObject KX_TrackToActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
diff --git a/source/gameengine/Ketsji/KX_VehicleWrapper.cpp b/source/gameengine/Ketsji/KX_VehicleWrapper.cpp
index 8d5af1b9216..4960228056a 100644
--- a/source/gameengine/Ketsji/KX_VehicleWrapper.cpp
+++ b/source/gameengine/Ketsji/KX_VehicleWrapper.cpp
@@ -308,13 +308,10 @@ PyTypeObject KX_VehicleWrapper::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_VehicleWrapper::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_VertexProxy.cpp b/source/gameengine/Ketsji/KX_VertexProxy.cpp
index da0e3dbdd8d..d7b5203795d 100644
--- a/source/gameengine/Ketsji/KX_VertexProxy.cpp
+++ b/source/gameengine/Ketsji/KX_VertexProxy.cpp
@@ -46,13 +46,10 @@ PyTypeObject KX_VertexProxy::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
0,
- 0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
};
PyParentObject KX_VertexProxy::Parents[] = {
diff --git a/source/gameengine/Ketsji/KX_VisibilityActuator.cpp b/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
index 6d3c4e79280..10e8c827394 100644
--- a/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
+++ b/source/gameengine/Ketsji/KX_VisibilityActuator.cpp
@@ -90,8 +90,7 @@ KX_VisibilityActuator::Update()
/* Integration hooks ------------------------------------------------------- */
-PyTypeObject
-KX_VisibilityActuator::Type = {
+PyTypeObject KX_VisibilityActuator::Type = {
PyObject_HEAD_INIT(&PyType_Type)
0,
"KX_VisibilityActuator",
@@ -101,13 +100,11 @@ KX_VisibilityActuator::Type = {
0,
__getattr,
__setattr,
- 0, //&MyPyCompare,
- __repr,
- 0, //&cvalue_as_number,
- 0,
- 0,
0,
- 0
+ __repr,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ Methods
+
};
PyParentObject