Blender Git Commit Log
Git Commits -> Revision 5d64dd0
Revision 5d64dd0 by Campbell Barton (master) April 7, 2009, 11:06 (GMT) |
BGE Python API Use each types dictionary to store attributes PyAttributeDef's so it uses pythons hash lookup (which it was already doing for methods) rather then doing a string lookup on the array each time. This also means attributes can be found in the type without having to do a dir() on the instance. |
Commit Details:
Full Hash: 5d64dd019e7e8150db40505097d1b4048f4e0153
SVN Revision: 19579
Parent Commit: c054ea0
Lines Changed: +639, -812
39 Modified Paths:
/source/gameengine/Converter/BL_ActionActuator.cpp (+1, -8) (Diff)
/source/gameengine/Converter/BL_ShapeActionActuator.cpp (+1, -7) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+483, -466) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+38, -10) (Diff)
/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp (+5, -11) (Diff)
/source/gameengine/GameLogic/SCA_DelaySensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_ILogicBrick.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_JoystickSensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_MouseSensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_PropertyActuator.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_PropertySensor.cpp (+2, -8) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+1, -9) (Diff)
/source/gameengine/GameLogic/SCA_RandomActuator.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_RandomSensor.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp (+0, -6) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+1, -8) (Diff)
/source/gameengine/Ketsji/KX_CDActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_GameActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_IpoActuator.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+0, -4) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_ParentActuator.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+2, -10) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+76, -63) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.cpp (+2, -8) (Diff)
/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+1, -5) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_TouchSensor.cpp (+2, -9) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_VisibilityActuator.cpp (+1, -7) (Diff)
/source/gameengine/Converter/BL_ShapeActionActuator.cpp (+1, -7) (Diff)
/source/gameengine/Expressions/PyObjectPlus.cpp (+483, -466) (Diff)
/source/gameengine/Expressions/PyObjectPlus.h (+38, -10) (Diff)
/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp (+5, -11) (Diff)
/source/gameengine/GameLogic/SCA_DelaySensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_ILogicBrick.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_ISensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_JoystickSensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_MouseSensor.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_PropertyActuator.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_PropertySensor.cpp (+2, -8) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+1, -9) (Diff)
/source/gameengine/GameLogic/SCA_RandomActuator.cpp (+1, -7) (Diff)
/source/gameengine/GameLogic/SCA_RandomSensor.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp (+0, -6) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+1, -8) (Diff)
/source/gameengine/Ketsji/KX_CDActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_GameActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_IpoActuator.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_MeshProxy.cpp (+0, -4) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_ParentActuator.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_PolygonMaterial.cpp (+2, -10) (Diff)
/source/gameengine/Ketsji/KX_PythonInitTypes.cpp (+76, -63) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.cpp (+1, -9) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.cpp (+2, -8) (Diff)
/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_Scene.cpp (+1, -5) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_TouchSensor.cpp (+2, -9) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+1, -7) (Diff)
/source/gameengine/Ketsji/KX_VisibilityActuator.cpp (+1, -7) (Diff)