WIP adding directory structure

This commit is contained in:
2024-08-17 23:12:20 -07:00
parent 862ffeeaa0
commit 7e4fc361d4
34 changed files with 46 additions and 46 deletions

View File

@@ -7,20 +7,37 @@ set(KRAKEN_PRIVATE_HEADERS "${KRAKEN_PRIVATE_HEADERS}" PARENT_SCOPE)
add_sources(kraken.cpp) add_sources(kraken.cpp)
add_private_headers(KREngine-common.h) add_private_headers(KREngine-common.h)
add_source_and_header(KRAmbientZone) add_source_and_header(KRAmbientZone)
add_sources(resources/KRResource+blend.cpp)
# add_source(resources/KRResource+fbx.cpp) # TODO - Locate FBX SDK dependencies
add_sources(resources/KRResource+obj.cpp)
add_private_headers(resources/KRResource.h)
add_source_and_header(resources/KRResource)
add_source_and_header(resources/KRResourceManager)
add_source_and_header(resources/animation/KRAnimation) add_source_and_header(resources/animation/KRAnimation)
add_source_and_header(resources/animation/KRAnimationAttribute) add_source_and_header(resources/animation/KRAnimationAttribute)
add_source_and_header(resources/animation/KRAnimationLayer) add_source_and_header(resources/animation/KRAnimationLayer)
add_source_and_header(resources/animation/KRAnimationManager) add_source_and_header(resources/animation/KRAnimationManager)
add_source_and_header(resources/animation_curve/KRAnimationCurve) add_source_and_header(resources/animation_curve/KRAnimationCurve)
add_source_and_header(resources/animation_curve/KRAnimationCurveManager) add_source_and_header(resources/animation_curve/KRAnimationCurveManager)
add_source_and_header(resources/audio/KRAudioManager)
add_source_and_header(resources/audio/KRAudioSample)
add_source_and_header(resources/bundle/KRBundle)
add_source_and_header(resources/bundle/KRBundleManager)
add_source_and_header(resources/material/KRMaterial)
add_source_and_header(resources/material/KRMaterialManager)
add_source_and_header(resources/mesh/KRMesh)
add_source_and_header(resources/mesh/KRMeshCube)
add_source_and_header(resources/mesh/KRMeshManager)
add_source_and_header(resources/mesh/KRMeshQuad)
add_source_and_header(resources/mesh/KRMeshSphere)
add_source_and_header(resources/source/KRSource)
add_source_and_header(resources/source/KRSourceManager)
add_source_and_header(resources/unknown/KRUnknown)
add_source_and_header(resources/unknown/KRUnknownManager)
add_source_and_header(KRAudioBuffer) add_source_and_header(KRAudioBuffer)
add_source_and_header(KRAudioManager)
add_source_and_header(KRAudioSample)
add_source_and_header(KRAudioSource) add_source_and_header(KRAudioSource)
add_source_and_header(KRBehavior) add_source_and_header(KRBehavior)
add_source_and_header(KRBone) add_source_and_header(KRBone)
add_source_and_header(resources/bundle/KRBundle)
add_source_and_header(resources/bundle/KRBundleManager)
add_source_and_header(KRCamera) add_source_and_header(KRCamera)
add_source_and_header(KRCollider) add_source_and_header(KRCollider)
add_source_and_header(KRContext) add_source_and_header(KRContext)
@@ -40,13 +57,6 @@ add_source_and_header(KRLight)
add_source_and_header(KRLocator) add_source_and_header(KRLocator)
add_source_and_header(KRLODGroup) add_source_and_header(KRLODGroup)
add_source_and_header(KRLODSet) add_source_and_header(KRLODSet)
add_source_and_header(resources/material/KRMaterial)
add_source_and_header(resources/material/KRMaterialManager)
add_source_and_header(KRMesh)
add_source_and_header(KRMeshCube)
add_source_and_header(KRMeshManager)
add_source_and_header(KRMeshQuad)
add_source_and_header(KRMeshSphere)
add_source_and_header(KRModel) add_source_and_header(KRModel)
add_source_and_header(KRNode) add_source_and_header(KRNode)
add_source_and_header(KROctree) add_source_and_header(KROctree)
@@ -58,19 +68,11 @@ add_source_and_header(KRPresentationThread)
add_source_and_header(KRRenderGraph) add_source_and_header(KRRenderGraph)
add_source_and_header(KRRenderGraphBlackFrame) add_source_and_header(KRRenderGraphBlackFrame)
add_source_and_header(KRRenderSettings) add_source_and_header(KRRenderSettings)
add_sources(resources/KRResource+blend.cpp)
# add_source(resources/KRResource+fbx.cpp) # TODO - Locate FBX SDK dependencies
add_sources(resources/KRResource+obj.cpp)
add_private_headers(resources/KRResource.h)
add_source_and_header(resources/KRResource)
add_source_and_header(resources/KRResourceManager)
add_source_and_header(KRReverbZone) add_source_and_header(KRReverbZone)
add_source_and_header(KRScene) add_source_and_header(KRScene)
add_source_and_header(KRSceneManager) add_source_and_header(KRSceneManager)
add_source_and_header(KRShader) add_source_and_header(KRShader)
add_source_and_header(KRShaderManager) add_source_and_header(KRShaderManager)
add_source_and_header(resources/source/KRSource)
add_source_and_header(resources/source/KRSourceManager)
add_source_and_header(KRPipeline) add_source_and_header(KRPipeline)
add_source_and_header(KRPipelineManager) add_source_and_header(KRPipelineManager)
add_source_and_header(KRSampler) add_source_and_header(KRSampler)
@@ -86,6 +88,4 @@ add_source_and_header(KRTextureKTX2)
add_source_and_header(KRTextureManager) add_source_and_header(KRTextureManager)
add_source_and_header(KRTexturePVR) add_source_and_header(KRTexturePVR)
add_source_and_header(KRTextureTGA) add_source_and_header(KRTextureTGA)
add_source_and_header(KRUnknown)
add_source_and_header(KRUnknownManager)
add_source_and_header(KRViewport) add_source_and_header(KRViewport)

