blender/source/gameengine/Ketsji
Campbell Barton 6b9f3b5f5c BGE Python API
Remove the last of the odd C++/python wrapper code from http://www.python.org/doc/PyCPP.html (~1998)

* Use python subclasses rather then having fake subclassing through get/set attributes calling parent types.
* PyObject getset arrays are created while initializing the types, converted from our own attribute arrays. This way python deals with subclasses and we dont have to define getattro or setattro functions for each type.
* GameObjects and Scenes no longer have attribute access to properties. only dictionary style access - ob['prop']
* remove each class's get/set/dir functions.
* remove isA() methods, can use PyObject_TypeCheck() in C and issubclass() in python.
* remove Parents[] array for each C++ class, was only used for isA() and wasnt correct in quite a few cases.
* remove PyTypeObject that was being passed as the last argument to each class (the parent classes too).

TODO -
* Light and VertexProxy need to be converted to using attributes.
* memory for getset arrays is never freed, not that bad since its will only allocates once.
2009-06-28 11:22:26 +00:00
..
KXNetwork BGE Python API 2009-06-28 11:22:26 +00:00
BL_BlenderShader.cpp 2.50: 2009-06-08 20:08:19 +00:00
BL_BlenderShader.h 2.50: 2009-06-08 20:08:19 +00:00
BL_Material.cpp 2.50: 2009-06-08 20:08:19 +00:00
BL_Material.h 2.50: 2009-06-08 20:08:19 +00:00
BL_Shader.cpp BGE Python API 2009-06-28 11:22:26 +00:00
BL_Shader.h BGE Python API 2009-06-28 11:22:26 +00:00
BL_Texture.cpp BGE Python API 2009-02-19 13:42:07 +00:00
BL_Texture.h Preparation to VideoTexture: everything but the VideoTexture module itself. 2008-10-31 21:06:48 +00:00
CMakeLists.txt 2.5 2009-06-18 19:25:58 +00:00
KX_BlenderMaterial.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_BlenderMaterial.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_BulletPhysicsController.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_BulletPhysicsController.h 2.50: 2009-06-08 20:08:19 +00:00
KX_Camera.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_Camera.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_CameraActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_CameraActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_CameraIpoSGController.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_CameraIpoSGController.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_CDActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_CDActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_ClientObjectInfo.h Spring Cleaning 2009-06-21 16:18:38 +00:00
KX_ConstraintActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_ConstraintActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_ConstraintWrapper.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_ConstraintWrapper.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_ConvertPhysicsObject.h Spring Cleaning 2009-06-21 16:18:38 +00:00
KX_ConvertPhysicsObjects.cpp Spring Cleaning 2009-06-21 16:18:38 +00:00
KX_Dome.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_Dome.h 2.50: 2009-06-08 20:08:19 +00:00
KX_EmptyObject.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_EmptyObject.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_GameActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_GameActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_GameObject.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_GameObject.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_IInterpolator.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_IPhysicsController.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_IPhysicsController.h 2.50: 2009-06-08 20:08:19 +00:00
KX_IPO_SGController.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_IPO_SGController.h BGE bug #17657 fixed: dRotY doesn't work properly after 90 degrees rotation. 2008-09-23 20:07:15 +00:00
KX_IpoActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_IpoActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_IPOTransform.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_IScalarInterpolator.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ISceneConverter.h Merge of first part of changes from the apricot branch, especially 2008-09-04 20:51:28 +00:00
KX_ISystem.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_KetsjiEngine.cpp BGE Fix for no redrawing. 2009-06-28 02:37:07 +00:00
KX_KetsjiEngine.h fix for bug #18898: GE perspective 3D View not working properly (missing LENS) 2009-06-09 22:56:43 +00:00
KX_Light.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_Light.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_LightIpoSGController.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_LightIpoSGController.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_MaterialIpoController.cpp Win64: please check my changes if you ran across them ;) But should be fine since no additional crashes were reported! 2008-08-17 17:08:00 +00:00
KX_MaterialIpoController.h BGE patch: approve patch #17312: Multiple material IPOs per mesh in BGE. 2008-07-25 13:45:57 +00:00
KX_MeshProxy.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_MeshProxy.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_MotionState.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_MotionState.h 2.50: 2009-06-08 20:08:19 +00:00
KX_MouseFocusSensor.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_MouseFocusSensor.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_NearSensor.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_NearSensor.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_ObColorIpoSGController.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ObColorIpoSGController.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ObjectActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_ObjectActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_OrientationInterpolator.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_OrientationInterpolator.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ParentActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_ParentActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_PhysicsEngineEnums.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_PhysicsObjectWrapper.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_PhysicsObjectWrapper.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_PhysicsPropertiesobsolete.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_PolygonMaterial.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_PolygonMaterial.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_PolyProxy.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_PolyProxy.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_PositionInterpolator.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_PositionInterpolator.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_PyConstraintBinding.cpp BGE Py API 2009-06-16 07:16:51 +00:00
KX_PyConstraintBinding.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_PyMath.cpp Made Mathutils use radians rather then degrees. defining USE_MATHUTILS_DEG for testing existing scripts. 2009-06-25 20:47:41 +00:00
KX_PyMath.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_PythonInit.cpp Some generic modules from blender 2.4x building with py3k and mostly working. 2009-06-17 20:33:34 +00:00
KX_PythonInit.h 2.50: 2009-06-08 20:08:19 +00:00
KX_PythonInitTypes.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_PythonInitTypes.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
KX_PythonSeq.cpp KX_PythonSeq (used for a number of BGE sequence types) 2009-06-16 08:52:04 +00:00
KX_PythonSeq.h 2.50: 2009-06-08 20:08:19 +00:00
KX_RadarSensor.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_RadarSensor.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_RayCast.cpp 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
KX_RayCast.h BGE patch: KX_GameObject::rayCast() improvements to have X-Ray option, return true face normal and hit polygon information. 2008-08-27 19:34:19 +00:00
KX_RayEventManager.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_RayEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
KX_RaySensor.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_RaySensor.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_AddObjectActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_AddObjectActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_DynamicActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_DynamicActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_EndObjectActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_EndObjectActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_ReplaceMeshActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_SCA_ReplaceMeshActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_ScalarInterpolator.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ScalarInterpolator.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ScalingInterpolator.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_ScalingInterpolator.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_Scene.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_Scene.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_SceneActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_SceneActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_SG_BoneParentNodeRelationship.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_SG_BoneParentNodeRelationship.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
KX_SG_NodeRelationships.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_SG_NodeRelationships.h 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
KX_SoundActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_SoundActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_StateActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_StateActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_TimeCategoryLogger.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_TimeCategoryLogger.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_TimeLogger.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_TimeLogger.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_TouchEventManager.cpp 2.50: 2009-06-08 20:08:19 +00:00
KX_TouchEventManager.h BGE patch: logic optimization part 2: remove inactive sensors from logic manager. 2008-07-30 17:41:47 +00:00
KX_TouchSensor.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_TouchSensor.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_TrackToActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_TrackToActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_VehicleWrapper.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_VehicleWrapper.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_VertexProxy.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_VertexProxy.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_VisibilityActuator.cpp BGE Python API 2009-06-28 11:22:26 +00:00
KX_VisibilityActuator.h BGE Python API 2009-06-28 11:22:26 +00:00
KX_WorldInfo.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_WorldInfo.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_WorldIpoController.cpp Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
KX_WorldIpoController.h Patch from GSR that a) fixes a whole bunch of GPL/BL license 2008-04-16 22:40:48 +00:00
Makefile 2.5 2009-06-23 17:06:46 +00:00
SConscript Spring Cleaning 2009-06-21 16:18:38 +00:00