blender/source/gameengine/Ketsji
Mitchell Stokes ee5284faf6 BGE: Dynamically-allocated action layers
This patch removes the limitations on the number of action layers in the BGE.

BL_ActionManager currently uses a fixed array to keep track of the action layers. This patch replaces the fixed array with a map which allows for dynamic allocation of action layers. Layers (map items) are automatically removed on BL_ActionManager's update function. The maximum number of layers is roughly the value of a short. Backwards functionality is maintained and there are no changes to the Python API.

Task Discussion:
https://developer.blender.org/T39572

Author: Kevin Ednalino

Reviewers: moguri

Differential Revision: https://developer.blender.org/D491
2014-05-07 20:32:50 -07:00
..
KXNetwork clang/cmake - quiet warnings for external libs and reference moto as a system include. 2013-07-15 08:26:16 +00:00
BL_Action.cpp Fix T39928: Blender crash/freeze when game engine is started with animation played directly on camera object with parents. 2014-05-04 15:39:15 -07:00
BL_Action.h Fix T39928: Blender crash/freeze when game engine is started with animation played directly on camera object with parents. 2014-05-04 15:39:15 -07:00
BL_ActionManager.cpp BGE: Dynamically-allocated action layers 2014-05-07 20:32:50 -07:00
BL_ActionManager.h BGE: Dynamically-allocated action layers 2014-05-07 20:32:50 -07:00
BL_BlenderShader.cpp Fix a few compiler warnings reported by clang. 2013-08-18 14:15:51 +00:00
BL_BlenderShader.h Fix a few compiler warnings reported by clang. 2013-08-18 14:15:51 +00:00
BL_Material.cpp add missing gpl headers 2013-07-02 09:47:22 +00:00
BL_Material.h BGE: Adding support for the Cast Only material option. 2014-03-19 23:57:49 -07:00
BL_Shader.cpp add missing gpl headers 2013-07-02 09:47:22 +00:00
BL_Shader.h code cleanup: comment/remove unused defines 2013-05-28 01:15:59 +00:00
BL_Texture.cpp add missing gpl headers 2013-07-02 09:47:22 +00:00
BL_Texture.h
CMakeLists.txt BGE Cleanup: Moving reinstancing physics shapes from KX_ConvertPhysicsObject to PHY_IPhysicsController 2014-04-23 19:39:57 -07:00
KX_ArmatureSensor.cpp style cleanup 2013-03-18 11:44:56 +00:00
KX_ArmatureSensor.h
KX_BlenderMaterial.cpp BGE: Adding support for the Cast Only material option. 2014-03-19 23:57:49 -07:00
KX_BlenderMaterial.h BGE Rasterizer Cleanup: Removing the need to reference KX_BlenderMaterial or KX_PolygonMaterial in RAS_OpenGLRasterizer. 2013-11-04 19:21:32 +00:00
KX_Camera.cpp BGE Rasterizer Cleanup: Cleaning up some includes. 2013-11-04 19:22:10 +00:00
KX_Camera.h Adding a fov attribute to KX_Camera. This attribute converts the field of view value and uses it to set lens. 2013-08-07 05:24:47 +00:00
KX_CameraActuator.cpp BGE: getting rid of a few maybe-uninitialized warnings. 2013-03-23 03:04:02 +00:00
KX_CameraActuator.h
KX_CameraIpoSGController.cpp
KX_CameraIpoSGController.h
KX_CharacterWrapper.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_CharacterWrapper.h BGE: Some various changes to make moving the character physics type easier: 2013-01-30 05:55:17 +00:00
KX_ClientObjectInfo.h
KX_ConstraintActuator.cpp BGE cleanup: KX_GameObject::GetParent() no longer increases the object's refcount. 2014-04-30 18:53:32 -07:00
KX_ConstraintActuator.h
KX_ConstraintWrapper.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_ConstraintWrapper.h
KX_Dome.cpp Code cleanup: Removing KX_KetsjiEngine::m_drawingmode 2014-03-24 20:11:11 -07:00
KX_Dome.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
KX_EmptyObject.cpp
KX_EmptyObject.h
KX_FontObject.cpp Change naming slightly, it conflicts with DrawText function define on 2014-04-30 11:57:12 +03:00
KX_FontObject.h Change naming slightly, it conflicts with DrawText function define on 2014-04-30 11:57:12 +03:00
KX_GameActuator.cpp
KX_GameActuator.h
KX_GameObject.cpp Fix T39928: Blender crash/freeze when game engine is started with animation played directly on camera object with parents. 2014-05-04 15:39:15 -07:00
KX_GameObject.h Fix T39928: Blender crash/freeze when game engine is started with animation played directly on camera object with parents. 2014-05-04 15:39:15 -07:00
KX_IInterpolator.h
KX_IPO_SGController.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_IPO_SGController.h
KX_IpoActuator.cpp
KX_IpoActuator.h
KX_IpoConvert.cpp add PHY headers to cmake's ketsji (else some IDE's won't show) 2013-02-26 23:08:42 +00:00
KX_IpoConvert.h Fix various warnings with clang build, and adjust cmake clang warnings flags 2013-02-26 21:58:06 +00:00
KX_IPOTransform.h
KX_IScalarInterpolator.h
KX_ISceneConverter.h BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing. 2013-11-04 19:21:07 +00:00
KX_ISystem.h
KX_KetsjiEngine.cpp BGE: Multi-threading animation updates and skinning. 2014-04-06 16:30:59 -07:00
KX_KetsjiEngine.h BGE: Multi-threading animation updates and skinning. 2014-04-06 16:30:59 -07:00
KX_Light.cpp BGE code cleanup: Removing an unused include in KX_Light.cpp 2014-03-27 22:44:30 -07:00
KX_Light.h BGE code cleanup: Removing OpenGL and bf_gpu code from KX_LightObject 2014-03-27 22:32:06 -07:00
KX_LightIpoSGController.cpp BGE code cleanup: Removing OpenGL and bf_gpu code from KX_LightObject 2014-03-27 22:32:06 -07:00
KX_LightIpoSGController.h Code cleanup: RAS_ILightObject is class, not a struct. 2014-04-12 20:12:07 +02:00
KX_MaterialIpoController.cpp add missing gpl headers 2013-07-02 09:47:22 +00:00
KX_MaterialIpoController.h
KX_MeshProxy.cpp BGE Cleanup: Moving reinstancing physics shapes from KX_ConvertPhysicsObject to PHY_IPhysicsController 2014-04-23 19:39:57 -07:00
KX_MeshProxy.h style cleanup 2013-03-29 06:21:28 +00:00
KX_MotionState.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_MotionState.h BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_MouseFocusSensor.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_MouseFocusSensor.h
KX_NavMeshObject.cpp BGE Rasterizer Cleanup: Cleaning up some includes. 2013-11-04 19:22:10 +00:00
KX_NavMeshObject.h
KX_NearSensor.cpp Fix T38539: Can't set near sensor distance above 100 via python 2014-02-22 13:57:12 +11:00
KX_NearSensor.h
KX_ObColorIpoSGController.cpp BGE: Object color channels can now be animated separately without zeroing out the other channels. Problem reported by Dalai via IRC. 2013-02-23 01:17:01 +00:00
KX_ObColorIpoSGController.h
KX_ObjectActuator.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_ObjectActuator.h BGE: Some various changes to make moving the character physics type easier: 2013-01-30 05:55:17 +00:00
KX_ObstacleSimulation.cpp fix memory leak in KX_ObstacleSimulation 2013-08-04 17:20:03 +00:00
KX_ObstacleSimulation.h
KX_OrientationInterpolator.cpp
KX_OrientationInterpolator.h
KX_ParentActuator.cpp
KX_ParentActuator.h
KX_PhysicsEngineEnums.h
KX_PolyProxy.cpp BGE Rasterizer Cleanup: Cleaning up some includes. 2013-11-04 19:22:10 +00:00
KX_PolyProxy.h code cleanup: remove unused define, correct header guard mismatch, add NULL check so DM_to_mesh() can have a NULL object passed (currently not used) and remove redundant NULL check. 2013-08-03 23:58:17 +00:00
KX_PositionInterpolator.cpp
KX_PositionInterpolator.h
KX_PyConstraintBinding.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_PyConstraintBinding.h
KX_PyMath.cpp
KX_PyMath.h
KX_PythonInit.cpp Partial fix for T3817: BGE crashing when using LibNew. 2014-02-23 12:44:33 -08:00
KX_PythonInit.h Style cleanup: BGE 2013-12-24 05:44:54 +11:00
KX_PythonInitTypes.cpp BGE Rasterizer Cleanup: Removing the Singletexture material mode. More conversion code will probably be needed. 2013-11-04 19:21:50 +00:00
KX_PythonInitTypes.h
KX_PythonMain.cpp
KX_PythonMain.h Fix T37488: Crash with --debug reading userpref.blend 2013-11-18 18:13:23 +06:00
KX_PythonSeq.cpp python api internals: no need to set the stop-iter exception string. 2013-11-17 15:09:57 +11:00
KX_PythonSeq.h
KX_RadarSensor.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_RadarSensor.h
KX_RayCast.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_RayCast.h BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_RayEventManager.cpp
KX_RayEventManager.h
KX_RaySensor.cpp BGE cleanup: KX_GameObject::GetParent() no longer increases the object's refcount. 2014-04-30 18:53:32 -07:00
KX_RaySensor.h game engine: implement hitMaterial for collision and ray sensors 2014-01-24 02:10:45 -02:00
KX_SCA_AddObjectActuator.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_SCA_AddObjectActuator.h
KX_SCA_DynamicActuator.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_SCA_DynamicActuator.h BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_SCA_EndObjectActuator.cpp
KX_SCA_EndObjectActuator.h
KX_SCA_ReplaceMeshActuator.cpp
KX_SCA_ReplaceMeshActuator.h
KX_ScalarInterpolator.cpp
KX_ScalarInterpolator.h
KX_ScalingInterpolator.cpp
KX_ScalingInterpolator.h
KX_Scene.cpp Fix T39928: Blender crash/freeze when game engine is started with animation played directly on camera object with parents. 2014-05-04 15:39:15 -07:00
KX_Scene.h Game Engine: Level of detail support and tools 2013-12-17 17:03:27 -08:00
KX_SceneActuator.cpp style cleanup: 2013-03-26 07:29:01 +00:00
KX_SceneActuator.h
KX_SG_BoneParentNodeRelationship.cpp
KX_SG_BoneParentNodeRelationship.h
KX_SG_NodeRelationships.cpp
KX_SG_NodeRelationships.h
KX_SoundActuator.cpp Code Cleanup: whitespace / formatting 2013-11-24 15:23:38 +11:00
KX_SoundActuator.h
KX_StateActuator.cpp
KX_StateActuator.h
KX_SteeringActuator.cpp
KX_SteeringActuator.h
KX_TimeCategoryLogger.cpp
KX_TimeCategoryLogger.h
KX_TimeLogger.cpp
KX_TimeLogger.h
KX_TouchEventManager.cpp BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. 2013-11-04 19:22:47 +00:00
KX_TouchEventManager.h BGE cleanup: Removing the unused SCA_EventManager::Replace_PhysicsScene(). 2014-05-01 19:43:07 -07:00
KX_TouchSensor.cpp BGE cleanup: KX_GameObject::GetParent() no longer increases the object's refcount. 2014-04-30 18:53:32 -07:00
KX_TouchSensor.h game engine: implement hitMaterial for collision and ray sensors 2014-01-24 02:10:45 -02:00
KX_TrackToActuator.cpp BGE cleanup: KX_GameObject::GetParent() no longer increases the object's refcount. 2014-04-30 18:53:32 -07:00
KX_TrackToActuator.h
KX_VehicleWrapper.cpp add missing gpl headers 2013-07-02 09:47:22 +00:00
KX_VehicleWrapper.h BGE cleanup: Removing the PHY__Vector classes and replacing them with MT_Vectors. The PHY__Vectors didn't offer anything (not even any real abstraction) and they required annoying MT_Vector <-> PHY_Vector conversions all over the place. No functional changes. 2013-02-21 18:30:11 +00:00
KX_VertexProxy.cpp code cleanup: unused vars, make other vars static. 2013-04-10 22:49:50 +00:00
KX_VertexProxy.h BGE: Some as of yet unmerged work I did in the Swiss branch. These changes include: 2012-12-18 20:56:25 +00:00
KX_VisibilityActuator.cpp
KX_VisibilityActuator.h
KX_WorldInfo.cpp
KX_WorldInfo.h Style cleanup: BGE 2013-12-24 05:44:54 +11:00
KX_WorldIpoController.cpp
KX_WorldIpoController.h
SConscript split bge includes for scons onto their own lines (for easier merging) 2013-05-29 21:56:55 +00:00