Subversion Repository Public Repository

Divide-Framework

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

Changeset 114

Committed by k1ngp1n on Sat 02 Jun, 2012 13:03:01 +0000

Commit Message:

[Ionut][[BR]]
-First steps in moving away from a generalized “ResourceManager”: [[BR]]
--Added templated resource loaders (Core\Resources\ConcreteLoaders). Just add a new loader for a new resource type and it’s ready for use [[BR]]
---Next step involves moving loading responsibility from the resource itself to the resource loader that handles it’s creation [[BR]]
--Renamed the ResourceManager to ResourceCache and limited it’s responsibility from general resource operations to a more standard abstract template factory with cache [[BR]]
---Manager base class is renamed to BaseCache as it’s a wrapper for a cache map in essence [[BR]]
---Next step involves adding a ResourceCache per scene (dropping Singleton status) with the possibility of sharing resources between them (to avoid reloading existing resources for a new scene) [[BR]]
-Translated AITenisScene and PingPongScene source code to english [[BR]]

Changes

Added /trunk/Source Code/Core/Resources

Added /trunk/Source Code/Core/Resources/ConcreteLoaders

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Added /trunk/Source Code/Core/Resources/Headers

Added /trunk/Source Code/Core/Resources/Headers/Resource.h

Added /trunk/Source Code/Core/Resources/Headers/ResourceCache.h

Added /trunk/Source Code/Core/Resources/Headers/ResourceDescriptor.h

Added /trunk/Source Code/Core/Resources/Headers/ResourceLoader.h

Added /trunk/Source Code/Core/Resources/Resource.cpp

Added /trunk/Source Code/Core/Resources/ResourceCache.cpp

Added /trunk/Source Code/Hardware/Platform/Mutex.h

Added /trunk/Source Code/Managers/BaseCache.cpp

Added /trunk/Source Code/Managers/Headers/BaseCache.h

Added /trunk/Source Code/core.h

Removed /trunk/Source Code/Core/Headers/BaseClasses.h

Removed /trunk/Source Code/Hardware/Platform/Threading.h

Removed /trunk/Source Code/Managers/Headers/Manager.h

Removed /trunk/Source Code/Managers/Headers/ResourceManager.h

Removed /trunk/Source Code/Managers/Manager.cpp

Removed /trunk/Source Code/Managers/ResourceManager.cpp

Removed /trunk/Source Code/resource.h

Modified /trunk/Source Code/AI/ActionInterface/Headers/Coordination.h Diff

Modified /trunk/Source Code/AI/Headers/AIEntity.h Diff

Modified /trunk/Source Code/AI/PathFinding/Headers/NavigationMesh.h Diff

Modified /trunk/Source Code/AI/PathFinding/Headers/NavigationPath.h Diff

Modified /trunk/Source Code/AI/PathFinding/Headers/Waypoint.h Diff

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

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

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

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

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

Modified /trunk/Source Code/Core/Math/Headers/Quaternion.h Diff

Modified /trunk/Source Code/Core/Math/Headers/Ray.h Diff

Modified /trunk/Source Code/Dynamics/Entities/Headers/Impostor.h Diff

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

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

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

Modified /trunk/Source Code/Dynamics/Entities/Triggers/Headers/Trigger.h Diff

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

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

Modified /trunk/Source Code/Dynamics/WeaponSystem/Ammunition/Headers/Ammunition.h Diff

Modified /trunk/Source Code/Dynamics/WeaponSystem/Projectile/Headers/Projectile.h Diff

Modified /trunk/Source Code/Dynamics/WeaponSystem/Weapons/Headers/Weapon.h Diff

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

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

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

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Geometry/Importer/Headers/DVDConverter.h Diff

Modified /trunk/Source Code/Geometry/Material/Headers/Material.h Diff

Modified /trunk/Source Code/Geometry/Material/Material.cpp 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/Headers/SubMesh.h Diff

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

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

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

Modified /trunk/Source Code/Hardware/Audio/AudioDescriptor.h Diff

Modified /trunk/Source Code/Hardware/Input/EventHandler.h Diff

Modified /trunk/Source Code/Hardware/Input/InputVariables.h Diff

Modified /trunk/Source Code/Hardware/Network/ASIO.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/DXWrapper.h Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/d3dFrameBufferObject.cpp Diff

Modified /trunk/Source Code/Hardware/Video/Direct3D/d3dTexture.h Diff

Modified /trunk/Source Code/Hardware/Video/FrameBufferObject.h Diff

Modified /trunk/Source Code/Hardware/Video/OpenGL/GLWrapper.h Diff

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

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

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

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

Modified /trunk/Source Code/Hardware/Video/OpenGL/glTexture.h Diff

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

Modified /trunk/Source Code/Hardware/Video/Shader.h Diff

Modified /trunk/Source Code/Hardware/Video/ShaderGenerator.h Diff

Modified /trunk/Source Code/Hardware/Video/ShaderProgram.h Diff

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

Modified /trunk/Source Code/Hardware/Video/VertexBufferObject.h Diff

Modified /trunk/Source Code/Libs/includes/networking/ASIO.h Diff

Modified /trunk/Source Code/Libs/includes/networking/ByteConverter.h Diff

Modified /trunk/Source Code/Libs/includes/networking/Client.h Diff

Modified /trunk/Source Code/Managers/Headers/AIManager.h Diff

Modified /trunk/Source Code/Managers/Headers/CameraManager.h Diff

Modified /trunk/Source Code/Managers/Headers/FrameListenerManager.h Diff

Modified /trunk/Source Code/Managers/Headers/LightManager.h Diff

Modified /trunk/Source Code/Managers/Headers/SceneManager.h Diff

Modified /trunk/Source Code/Managers/Headers/ShaderManager.h Diff

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

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

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

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

Modified /trunk/Source Code/Rendering/Headers/FrameListener.h Diff

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

Modified /trunk/Source Code/Rendering/PostFX/CustomOperators/BloomPreRenderOperator.cpp Diff

Modified /trunk/Source Code/Rendering/PostFX/CustomOperators/SSAOPreRenderOperator.cpp Diff

Modified /trunk/Source Code/Rendering/PostFX/Headers/PostFX.h Diff

Modified /trunk/Source Code/Rendering/PostFX/Headers/PreRenderOperator.h Diff

Modified /trunk/Source Code/Rendering/PostFX/Headers/PreRenderStage.h Diff

Modified /trunk/Source Code/Rendering/PostFX/Headers/PreRenderStageBuilder.h Diff

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

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

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

Modified /trunk/Source Code/Scenes/AITenisScene/AITenisSceneAIActionList.cpp Diff

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

Modified /trunk/Source Code/Scenes/AITenisScene/Headers/AITenisSceneAIActionList.h Diff

Modified /trunk/Source Code/Scenes/Headers/Scene.h 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/WarScene/WarSceneAIActionList.cpp Diff

Modified /trunk/Source Code/Utility/Guardian.cpp Diff

Modified /trunk/Source Code/Utility/Headers/CRC.h Diff

Modified /trunk/Source Code/Utility/Headers/Event.h Diff

Modified /trunk/Source Code/Utility/Headers/Guardian.h Diff

Modified /trunk/Source Code/Utility/Headers/ImageTools.h Diff

Modified /trunk/Source Code/Utility/ImageTools.cpp Diff

Modified /trunk/VCData/Divide VS2008.suo Diff

Modified /trunk/VCData/Divide VS2010.suo Diff

Modified /trunk/VCData/VisualStudioProjects/DIVIDE.vcproj Diff

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

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