Subversion Repository Public Repository

Divide-Framework

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

Changeset 116

Committed by k1ngp1n on Mon 04 Jun, 2012 22:27:07 +0000

Commit Message:

[Ionut] [[BR]]
-Removed now useless “BaseCache” class as a simple unordered_map in each manager-type class is all that’s needed [[BR]]
-Moved loading responsibility from each Resource implementation to each "ImplResourceLoader<T>" class (defaults via macro’s are available for convenience) [[BR]]
--Resources now have a “setInitialData” method for setting post-load values [[BR]]
--Also added a loader for Particle Emitters [[BR]]
-Added a new class, “HardwareResource” (for textures, shaders, etc) that needs special loading routines to facilitate future multi-threaded asset streaming [[BR]]
--HardwareResource’s have a “generateHWResource” that should be called after threaded loading routines join with main thread [[BR]]
-Renamed “Guardian” class to “Kernel” as that’s what it’s new responsibility will be in future revisions [[BR]]
-Added the “threadpool” library from here: http://threadpool.sourceforge.net/ (not used yet) [[BR]]
-Added some more macro’s and cleanups [[BR]]

Changes

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

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

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

Added /trunk/Source Code/Libs/includes/threadpool

Added /trunk/Source Code/Libs/includes/threadpool/detail

Added /trunk/Source Code/Libs/includes/threadpool/detail/future.hpp

Added /trunk/Source Code/Libs/includes/threadpool/detail/locking_ptr.hpp

Added /trunk/Source Code/Libs/includes/threadpool/detail/pool_core.hpp

Added /trunk/Source Code/Libs/includes/threadpool/detail/scope_guard.hpp

Added /trunk/Source Code/Libs/includes/threadpool/detail/worker_thread.hpp

Added /trunk/Source Code/Libs/includes/threadpool/future.hpp

Added /trunk/Source Code/Libs/includes/threadpool/pool.hpp

Added /trunk/Source Code/Libs/includes/threadpool/pool_adaptors.hpp

Added /trunk/Source Code/Libs/includes/threadpool/scheduling_policies.hpp

Added /trunk/Source Code/Libs/includes/threadpool/shutdown_policies.hpp

Added /trunk/Source Code/Libs/includes/threadpool/size_policies.hpp

Added /trunk/Source Code/Libs/includes/threadpool/task_adaptors.hpp

Added /trunk/Source Code/Libs/includes/threadpool.hpp

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

Added /trunk/Source Code/Utility/Kernel.cpp

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

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

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

Removed /trunk/Source Code/Utility/Guardian.cpp

Removed /trunk/Source Code/Utility/Headers/Guardian.h

Modified /trunk/Source Code/AI/AIEntity.cpp Diff

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

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

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

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

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

Modified /trunk/Source Code/Core/MemoryManagement/Headers/SmartPointer.h Diff

Modified /trunk/Source Code/Core/MemoryManagement/Headers/TrackedObject.h Diff

Modified /trunk/Source Code/Core/MemoryManagement/TrackedObject.cpp Diff

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Core/Resources/ConcreteLoaders/WaterPlaneLoaderImpl.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/ResourceLoader.h Diff

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

Modified /trunk/Source Code/Core/Resources/ResourceCache.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/Triggers/Headers/Trigger.h Diff

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

Modified /trunk/Source Code/Dynamics/Physics/PhysX/PhysXSceneInterface.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/TerrainChunk.h Diff

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

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Geometry/Importer/DVDConverter.cpp 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/Predefined/Box3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Quad3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Sphere3D.h Diff

Modified /trunk/Source Code/Geometry/Shapes/Headers/Predefined/Text3D.h Diff

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

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

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

Modified /trunk/Source Code/Graphs/Headers/SceneGraphNode.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/Graphs/SceneNode.cpp Diff

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

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

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

Modified /trunk/Source Code/Hardware/Platform/Mutex.h Diff

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

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

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

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

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

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

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

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

Modified /trunk/Source Code/Hardware/Video/OpenGL/glShaderProgram.h 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/ShaderProgram.cpp Diff

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

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

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

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

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

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

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

Modified /trunk/Source Code/Managers/SceneManager.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/Lighting/Headers/Light.h Diff

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

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

Modified /trunk/Source Code/Scenes/AITenisScene/AITenisScene.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/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/PingPongScene.cpp Diff

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

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

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

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

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

Modified /trunk/Source Code/main.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