View File

@@ -30,7 +30,7 @@
// //
#include "KRAudioBuffer.h" #include "KRAudioBuffer.h"
#include "KRAudioManager.h" #include "resources/audio/KRAudioManager.h"
KRAudioBuffer::KRAudioBuffer(KRAudioManager* manager, KRAudioSample* sound, int index, int frameCount, int frameRate, int bytesPerFrame, void (*fn_populate)(KRAudioSample*, int, void*)) KRAudioBuffer::KRAudioBuffer(KRAudioManager* manager, KRAudioSample* sound, int index, int frameCount, int frameRate, int bytesPerFrame, void (*fn_populate)(KRAudioSample*, int, void*))

View File

@@ -31,8 +31,8 @@
#include "KRAudioSource.h" #include "KRAudioSource.h"
#include "KRContext.h" #include "KRContext.h"
#include "KRAudioManager.h" #include "resources/audio/KRAudioManager.h"
#include "KRAudioSample.h" #include "resources/audio/KRAudioSample.h"
#include "KRAudioBuffer.h" #include "KRAudioBuffer.h"
#include "KRRenderPass.h" #include "KRRenderPass.h"

View File

@@ -39,7 +39,7 @@
#include "KRContext.h" #include "KRContext.h"
#include "KRViewport.h" #include "KRViewport.h"
#include "KRRenderSettings.h" #include "KRRenderSettings.h"
#include "KRMeshManager.h" #include "resources/mesh/KRMeshManager.h"
#define KRAKEN_FPS_AVERAGE_FRAME_COUNT 30 #define KRAKEN_FPS_AVERAGE_FRAME_COUNT 30

View File

@@ -32,7 +32,7 @@
#include "KREngine-common.h" #include "KREngine-common.h"
#include "KRCollider.h" #include "KRCollider.h"
#include "KRContext.h" #include "KRContext.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRRenderPass.h" #include "KRRenderPass.h"
using namespace hydra; using namespace hydra;

View File

@@ -37,13 +37,13 @@
#define KRAKEN_COLLIDER_PHYSICS 1 #define KRAKEN_COLLIDER_PHYSICS 1
#define KRAKEN_COLLIDER_AUDIO 2 #define KRAKEN_COLLIDER_AUDIO 2
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRModel.h" #include "KRModel.h"
#include "KRCamera.h" #include "KRCamera.h"
#include "KRMeshManager.h" #include "resources/mesh/KRMeshManager.h"
#include "KRNode.h" #include "KRNode.h"
#include "KRContext.h" #include "KRContext.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRTexture.h" #include "KRTexture.h"
class KRCollider : public KRNode class KRCollider : public KRNode

View File

