Subversion Repository Public Repository

Divide-Framework

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

Changeset 324

Committed by IonutCava on Sun 14 Sep, 2014 14:01:39 +0000

Commit Message:

[Ionut]
- New memory management system (no custom allocators in this commit)
— Memory tracer to detect memory leaks on shutdown (from: https://www.relisoft.com/book/tech/9new.html)
— SAFE_DELETE_XYZ are now inline template functions not macros
— ASSERTION system now supports logging and message boxes and continue on error configurable for each build type
— Fixed a lot of memory leaks detected by the new system (some still remain)

- Added SRGB support (part 1)
— Albedo textures are loaded as SRGB (make sure resources are SRGB)
— Shaders output gamma corrected colors
— Moved terrain textures back to 2 array system (albedo and normal maps, albedo maps using a SRGB sampler)

- Sky is now loaded via the ResourceCache system
- Added include safeguards in shader atoms

Changes

Added /trunk/Source Code/Core/Resources/ConcreteLoaders/SkyLoaderImpl.cpp

Added /trunk/Source Code/Hardware/Platform/PlatformDefines.cpp

Added /trunk/Source Code/Utility/Headers/MemoryTracker.h

Modified /trunk/Divide-Client.exe Diff

Modified /trunk/Divide-Server.exe Diff

Modified /trunk/Source Code/AI/PathFinding/DivideRecast.cpp Diff

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

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

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

Modified /trunk/Source Code/Core/Application.cpp Diff

Modified /trunk/Source Code/Core/Console.cpp Diff

Modified /trunk/Source Code/Core/Headers/Application.h Diff

Modified /trunk/Source Code/Core/Headers/ApplicationTimer.h Diff

Modified /trunk/Source Code/Core/Headers/Singleton.h Diff

Modified /trunk/Source Code/Core/Math/BoundingVolumes/Headers/BoundingBox.h Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/ParticleEmitterLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/TextureLoaderImpl.cpp Diff

Modified /trunk/Source Code/Core/Resources/Headers/Resource.h Diff

Modified /trunk/Source Code/Core/Resources/Headers/ResourceCache.h Diff

Modified /trunk/Source Code/Core/Resources/Headers/ResourceDescriptor.h Diff

Modified /trunk/Source Code/Core/Resources/Resource.cpp Diff

Modified /trunk/Source Code/Core/Resources/ResourceCache.cpp Diff

Modified /trunk/Source Code/Core/Resources/ResourceDescriptor.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Impostor.cpp Diff

Modified /trunk/Source Code/Dynamics/Entities/Particles/Headers/ParticleEmitter.h Diff

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

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

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

Modified /trunk/Source Code/Dynamics/Physics/Headers/PhysicsSceneInterface.h Diff

Modified /trunk/Source Code/Dynamics/Physics/PhysX/Headers/PhysX.h Diff

Modified /trunk/Source Code/Dynamics/Physics/PhysX/Headers/PhysXSceneInterface.h Diff

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

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

Modified /trunk/Source Code/Dynamics/Physics/PhysicsAPIWrapper.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/Headers/TerrainLoader.h Diff

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

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

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

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

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

Modified /trunk/Source Code/Geometry/Animations/AnimationController.cpp Diff

Modified /trunk/Source Code/Geometry/Animations/AnimationControllerFileIO.cpp Diff

Modified /trunk/Source Code/Geometry/Animations/Headers/Bone.h Diff

Modified /trunk/Source Code/Geometry/Importer/DVDConverter.cpp Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Object3D.h 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/PhysicsComponent.h Diff

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

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

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

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

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

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

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

Modified /trunk/Source Code/Hardware/Input/EffectManager.cpp Diff

Modified /trunk/Source Code/Hardware/Input/InputInterface.cpp Diff

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

Modified /trunk/Source Code/Hardware/Video/Buffers/FrameBuffer/FrameBuffer.cpp Diff

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

Modified /trunk/Source Code/Hardware/Video/Headers/RenderAPIEnums.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/FrameBuffer/glFrameBuffer.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/Buffers/VertexBuffer/glGenericVertexData.cpp Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/glResources.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Textures/Headers/Texture.h Diff

Modified /trunk/Source Code/Hardware/Video/Textures/Headers/TextureDescriptor.h Diff

Modified /trunk/Source Code/Hardware/Video/Textures/Texture.cpp Diff

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

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

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

Modified /trunk/Source Code/config.h Diff

Modified /trunk/VCData/VisualStudioProjects/DIVIDE_VS2013.vcxproj Diff

Modified /trunk/VCData/VisualStudioProjects/DIVIDE_VS2013.vcxproj.filters Diff

Modified /trunk/VCData/VisualStudioProjects/Divide-Hardware.vcxproj Diff

Modified /trunk/VCData/VisualStudioProjects/Divide-Hardware.vcxproj.filters Diff

Modified /trunk/assets/shaders/GLSL/ImmediateModeEmulation.glsl Diff

Modified /trunk/assets/shaders/GLSL/common/lightInput.cmn Diff

Modified /trunk/assets/shaders/GLSL/common/nodeBufferedInput.cmn Diff

Modified /trunk/assets/shaders/GLSL/common/nodeDataInput.cmn Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/bumpMapping.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/lightingDefaults.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/phong_light_loop.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/phong_lighting.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadowMapping.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_directional.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_point.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/shadow_spot.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/terrainSplatting.frag Diff

Modified /trunk/assets/shaders/GLSL/fragmentAtoms/texturing.frag Diff

Modified /trunk/assets/shaders/GLSL/geometryAtoms/inOut.geom Diff

Modified /trunk/assets/shaders/GLSL/lighting.glsl Diff

Modified /trunk/assets/shaders/GLSL/sky.glsl Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/boneTransforms.vert Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/foliage.vert Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/lightingDefaults.vert Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/vbInputData.vert Diff

Modified /trunk/assets/shaders/GLSL/vertexAtoms/vertexDefault.vert Diff