Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Changeset 438

Committed by IonutCava on Fri 15 May, 2015 15:46:43 +0000

Commit Message:

[Ionut]
- SceneGraphNodes are now stored as shared pointers and Units/AI entities reference them with std::weak_ptr
— ToDo: Make constructor/destructor private again. (made public as a temporary hack to make it work with std::shared_ptr)
- SceneGraphNode’s children map is now read/updated with proper locking mechanism to avoid threading issues (e.g. AI tries to delete a node and rendering thread tries to read material data from it at the same time)
- GL_API does not need to store the previous shader program, just the previous shader program handle.
— Previous responsibilities shifted to glShaderProgram

Changes

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/DetourTileCache/Headers/DivideTileCache.h Diff

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/Headers/NavMesh.h Diff

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/Headers/NavMeshLoader.h Diff

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/NavMesh.cpp Diff

Modified /trunk/Source Code/AI/PathFinding/NavMeshes/NavMeshLoader.cpp Diff

Modified /trunk/Source Code/AI/Sensors/Headers/VisualSensor.h Diff

Modified /trunk/Source Code/AI/Sensors/VisualSensor.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Particles/ParticleEmitter.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Triggers/Trigger.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Character.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Headers/Character.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Headers/NPC.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Headers/Player.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Headers/Unit.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Headers/Vehicle.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/NPC.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Player.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Unit.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Units/Vehicle.cpp Diff

Modified /trunk/Source Code/Environment/Sky/Sky.cpp Diff

Modified /trunk/Source Code/Environment/Terrain/Headers/Terrain.h Diff

Modified /trunk/Source Code/Environment/Terrain/Terrain.cpp Diff

Modified /trunk/Source Code/Environment/Vegetation/Vegetation.cpp Diff

Modified /trunk/Source Code/Environment/Water/Water.cpp Diff

Modified /trunk/Source Code/GUI/GUIConsoleCommandParser.cpp Diff

Modified /trunk/Source Code/GUI/GUIEditor/GUIEditor.cpp Diff

Modified /trunk/Source Code/GUI/GUIEditor/Headers/GUIEditor.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Mesh.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Object3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Mesh.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/Object3D.cpp Diff

Modified /trunk/Source Code/Graphs/Components/AnimationComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Components/Headers/AnimationComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/Headers/NavigationComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/Headers/PhysicsComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/Headers/RenderingComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/Headers/SGNComponent.h Diff

Modified /trunk/Source Code/Graphs/Components/NavigationComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Components/PhysicsComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Components/RenderingComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Components/SGNComponent.cpp Diff

Modified /trunk/Source Code/Graphs/Headers/SceneGraph.h Diff

Modified /trunk/Source Code/Graphs/Headers/SceneGraphNode.h Diff

Modified /trunk/Source Code/Graphs/Headers/SpatialGraph.h Diff

Modified /trunk/Source Code/Graphs/SceneGraph.cpp Diff

Modified /trunk/Source Code/Graphs/SceneGraphNode.cpp Diff

Modified /trunk/Source Code/Graphs/SceneNode.cpp Diff

Modified /trunk/Source Code/Managers/SceneManager.cpp Diff

Modified /trunk/Source Code/Physics/Headers/PhysicsAPIWrapper.h Diff

Modified /trunk/Source Code/Physics/PhysX/PhysX.cpp Diff

Modified /trunk/Source Code/Physics/PhysX/PhysXSceneInterface.cpp Diff

Modified /trunk/Source Code/Platform/DataTypes/Headers/PlatformDefines.h Diff

Modified /trunk/Source Code/Platform/Video/Direct3D/Shaders/Headers/d3dShaderProgram.h Diff

Modified /trunk/Source Code/Platform/Video/GFXDeviceDraw.cpp Diff

Modified /trunk/Source Code/Platform/Video/GFXDeviceState.cpp Diff

Modified /trunk/Source Code/Platform/Video/Headers/GFXDevice.h Diff

Modified /trunk/Source Code/Platform/Video/Headers/RenderStateBlock.h Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/GLStates.cpp Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/GLWrapper.cpp Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Headers/GLWrapper.h Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Shaders/Headers/glShaderProgram.h Diff

Modified /trunk/Source Code/Platform/Video/OpenGL/Shaders/glShaderProgram.cpp Diff

Modified /trunk/Source Code/Platform/Video/RenderStateBlock.cpp Diff

Modified /trunk/Source Code/Platform/Video/Shaders/Headers/ShaderManager.h Diff

Modified /trunk/Source Code/Platform/Video/Shaders/Headers/ShaderProgram.h Diff

Modified /trunk/Source Code/Platform/Video/Shaders/ShaderManager.cpp Diff

Modified /trunk/Source Code/Platform/Video/Shaders/ShaderProgram.cpp Diff

Modified /trunk/Source Code/Rendering/Camera/Headers/OrbitCamera.h Diff

Modified /trunk/Source Code/Rendering/Camera/OrbitCamera.cpp Diff

Modified /trunk/Source Code/Rendering/Lighting/Headers/Light.h Diff

Modified /trunk/Source Code/Rendering/Lighting/Light.cpp Diff

Modified /trunk/Source Code/Rendering/RenderPass/Headers/RenderPassCuller.h Diff

Modified /trunk/Source Code/Rendering/RenderPass/RenderBin.cpp Diff

Modified /trunk/Source Code/Rendering/RenderPass/RenderPass.cpp Diff

Modified /trunk/Source Code/Rendering/RenderPass/RenderPassCuller.cpp Diff

Modified /trunk/Source Code/Rendering/RenderPass/RenderQueue.cpp Diff

Modified /trunk/Source Code/Scenes/CubeScene/CubeScene.cpp Diff

Modified /trunk/Source Code/Scenes/FlashScene/FlashScene.cpp Diff

Modified /trunk/Source Code/Scenes/Headers/Scene.h Diff

Modified /trunk/Source Code/Scenes/MainScene/Headers/MainScene.h Diff

Modified /trunk/Source Code/Scenes/MainScene/MainScene.cpp Diff

Modified /trunk/Source Code/Scenes/NetworkScene/NetworkScene.cpp Diff

Modified /trunk/Source Code/Scenes/PhysXScene/PhysXScene.cpp Diff

Modified /trunk/Source Code/Scenes/PingPongScene/Headers/PingPongScene.h Diff

Modified /trunk/Source Code/Scenes/PingPongScene/PingPongScene.cpp Diff

Modified /trunk/Source Code/Scenes/Scene.cpp Diff

Modified /trunk/Source Code/Scenes/TenisScene/Headers/TenisScene.h Diff

Modified /trunk/Source Code/Scenes/TenisScene/Headers/TenisSceneAISceneImpl.h Diff

Modified /trunk/Source Code/Scenes/TenisScene/TenisScene.cpp Diff

Modified /trunk/Source Code/Scenes/TenisScene/TenisSceneAISceneImpl.cpp Diff

Modified /trunk/Source Code/Scenes/WarScene/Headers/WarScene.h Diff

Modified /trunk/Source Code/Scenes/WarScene/Headers/WarSceneAISceneImpl.h Diff

Modified /trunk/Source Code/Scenes/WarScene/WarScene.cpp Diff

Modified /trunk/Source Code/Scenes/WarScene/WarSceneAI.cpp Diff

Modified /trunk/Source Code/Scenes/WarScene/WarSceneAISceneImpl.cpp Diff