@@ -35,8 +35,8 @@
#include "KRContext.h" #include "KRContext.h"
#include "KRCamera.h" #include "KRCamera.h"
#include "KRAudioManager.h" #include "resources/audio/KRAudioManager.h"
#include "KRAudioSample.h" #include "resources/audio/KRAudioSample.h"
#include "resources/bundle/KRBundle.h" #include "resources/bundle/KRBundle.h"
#include "KRPresentationThread.h" #include "KRPresentationThread.h"
#include "KRStreamerThread.h" #include "KRStreamerThread.h"

View File

@@ -38,10 +38,10 @@
#include "resources/material/KRMaterialManager.h" #include "resources/material/KRMaterialManager.h"
#include "KRPipelineManager.h" #include "KRPipelineManager.h"
#include "KRSamplerManager.h" #include "KRSamplerManager.h"
#include "KRMeshManager.h" #include "resources/mesh/KRMeshManager.h"
#include "resources/animation/KRAnimationManager.h" #include "resources/animation/KRAnimationManager.h"
#include "resources/animation_curve/KRAnimationCurveManager.h" #include "resources/animation_curve/KRAnimationCurveManager.h"
#include "KRUnknownManager.h" #include "resources/unknown/KRUnknownManager.h"
#include "KRShaderManager.h" #include "KRShaderManager.h"
#include "resources/source/KRSourceManager.h" #include "resources/source/KRSourceManager.h"
#include "KRSurfaceManager.h" #include "KRSurfaceManager.h"

View File

@@ -33,7 +33,7 @@
#include "KRModel.h" #include "KRModel.h"
#include "KRContext.h" #include "KRContext.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRNode.h" #include "KRNode.h"
#include "KRRenderPass.h" #include "KRRenderPass.h"

View File

@@ -33,13 +33,13 @@
#include "KREngine-common.h" #include "KREngine-common.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRModel.h" #include "KRModel.h"
#include "KRCamera.h" #include "KRCamera.h"
#include "KRMeshManager.h" #include "resources/mesh/KRMeshManager.h"
#include "KRNode.h" #include "KRNode.h"
#include "KRContext.h" #include "KRContext.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRTexture.h" #include "KRTexture.h"
#include "KRBone.h" #include "KRBone.h"

View File

@@ -36,7 +36,7 @@
#include "KRCamera.h" #include "KRCamera.h"
#include "KRNode.h" #include "KRNode.h"
#include "KRViewport.h" #include "KRViewport.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRShader.h" #include "KRShader.h"
class KRSampler; class KRSampler;

View File

@@ -37,7 +37,7 @@
#include "block.h" #include "block.h"
#include "KRNode.h" #include "KRNode.h"
#include "KRSurface.h" #include "KRSurface.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
using std::map; using std::map;
using std::vector; using std::vector;

View File

@@ -38,7 +38,7 @@
#include "KRDirectionalLight.h" #include "KRDirectionalLight.h"
#include "KRSpotLight.h" #include "KRSpotLight.h"
#include "KRPointLight.h" #include "KRPointLight.h"
#include "KRAudioManager.h" #include "resources/audio/KRAudioManager.h"
#include "KRRenderPass.h" #include "KRRenderPass.h"
using namespace mimir; using namespace mimir;

View File

@@ -34,9 +34,9 @@
#include "KREngine-common.h" #include "KREngine-common.h"
#include "KRModel.h" #include "KRModel.h"
#include "KRMesh.h" #include "resources/mesh/KRMesh.h"
#include "KRCamera.h" #include "KRCamera.h"
#include "KRMeshManager.h" #include "resources/mesh/KRMeshManager.h"
#include "KRNode.h" #include "KRNode.h"
#include "KRLocator.h" #include "KRLocator.h"
#include "KRAmbientZone.h" #include "KRAmbientZone.h"

View File

@@ -33,8 +33,8 @@
#include "KREngine-common.h" #include "KREngine-common.h"
#include "KRContext.h" #include "KRContext.h"
#include "resources/source/KRSourceManager.h" #include "resources/source/KRSourceManager.h"
#include "KRUnknownManager.h" #include "resources/unknown/KRUnknownManager.h"
#include "KRUnknown.h" #include "resources/unknown/KRUnknown.h"
#include "mimir.h" #include "mimir.h"

View File

@@ -32,7 +32,7 @@
#include "KREngine-common.h" #include "KREngine-common.h"
#include "KRResource.h" #include "KRResource.h"
#include "KRMesh.h" #include "mesh/KRMesh.h"
#include "mimir.h" #include "mimir.h"