Physics stuff

This commit is contained in:
Confideo-IOM
2026-08-25 22:10:54 +01:00
parent 1253571c17
commit 30538ae7ab
59 changed files with 1403 additions and 518 deletions
+13 -3
View File
@@ -8,6 +8,14 @@ bool HydraGame::Initialise()
GetEngine()->ActorManager()->InitialiseActor(m_sun_light_id); GetEngine()->ActorManager()->InitialiseActor(m_sun_light_id);
GetEngine()->ActorManager()->SetOrientation(m_sun_light_id, -0.5f, -0.2f, 0.0f); GetEngine()->ActorManager()->SetOrientation(m_sun_light_id, -0.5f, -0.2f, 0.0f);
m_spawner_id = GetEngine()->ActorManager()->CreateActor<HydraLightSpawnerActor>();
GetEngine()->ActorManager()->InitialiseActor(m_spawner_id);
GetEngine()->ActorManager()->SetPosition(m_spawner_id, glm::dvec3(0, 1.0, 0));
HydraLightSpawnerActor* actor = static_cast<HydraLightSpawnerActor*>(GetEngine()->ActorManager()->GetActor(m_spawner_id));
actor->SpawnSettings(2.0f, glm::vec3(0.0f, 2.0f, 0.0f), glm::vec3(0.0f, 0.0f, 0.0f), 10.0f, 0.0f, 20.0f);
actor->SetEnabled(true);
// m_spot_light_id = GetEngine()->ActorManager()->CreateActor<HydraSpotLightActor>(); // m_spot_light_id = GetEngine()->ActorManager()->CreateActor<HydraSpotLightActor>();
// GetEngine()->ActorManager()->InitialiseActor(m_spot_light_id); // GetEngine()->ActorManager()->InitialiseActor(m_spot_light_id);
// GetEngine()->ActorManager()->SetOrientation(m_spot_light_id, -0.5f, -0.2f, 0.0f); // GetEngine()->ActorManager()->SetOrientation(m_spot_light_id, -0.5f, -0.2f, 0.0f);
@@ -24,13 +32,15 @@ bool HydraGame::Initialise()
// GetEngine()->ActorManager()->InitialiseActor(m_planet_actor_id); // GetEngine()->ActorManager()->InitialiseActor(m_planet_actor_id);
// GetEngine()->ActorManager()->SetPosition(m_planet_actor_id, glm::dvec3(0, 0.0, 0)); // GetEngine()->ActorManager()->SetPosition(m_planet_actor_id, glm::dvec3(0, 0.0, 0));
m_cube_actor_id = GetEngine()->ActorManager()->CreateActor<HydraTestCubeActor>(); // m_cube_actor_id = GetEngine()->ActorManager()->CreateActor<HydraTestCubeActor>();
GetEngine()->ActorManager()->InitialiseActor(m_cube_actor_id); // GetEngine()->ActorManager()->InitialiseActor(m_cube_actor_id);
GetEngine()->ActorManager()->SetPosition(m_cube_actor_id, glm::dvec3(0, 20.0, 0)); // GetEngine()->ActorManager()->SetPosition(m_cube_actor_id, glm::dvec3(0, 1.0, 0));
// GetEngine()->ActorManager()->SetLinearVelocity(m_cube_actor_id, glm::dvec3(0, 10.0, 0));
m_plane_actor_id = GetEngine()->ActorManager()->CreateActor<HydraPlaneActor>(); m_plane_actor_id = GetEngine()->ActorManager()->CreateActor<HydraPlaneActor>();
GetEngine()->ActorManager()->InitialiseActor(m_plane_actor_id); GetEngine()->ActorManager()->InitialiseActor(m_plane_actor_id);
GetEngine()->ActorManager()->SetPosition(m_plane_actor_id, glm::dvec3(0, 0, 0)); GetEngine()->ActorManager()->SetPosition(m_plane_actor_id, glm::dvec3(0, 0, 0));
GetEngine()->ActorManager()->SetOrientation(m_plane_actor_id, 0.0f, 0.0f, 0.2f);
// m_plane_actor_id1 = GetEngine()->ActorManager()->CreateActor<HydraPlaneActor>(); // m_plane_actor_id1 = GetEngine()->ActorManager()->CreateActor<HydraPlaneActor>();
+1 -1
View File
@@ -13,7 +13,7 @@ class HydraGame : public HydraGameProxy
HydraID m_plane_actor_id1 = INVALID_HYDRA_ID; HydraID m_plane_actor_id1 = INVALID_HYDRA_ID;
HydraID m_player_actor_id = INVALID_HYDRA_ID; HydraID m_player_actor_id = INVALID_HYDRA_ID;
HydraID m_point_light_id = INVALID_HYDRA_ID; HydraID m_point_light_id = INVALID_HYDRA_ID;
HydraID m_spawner_id = INVALID_HYDRA_ID;
HydraID m_cube_actor_id = INVALID_HYDRA_ID; HydraID m_cube_actor_id = INVALID_HYDRA_ID;
HydraID m_sun_light_id = INVALID_HYDRA_ID; HydraID m_sun_light_id = INVALID_HYDRA_ID;
HydraID m_other_light_id = INVALID_HYDRA_ID; HydraID m_other_light_id = INVALID_HYDRA_ID;
+1
View File
@@ -12,6 +12,7 @@
#include "../source/actor/HydraSpotLightActor.h" #include "../source/actor/HydraSpotLightActor.h"
#include "../source/actor/HydraTestCubeActor.h" #include "../source/actor/HydraTestCubeActor.h"
#include "../source/actor/PlanetActor/HydraPlanetActor.h" #include "../source/actor/PlanetActor/HydraPlanetActor.h"
#include "../source/actor/LightSpawner/HydraLightSpawnerActor.h"
#include "../source/camera/HydraCamera.h" #include "../source/camera/HydraCamera.h"
#include <GLMIncludes.h> #include <GLMIncludes.h>
+1 -1
View File
@@ -47,7 +47,7 @@ const uint32_t MAX_POINT_SHADOWS = 10;
//const uint32_t SHADOW_MAP_SIZE = 1024; //const uint32_t SHADOW_MAP_SIZE = 1024;
const uint32_t DIRECTIONAL_SHADOW_MAP_SIZE = 4096; const uint32_t DIRECTIONAL_SHADOW_MAP_SIZE = 4096;
const uint32_t SPOT_SHADOW_MAP_SIZE = 1024; const uint32_t SPOT_SHADOW_MAP_SIZE = 1024;
const uint32_t POINT_SHADOW_MAP_SIZE = 1024; const uint32_t POINT_SHADOW_MAP_SIZE = 2048;
enum class HYDRA_PHYSICS_TYPE enum class HYDRA_PHYSICS_TYPE
{ {
+1 -2
View File
@@ -26,10 +26,9 @@ class CLASS_DEFINE HydraActor : public HydraObject
virtual ~HydraActor(){}; virtual ~HydraActor(){};
virtual void InitialiseComponents() = 0; virtual void InitialiseComponents() = 0;
virtual void DeferredInitialiseComponents() {}; virtual void DeferredInitialiseComponents() {};
HydraID GetID() {return m_id;}
virtual void FixedTick(float delta_t) {}; virtual void FixedTick(float delta_t) {};
virtual void _Cleanup(){}; virtual void _Cleanup(){};
HydraID GetID() {return m_id;}
}; };
+17 -14
View File
@@ -95,22 +95,15 @@ void HydraActorManager::Initialise(size_t max_actors)
} }
void HydraActorManager::TickActors(float delta_t)
void HydraActorManager::FixedTickActor(float actor_id, float delta_t)
{ {
// std::lock_guard<std::mutex> lock(m_mutex); HydraActor *actor = GetActor(actor_id);
if (actor != nullptr)
{
actor->FixedTick(delta_t);
}
// // HydraID barrierID = GetEngine()->TaskScheduler()->CreateBarrier();
// for (int i = 0; i < m_actors_to_tick_fixed.size(); i++)
// {
// HydraID tick_actors_task_id = GetEngine()->TaskScheduler()->CreateTask<HydraFixedTickActorTask>(HydraThreadAffinity::General);
// if (tick_actors_task_id != INVALID_HYDRA_ID)
// {
// ((HydraFixedTickActorTask *)(GetEngine()->TaskScheduler()->GetTask(tick_actors_task_id)))->Initialise(m_actors_to_tick_fixed[i], delta_t);
// GetEngine()->TaskScheduler()->StartTask(tick_actors_task_id);
// }
// }
// GetEngine()->TaskScheduler()->WaitForBarrier(barrierID);
} }
void HydraActorManager::InitialiseActor(HydraID actorID) void HydraActorManager::InitialiseActor(HydraID actorID)
{ {
@@ -188,6 +181,16 @@ void HydraActorManager::SetOrientation(HydraID actorID, float x, float y, float
} }
} }
void HydraActorManager::SetLinearVelocity(HydraID actor_id, glm::vec3 velocity)
{
HydraECS* ecs = GetEngine()->ECS();
if (ecs->HasComponent<HydraPhysicsComponent>(actor_id))
{
std::shared_ptr<HydraPhysicsSystem> phys_sys = ecs->GetSystem<HydraPhysicsSystem>();
phys_sys->SetLinearVelocity(actor_id, velocity);
}
}
void HydraActorManager::SetPositionAndOrientation(HydraID actorID, glm::dvec3 position, glm::vec3 euler_angles, bool ignore_physics) void HydraActorManager::SetPositionAndOrientation(HydraID actorID, glm::dvec3 position, glm::vec3 euler_angles, bool ignore_physics)
{ {
HydraECS *ecs = GetEngine()->ECS(); HydraECS *ecs = GetEngine()->ECS();
+5 -4
View File
@@ -35,11 +35,13 @@ class CLASS_DEFINE HydraActorManager : public HydraObject
HydraID LoadActor(std::string filename); HydraID LoadActor(std::string filename);
void DeleteActor(HydraID actorID); void DeleteActor(HydraID actorID);
HydraActor* const GetActor(HydraID actorID); HydraActor* const GetActor(HydraID actorID);
std::vector<HydraID>& GetChildren(HydraID actor_id); std::vector<HydraID>& GetChildren(HydraID actor_id);
void TickActors(float delta_t);
void FixedTickActor(float actor_id, float delta_t);
void InitialiseActor(HydraID actorID); void InitialiseActor(HydraID actorID);
void Shutdown(); void Shutdown();
@@ -48,15 +50,14 @@ class CLASS_DEFINE HydraActorManager : public HydraObject
void SetPosition(HydraID actorID, glm::dvec3 position); void SetPosition(HydraID actorID, glm::dvec3 position);
void SetOrientation(HydraID actorID, float x, float y, float z); void SetOrientation(HydraID actorID, float x, float y, float z);
void SetLinearVelocity(HydraID actor_id, glm::vec3 velocity);
void SetPositionAndOrientation(HydraID actorID, glm::dvec3 position, glm::vec3 euler_angles, bool ignore_physics = false); void SetPositionAndOrientation(HydraID actorID, glm::dvec3 position, glm::vec3 euler_angles, bool ignore_physics = false);
void SetScale(HydraID actor_id, glm::dvec3 scaling); void SetScale(HydraID actor_id, glm::dvec3 scaling);
void TranslateActor(HydraID actorID, glm::dvec3 translation); void TranslateActor(HydraID actorID, glm::dvec3 translation);
void SetRelationship(HydraID parent_id, HydraID child_id); void SetRelationship(HydraID parent_id, HydraID child_id);
// void AddComponentType(HydraID actorID, uint32_t component_type);
// bool HasComponentType(HydraID actorID, uint32_t component_type);
// void RemoveComponentType(HydraID actorID, uint32_t component_type);
HydraID GetParent(HydraID actor_id); HydraID GetParent(HydraID actor_id);
HydraID GetRoot(HydraID actor_id); HydraID GetRoot(HydraID actor_id);
+2 -2
View File
@@ -19,12 +19,12 @@ void HydraPlaneActor::InitialiseComponents()
// HydraECS* ecs = GetEngine()->ECS(); // HydraECS* ecs = GetEngine()->ECS();
// HydraID entity_id = ecs->CreateEntity(); // HydraID entity_id = ecs->CreateEntity();
_CreatePosition(); _CreatePosition();
// _CreatePhysics(); _CreatePhysics();
_CreateMaterial(); _CreateMaterial();
_CreateMesh(); _CreateMesh();
_CreateRenderableComponent(); _CreateRenderableComponent();
_CreatePhysics();
} }
void HydraPlaneActor::DeferredInitialiseComponents() void HydraPlaneActor::DeferredInitialiseComponents()
@@ -0,0 +1,79 @@
#include "HydraLightSpawnerActor.h"
#include "../../ecs/components/HydraPositionComponent.h"
#include "../../ecs/components/HydraTickComponent.h"
#include "../../ecs/HydraECS.h"
#include "../../engine/HydraEngine.h"
#include "../../actor/HydraActorManager.h"
#include "HydraSpawnedLightActor.h"
void HydraLightSpawnerActor::FixedTick(float delta_t)
{
if(m_enabled)
{
std::chrono::time_point<std::chrono::steady_clock> current_tick = std::chrono::steady_clock::now();
auto elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(current_tick - m_last_tick);
long elapsed_milli_seconds = elapsed.count();
if(elapsed_milli_seconds >= (m_interval * 1000.0f))
{
HydraEngine* engine = GetEngine();
HydraPositionComponent pos_comp =engine->ECS()->GetComponent<HydraPositionComponent>(GetID());
HydraActorManager* actor_manager = engine->ActorManager();
HydraID actor_id = actor_manager->CreateActor<HydraSpawnedLightActor>();
actor_manager->InitialiseActor(actor_id);
actor_manager->SetPosition(actor_id, pos_comp.position);
actor_manager->SetLinearVelocity(actor_id, m_spawn_direction * m_spawn_velocity);
m_last_tick = current_tick;
}
}
}
void HydraLightSpawnerActor::_CreatePosition()
{
HydraECS *ecs = GetEngine()->ECS();
HydraPositionComponent position_component;
ecs->AddComponent<HydraPositionComponent>(GetID(), position_component);
}
void HydraLightSpawnerActor::_CreateTick()
{
HydraECS *ecs = GetEngine()->ECS();
HydraTickComponent tick_component;
tick_component.entity_id = GetID();
tick_component.fixed = true;
ecs->AddComponent<HydraTickComponent>(GetID(), tick_component);
}
void HydraLightSpawnerActor::InitialiseComponents()
{
_CreatePosition();
_CreateTick();
}
void HydraLightSpawnerActor::SetEnabled(bool enabled)
{
m_enabled = enabled;
if(enabled == true)
{
m_last_tick = std::chrono::steady_clock::now();
}
}
void HydraLightSpawnerActor::SpawnSettings(float spawns_per_second,
glm::vec3 spawn_direction,
glm::vec3 dir_variation,
float spawn_velocity,
float velocity_variation,
float spawn_duration)
{
m_spawns_per_second = spawns_per_second;
m_spawn_direction = spawn_direction;
m_dir_variation = dir_variation;
m_spawn_velocity = spawn_velocity;
m_velocity_variation = velocity_variation;
m_spawn_duration = spawn_duration;
m_interval = 1.0f / spawns_per_second;
}
@@ -0,0 +1,37 @@
#ifndef HYDRALIGHTSPAWNERACTOR
#define HYDRALIGHTSPAWNERACTOR
#include "../HydraActor.h"
#include <chrono>
#include <queue>
#include <GLMIncludes.h>
class CLASS_DEFINE HydraLightSpawnerActor : public HydraActor
{
public:
void InitialiseComponents() override;
void SetEnabled(bool enabled);
void FixedTick(float delta_t);
void SpawnSettings(float spawns_per_second,
glm::vec3 spawn_direction,
glm::vec3 dir_variation,
float spawn_velocity,
float velocity_variation,
float spawn_duration);
private:
void _CreatePosition();
void _CreateTick();
float m_spawns_per_second =0;
glm::vec3 m_spawn_direction = {0.0f, 1.0f, 0.0f};
glm::vec3 m_dir_variation = {0.0f, 0.0f, 0.0f};
float m_spawn_velocity = 0.0f;
float m_velocity_variation = 0.0f;
float m_spawn_duration;
float m_interval = 0.0f;
bool m_enabled = false;
std::chrono::time_point<std::chrono::steady_clock> m_last_tick;
std::queue<HydraID> m_spawned_actors;
};
#endif /* HYDRALIGHTSPAWNERACTOR */
@@ -0,0 +1,203 @@
#include "HydraSpawnedLightActor.h"
#include "../../engine/HydraEngine.h"
#include "../../actor/HydraActorManager.h"
#include "../../task/HydraTask.h"
#include "../../ecs/HydraECS.h"
#include "../../ecs/components/HydraPositionComponent.h"
#include "../../ecs/components/HydraMeshComponent.h"
#include "../../ecs/components/HydraRenderableComponent.h"
#include "../../ecs/components/HydraMaterialComponent.h"
#include "../../ecs/components/HydraPhysicsComponent.h"
#include "../../buffer/HydraMaterialBufferManager.h"
#include "../../buffer/HydraTextureBufferManager.h"
#include "../../buffer/HydraMaterialBuffer.h"
#include "../../mesh/HydraMeshManager.h"
#include "../../mesh/HydraMesh.h"
void HydraSpawnedLightActor::InitialiseComponents()
{
_CreatePosition();
_CreatePhysics();
_CreateMaterial();
_CreateMesh();
_CreateRenderableComponent();
}
void HydraSpawnedLightActor::DeferredInitialiseComponents()
{
}
void HydraSpawnedLightActor::_CreatePosition()
{
HydraECS *ecs = GetEngine()->ECS();
HydraPositionComponent position_component;
ecs->AddComponent<HydraPositionComponent>(GetID(), position_component);
}
void HydraSpawnedLightActor::_CreateMesh()
{
HydraMeshManager *mesh_manager = GetEngine()->MeshManager();
HydraID mesh_id = mesh_manager->CreateMesh();
HydraMesh *mesh = mesh_manager->GetMesh(mesh_id);
HydraMaterialComponent mat_comp = GetEngine()->ECS()->GetComponent<HydraMaterialComponent>(GetID());
mesh->vertexes.resize(24);
mesh->indexes.resize(36);
float scale_x = 0.3f;
float scale_y = 0.3f;
float scale_z = 0.3f;
float min_x = -0.5f * scale_x;
float min_y = -0.5f * scale_y;
float min_z = -0.5f * scale_z;
float max_x = 0.5f * scale_x;
float max_y = 0.5f * scale_y;
float max_z = 0.5f * scale_z;
float min_u = 1;
float min_v = 1;
float max_u = 0;
float max_v = 0;
// 1---2 5---6
//| / | | / |
// 0---3 4---7
HydraID actor_id = GetID();
mesh->vertexes[0] = {min_x, min_y, min_z, min_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[1] = {min_x, max_y, min_z, min_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[2] = {max_x, max_y, min_z, max_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[3] = {max_x, min_y, min_z, max_u, min_v, actor_id, mat_comp.material_id, 0};
// Face 0
mesh->indexes[0] = 0;
mesh->indexes[1] = 1;
mesh->indexes[2] = 2;
mesh->indexes[3] = 0;
mesh->indexes[4] = 2;
mesh->indexes[5] = 3;
mesh->vertexes[4] = {max_x, min_y, min_z, min_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[5] = {max_x, max_y, min_z, min_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[6] = {max_x, max_y, max_z, max_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[7] = {max_x, min_y, max_z, max_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->indexes[6] = 4;
mesh->indexes[7] = 5;
mesh->indexes[8] = 6;
mesh->indexes[9] = 4;
mesh->indexes[10] = 6;
mesh->indexes[11] = 7;
// Back Face
mesh->vertexes[8] = {max_x, min_y, max_z, min_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[9] = {max_x, max_y, max_z, min_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[10] = {min_x, max_y, max_z, max_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[11] = {min_x, min_y, max_z, max_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->indexes[12] = 8;
mesh->indexes[13] = 9;
mesh->indexes[14] = 10;
mesh->indexes[15] = 8;
mesh->indexes[16] = 10;
mesh->indexes[17] = 11;
mesh->vertexes[12] = {min_x, min_y, max_z, min_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[13] = {min_x, max_y, max_z, min_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[14] = {min_x, max_y, min_z, max_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[15] = {min_x, min_y, min_z, max_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->indexes[18] = 12;
mesh->indexes[19] = 13;
mesh->indexes[20] = 14;
mesh->indexes[21] = 12;
mesh->indexes[22] = 14;
mesh->indexes[23] = 15;
mesh->vertexes[16] = {min_x, max_y, min_z, min_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[17] = {min_x, max_y, max_z, min_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[18] = {max_x, max_y, max_z, max_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[19] = {max_x, max_y, min_z, max_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->indexes[24] = 16;
mesh->indexes[25] = 17;
mesh->indexes[26] = 18;
mesh->indexes[27] = 16;
mesh->indexes[28] = 18;
mesh->indexes[29] = 19;
mesh->vertexes[20] = {min_x, min_y, min_z, min_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[21] = {max_x, min_y, min_z, min_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[22] = {max_x, min_y, max_z, max_u, max_v, actor_id, mat_comp.material_id, 0};
mesh->vertexes[23] = {min_x, min_y, max_z, max_u, min_v, actor_id, mat_comp.material_id, 0};
mesh->indexes[30] = 20;
mesh->indexes[31] = 21;
mesh->indexes[32] = 22;
mesh->indexes[33] = 20;
mesh->indexes[34] = 22;
mesh->indexes[35] = 23;
mesh_manager->CalculateNormals(mesh->mesh_id);
HydraECS *ecs = GetEngine()->ECS();
HydraMeshComponent mesh_comp;
mesh_comp.mesh_id = mesh_id;
mesh_comp.mesh_state = HYDRA_STATE::Waiting;
ecs->AddComponent<HydraMeshComponent>(GetID(), mesh_comp);
}
void HydraSpawnedLightActor::_CreateMaterial()
{
HydraEngine *engine = GetEngine();
std::string filename = std::string(texture_base) + std::string("/DesignArea/DesignArea_Albedo.png");
HydraID tex_id = engine->TextureBufferManager()->LoadTexture(filename);
HydraMaterialBuffer material = {};
material.diffuse_texture_id = tex_id;
material.diffuse_colour = glm::vec4(1, 1, 1, 1);
material.metalic_rough = glm::vec4(0, 0.5, 0.3, 1);
HydraID mat_id = engine->MaterialBufferManager()->CreateMaterial(material);
HydraMaterialComponent mat_comp = {};
mat_comp.material_id = mat_id;
engine->ECS()->AddComponent<HydraMaterialComponent>(GetID(), mat_comp);
}
void HydraSpawnedLightActor::_CreatePhysics()
{
HydraEngine *engine = GetEngine();
HydraPhysicsComponent phys_comp = {};
phys_comp.mass = 0;
phys_comp.phyics_type = HYDRA_PHYSICS_TYPE::HYDRA_RIGID_BODY;
phys_comp.physics_shape = HYDRA_PHYSICS_SHAPE::HYDRA_PHYSICS_BOX;
phys_comp.depth = 0.3f;
phys_comp.height = 0.3f;
phys_comp.width = 0.3f;
engine->ECS()->AddComponent<HydraPhysicsComponent>(GetID(), phys_comp);
}
void HydraSpawnedLightActor::_CreateRenderableComponent()
{
HydraRenderableComponent render_comp;
HydraECS *ecs = GetEngine()->ECS();
render_comp.renderable_types.set((uint32_t)HYDRA_RENDERABLE_TYPE::HYDRA_COLOUR, true);
ecs->AddComponent<HydraRenderableComponent>(GetID(), render_comp);
}
@@ -0,0 +1,26 @@
#ifndef HYDRASPAWNEDLIGHTACTOR
#define HYDRASPAWNEDLIGHTACTOR
#include "../HydraActor.h"
class CLASS_DEFINE HydraSpawnedLightActor : public HydraActor
{
private:
double m_scale = 1.0;
double m_widthscale = 1.0f;
HydraID m_material_component = INVALID_HYDRA_ID;
HydraID m_position_component = INVALID_HYDRA_ID;
HydraID m_mesh_component = INVALID_HYDRA_ID;
protected:
void _CreatePosition();
void _CreateMesh();
void _CreateMaterial();
void _CreatePhysics();
void _CreateRenderableComponent();
public:
void InitialiseComponents() override;
void DeferredInitialiseComponents() override;
};
#endif /* HYDRASPAWNEDLIGHTACTOR */
+2 -1
View File
@@ -13,13 +13,14 @@ class HydraSystem : public HydraObject
void Update(float delta_t_seconds); void Update(float delta_t_seconds);
void InitialiseComponents(); void InitialiseComponents();
virtual void InitialiseComponent(HydraID actor_id) {};
void DestroyComponents(HydraID actor_id); void DestroyComponents(HydraID actor_id);
virtual void Shutdown(); virtual void Shutdown();
virtual void Initialise(){}; virtual void Initialise(){};
protected: protected:
virtual void UpdateSystem(float delta_t_seconds) = 0; virtual void UpdateSystem(float delta_t_seconds) = 0;
virtual void InitialiseComponent(HydraID actor_id) {};
virtual void DestroyComponent(HydraID actor_id) {}; virtual void DestroyComponent(HydraID actor_id) {};
virtual void FreeSystemResources(){}; virtual void FreeSystemResources(){};
}; };
@@ -54,6 +54,7 @@ public:
} }
void EntitySignatureChanged(HydraID entity_id, HydraSignature signature) void EntitySignatureChanged(HydraID entity_id, HydraSignature signature)
{ {
// Notify each system that an entity's signature changed // Notify each system that an entity's signature changed
for (auto const& pair : m_systems) for (auto const& pair : m_systems)
{ {
@@ -68,6 +69,8 @@ public:
{ {
system->EntitiesToCreate.insert(entity_id); system->EntitiesToCreate.insert(entity_id);
system->Entities.insert(entity_id); system->Entities.insert(entity_id);
//system->InitialiseComponent(entity_id);
} }
// Entity signature does not match system signature - erase from set // Entity signature does not match system signature - erase from set
else else
@@ -77,6 +80,7 @@ public:
system->EntitiesToCreate.erase(entity_id); system->EntitiesToCreate.erase(entity_id);
} }
} }
} }
void EntityDeleted(HydraID entity_id) void EntityDeleted(HydraID entity_id)
{ {
@@ -2,6 +2,7 @@
#define HYDRAECSPOSITIONCOMPONENT #define HYDRAECSPOSITIONCOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraPositionComponent struct HydraPositionComponent
{ {
glm::dvec3 position = {}; glm::dvec3 position = {};
@@ -0,0 +1,12 @@
#ifndef HYDRAFIXEDTICKCOMPONENT
#define HYDRAFIXEDTICKCOMPONENT
#include "../../engine/HydraEngine.h"
struct HydraTickComponent
{
HydraID entity_id;
bool fixed = false;
bool every_frame = false;
};
#endif /* HYDRAFIXEDTICKCOMPONENT */
@@ -12,8 +12,9 @@ class HydraDirectionalShadowSourceSystem : public HydraSystem
{ {
public: public:
virtual void Initialise() override; virtual void Initialise() override;
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void DestroyComponent(HydraID entity_id) override; void DestroyComponent(HydraID entity_id) override;
void UpdateSystem(float delta_t_seconds) override; void UpdateSystem(float delta_t_seconds) override;
private: private:
@@ -14,9 +14,9 @@ class HydraLightSystem : public HydraSystem
{ {
public: public:
void Initialise() override; void Initialise() override;
//uint32_t GetLightCount();
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void DestroyComponent(HydraID actor_id) override; void DestroyComponent(HydraID actor_id) override;
virtual void UpdateSystem(float delta_t_seconds); virtual void UpdateSystem(float delta_t_seconds);
private: private:
@@ -13,12 +13,10 @@ class HydraMaterialSystem : public HydraSystem
{ {
public: public:
void Initialise() override; void Initialise() override;
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void FreeSystemResources() override; void FreeSystemResources() override;
virtual void UpdateSystem(float delta_t_seconds); virtual void UpdateSystem(float delta_t_seconds);
private: private:
void _WriteToGPU(); void _WriteToGPU();
HydraID m_material_buffer_id = INVALID_HYDRA_ID; HydraID m_material_buffer_id = INVALID_HYDRA_ID;
@@ -9,13 +9,10 @@
class HydraMeshSystem : public HydraSystem class HydraMeshSystem : public HydraSystem
{ {
public: public:
void Initialise() override; void Initialise() override;
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void DestroyComponent(HydraID entity_id) override; void DestroyComponent(HydraID entity_id) override;
virtual void UpdateSystem(float delta_t_seconds){} virtual void UpdateSystem(float delta_t_seconds){}
}; };
@@ -7,6 +7,7 @@
#include "../../task/physics/HydraSetPhysicsTransform.hpp" #include "../../task/physics/HydraSetPhysicsTransform.hpp"
#include "../../task/physics/HydraGetPhysicsUpdatesTask.hpp" #include "../../task/physics/HydraGetPhysicsUpdatesTask.hpp"
#include "../../task/physics/HydraStepPhysicsTask.h" #include "../../task/physics/HydraStepPhysicsTask.h"
#include "../../task/physics/HydraSetPhysicsLinearVelocity.hpp"
#include "../../ecs/HydraECS.h" #include "../../ecs/HydraECS.h"
#include "../../ecs/components/HydraPhysicsComponent.h" #include "../../ecs/components/HydraPhysicsComponent.h"
#include "../../ecs/components/HydraPositionComponent.h" #include "../../ecs/components/HydraPositionComponent.h"
@@ -40,14 +41,35 @@ void HydraPhysicsSystem::SetTransform(HydraID entity_id)
HydraPhysicsComponent &phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id); HydraPhysicsComponent &phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id);
if(!phys_comp.needs_update) if(!phys_comp.needs_update)
{ {
m_bodies_to_set.push(entity_id); m_bodies_to_set_transform.push(entity_id);
phys_comp.needs_update = true; phys_comp.needs_update = true;
} }
// HydraTaskScheduler *task_scheduler = GetEngine()->TaskScheduler();
// HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id);
// HydraPositionComponent& pos_comp = GetEngine()->ECS()->GetComponent<HydraPositionComponent>(entity_id);
// HydraID task_id = task_scheduler->CreateTask<HydraSetPhysicsTransform>(HydraThreadAffinity::Physics);
// HydraSetPhysicsTransform *set_task = static_cast<HydraSetPhysicsTransform *>(task_scheduler->GetTask(task_id));
// set_task->Initialise(phys_comp.body_id, pos_comp.position, glm::quat(pos_comp.orientation));
// task_scheduler->WaitForTask(task_id);
}
void HydraPhysicsSystem::SetLinearVelocity(HydraID entity_id, glm::vec3 velocity)
{
PhysicsVelocity vel = {entity_id, velocity};
m_bodies_to_set_velocity.push(vel);
// HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id);
// HydraTaskScheduler *task_scheduler = GetEngine()->TaskScheduler();
// HydraID task_id = task_scheduler->CreateTask<HydraSetPhysicsLinearVelocity>(HydraThreadAffinity::Physics);
// HydraSetPhysicsLinearVelocity *set_task = static_cast<HydraSetPhysicsLinearVelocity *>(task_scheduler->GetTask(task_id));
// set_task->Initialise(phys_comp.body_id, velocity);
// task_scheduler->WaitForTask(task_id);
} }
void HydraPhysicsSystem::InitialiseComponent(HydraID entity_id) void HydraPhysicsSystem::InitialiseComponent(HydraID entity_id)
{ {
b3BodyId body_id = {}; b3BodyId body_id = {};
HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id); HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id);
HydraPositionComponent& pos_comp = GetEngine()->ECS()->GetComponent<HydraPositionComponent>(entity_id); HydraPositionComponent& pos_comp = GetEngine()->ECS()->GetComponent<HydraPositionComponent>(entity_id);
@@ -69,15 +91,16 @@ void HydraPhysicsSystem::InitialiseComponent(HydraID entity_id)
void HydraPhysicsSystem::DestroyComponent(HydraID entity_id) void HydraPhysicsSystem::DestroyComponent(HydraID entity_id)
{ {
} }
void HydraPhysicsSystem::UpdateSystem(float delta_t_seconds) void HydraPhysicsSystem::UpdateSystem(float delta_t_seconds)
{ {
HydraTaskScheduler *task_scheduler = GetEngine()->TaskScheduler(); HydraTaskScheduler *task_scheduler = GetEngine()->TaskScheduler();
while(m_bodies_to_set.size() >0) while(m_bodies_to_set_transform.size() >0)
{ {
HydraID entity_id = m_bodies_to_set.front(); HydraID entity_id = m_bodies_to_set_transform.front();
m_bodies_to_set.pop(); m_bodies_to_set_transform.pop();
HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id); HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(entity_id);
HydraPositionComponent& pos_comp = GetEngine()->ECS()->GetComponent<HydraPositionComponent>(entity_id); HydraPositionComponent& pos_comp = GetEngine()->ECS()->GetComponent<HydraPositionComponent>(entity_id);
@@ -86,7 +109,17 @@ void HydraPhysicsSystem::UpdateSystem(float delta_t_seconds)
set_task->Initialise(phys_comp.body_id, pos_comp.position, glm::quat(pos_comp.orientation)); set_task->Initialise(phys_comp.body_id, pos_comp.position, glm::quat(pos_comp.orientation));
task_scheduler->WaitForTask(task_id); task_scheduler->WaitForTask(task_id);
} }
while(m_bodies_to_set_velocity.size() >0)
{
PhysicsVelocity vel = m_bodies_to_set_velocity.front();
m_bodies_to_set_velocity.pop();
HydraPhysicsComponent& phys_comp = GetEngine()->ECS()->GetComponent<HydraPhysicsComponent>(vel.entity_id);
HydraID task_id = task_scheduler->CreateTask<HydraSetPhysicsLinearVelocity>(HydraThreadAffinity::Physics);
HydraSetPhysicsLinearVelocity *set_task = static_cast<HydraSetPhysicsLinearVelocity *>(task_scheduler->GetTask(task_id));
set_task->Initialise(phys_comp.body_id, vel.velocity);
task_scheduler->WaitForTask(task_id);
}
} }
void HydraPhysicsSystem::StepPhysics(float delta_t) void HydraPhysicsSystem::StepPhysics(float delta_t)
@@ -8,6 +8,12 @@
#include <box3d/box3d.h> #include <box3d/box3d.h>
struct PhysicsVelocity
{
HydraID entity_id;
glm::vec3 velocity;
};
class HydraPhysicsSystem : public HydraSystem class HydraPhysicsSystem : public HydraSystem
{ {
public: public:
@@ -15,15 +21,17 @@ class HydraPhysicsSystem : public HydraSystem
void Initialise() override; void Initialise() override;
void Shutdown() override; void Shutdown() override;
void SetTransform(HydraID entity_id); void SetTransform(HydraID entity_id);
void SetLinearVelocity(HydraID entity_id, glm::vec3 velocity);
void StepPhysics(float delta_t); void StepPhysics(float delta_t);
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void DestroyComponent(HydraID entity_id) override; void DestroyComponent(HydraID entity_id) override;
virtual void UpdateSystem(float delta_t_seconds); virtual void UpdateSystem(float delta_t_seconds);
private: private:
b3WorldId m_world_id; b3WorldId m_world_id;
std::queue<HydraID> m_bodies_to_set; std::queue<HydraID> m_bodies_to_set_transform;
std::queue<PhysicsVelocity> m_bodies_to_set_velocity;
}; };
#endif /* HYDRAPHYSICSSYSTEM */ #endif /* HYDRAPHYSICSSYSTEM */
@@ -13,8 +13,8 @@ class HydraPointShadowSourceSystem : public HydraSystem
{ {
public: public:
virtual void Initialise() override; virtual void Initialise() override;
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void UpdateSystem(float delta_t_seconds) override; void UpdateSystem(float delta_t_seconds) override;
void DestroyComponent(HydraID entity_id) override; void DestroyComponent(HydraID entity_id) override;
private: private:
@@ -14,8 +14,9 @@ class HydraSpotShadowSourceSystem : public HydraSystem
{ {
public: public:
virtual void Initialise() override; virtual void Initialise() override;
protected:
void InitialiseComponent(HydraID entity_id) override; void InitialiseComponent(HydraID entity_id) override;
protected:
void UpdateSystem(float delta_t_seconds) override; void UpdateSystem(float delta_t_seconds) override;
void DestroyComponent(HydraID entity_id) override; void DestroyComponent(HydraID entity_id) override;
private: private:
@@ -0,0 +1,25 @@
#include "HydraTickActorsSystem.h"
#include "../../actor/HydraActorManager.h"
#include "../components/HydraTickComponent.h"
#include "../HydraECS.h"
void HydraTickActorsSystem::FixedUpdate(float delta_t_seconds)
{
HydraActorManager* actor_manager = GetEngine()->ActorManager();
HydraECS* ecs = GetEngine()->ECS();
for(HydraID entity_id:Entities)
{
HydraTickComponent tick_comp = ecs->GetComponent<HydraTickComponent>(entity_id);
if(tick_comp.fixed)
{
actor_manager->FixedTickActor(entity_id, delta_t_seconds);
}
}
}
void HydraTickActorsSystem::UpdateSystem(float delta_t_seconds)
{
}
@@ -0,0 +1,23 @@
#ifndef HYDRATICKACTORSSYSTEM
#define HYDRATICKACTORSSYSTEM
#include "../../engine/HydraObject.h"
#include "../HydraSystem.h"
#include "../components/HydraLightComponent.h"
#include <GLMIncludes.h>
#include <queue>
#include <vector>
class HydraTickActorsSystem : public HydraSystem
{
public:
void FixedUpdate(float delta_t_seconds);
protected:
void UpdateSystem(float delta_t_seconds) override;
private:
};
#endif /* HYDRAFIXEDTICKACTORSSYSTEM */
@@ -13,7 +13,6 @@
void HydraTransformSystem::UpdateTransform(HydraID actor_id, bool ignore_physics) void HydraTransformSystem::UpdateTransform(HydraID actor_id, bool ignore_physics)
{ {
HydraECS *ecs = GetEngine()->ECS(); HydraECS *ecs = GetEngine()->ECS();
HydraPositionComponent &pos_comp = ecs->GetComponent<HydraPositionComponent>(actor_id); HydraPositionComponent &pos_comp = ecs->GetComponent<HydraPositionComponent>(actor_id);
pos_comp.needs_update = true; pos_comp.needs_update = true;
@@ -10,11 +10,9 @@ class HydraTransformSystem : public HydraSystem
void UpdateTransform(HydraID actor_id, bool ignore_physics = false); void UpdateTransform(HydraID actor_id, bool ignore_physics = false);
void Initialise() override; void Initialise() override;
protected:
virtual void UpdateSystem(float delta_t_seconds) override;
void InitialiseComponent(HydraID actor_id) override; void InitialiseComponent(HydraID actor_id) override;
protected:
virtual void UpdateSystem(float delta_t_seconds) override;
void FreeSystemResources() override; void FreeSystemResources() override;
private: private:
void _UpdateChild(HydraID parent_id, HydraID actor_id, glm::mat4 parent_transform); void _UpdateChild(HydraID parent_id, HydraID actor_id, glm::mat4 parent_transform);
+14 -2
View File
@@ -25,6 +25,7 @@
#include "../ecs/systems/HydraSpotShadowSourceSystem.h" #include "../ecs/systems/HydraSpotShadowSourceSystem.h"
#include "../ecs/systems/HydraPointShadowSourceSystem.h" #include "../ecs/systems/HydraPointShadowSourceSystem.h"
#include "../ecs/systems/HydraPhysicsSystem.h" #include "../ecs/systems/HydraPhysicsSystem.h"
#include "../ecs/systems/HydraTickActorsSystem.h"
#include "../ecs/components/HydraPositionComponent.h" #include "../ecs/components/HydraPositionComponent.h"
#include "../ecs/components/HydraMeshComponent.h" #include "../ecs/components/HydraMeshComponent.h"
@@ -36,7 +37,7 @@
#include "../ecs/components/HydraSpotShadowSourceComponent.h" #include "../ecs/components/HydraSpotShadowSourceComponent.h"
#include "../ecs/components/HydraPointShadowSourceComponent.h" #include "../ecs/components/HydraPointShadowSourceComponent.h"
#include "../ecs/components/HydraPhysicsComponent.h" #include "../ecs/components/HydraPhysicsComponent.h"
#include "../ecs/components/HydraTickComponent.h"
#include "../camera/HydraCamera.h" #include "../camera/HydraCamera.h"
#include "../actor/HydraActorManager.h" #include "../actor/HydraActorManager.h"
@@ -175,6 +176,11 @@ float HydraEngine::GetDeltaT()
return m_delta_t; return m_delta_t;
} }
float HydraEngine::GetFixedDeltaT()
{
return m_fixed_delta_t;
}
uint32_t HydraEngine::GetLightCount() uint32_t HydraEngine::GetLightCount()
{ {
return m_light_buffer_manager->GetLightCount(); return m_light_buffer_manager->GetLightCount();
@@ -238,6 +244,7 @@ void HydraEngine::_InitialiseSystems()
m_ecs->RegisterComponentType<HydraSpotShadowSourceComponent>(); m_ecs->RegisterComponentType<HydraSpotShadowSourceComponent>();
m_ecs->RegisterComponentType<HydraPointShadowSourceComponent>(); m_ecs->RegisterComponentType<HydraPointShadowSourceComponent>();
m_ecs->RegisterComponentType<HydraPhysicsComponent>(); m_ecs->RegisterComponentType<HydraPhysicsComponent>();
m_ecs->RegisterComponentType<HydraTickComponent>();
m_mesh_system = m_ecs->RegisterSystem<HydraMeshSystem>(); m_mesh_system = m_ecs->RegisterSystem<HydraMeshSystem>();
m_transform_system = m_ecs->RegisterSystem<HydraTransformSystem>(); m_transform_system = m_ecs->RegisterSystem<HydraTransformSystem>();
@@ -248,6 +255,7 @@ void HydraEngine::_InitialiseSystems()
m_spot_shadow_system = m_ecs->RegisterSystem<HydraSpotShadowSourceSystem>(); m_spot_shadow_system = m_ecs->RegisterSystem<HydraSpotShadowSourceSystem>();
m_point_shadow_system = m_ecs->RegisterSystem<HydraPointShadowSourceSystem>(); m_point_shadow_system = m_ecs->RegisterSystem<HydraPointShadowSourceSystem>();
m_physics_system = m_ecs->RegisterSystem<HydraPhysicsSystem>(); m_physics_system = m_ecs->RegisterSystem<HydraPhysicsSystem>();
m_tick_system = m_ecs->RegisterSystem<HydraTickActorsSystem>();
HydraSignature mesh_sig; HydraSignature mesh_sig;
HydraSignature trans_sig; HydraSignature trans_sig;
@@ -258,6 +266,7 @@ void HydraEngine::_InitialiseSystems()
HydraSignature spot_shadow_sig; HydraSignature spot_shadow_sig;
HydraSignature point_shadow_sig; HydraSignature point_shadow_sig;
HydraSignature physics_sig; HydraSignature physics_sig;
HydraSignature tick_sig;
mesh_sig.set(m_ecs->GetComponentType<HydraMeshComponent>(),true); mesh_sig.set(m_ecs->GetComponentType<HydraMeshComponent>(),true);
trans_sig.set(m_ecs->GetComponentType<HydraPositionComponent>(),true); trans_sig.set(m_ecs->GetComponentType<HydraPositionComponent>(),true);
@@ -282,6 +291,8 @@ void HydraEngine::_InitialiseSystems()
physics_sig.set(m_ecs->GetComponentType<HydraPhysicsComponent>(), true); physics_sig.set(m_ecs->GetComponentType<HydraPhysicsComponent>(), true);
physics_sig.set(m_ecs->GetComponentType<HydraPositionComponent>(), true); physics_sig.set(m_ecs->GetComponentType<HydraPositionComponent>(), true);
tick_sig.set(m_ecs->GetComponentType<HydraTickComponent>(), true);
m_ecs->SetSystemSignature<HydraMeshSystem>(mesh_sig); m_ecs->SetSystemSignature<HydraMeshSystem>(mesh_sig);
m_ecs->SetSystemSignature<HydraTransformSystem>(trans_sig); m_ecs->SetSystemSignature<HydraTransformSystem>(trans_sig);
m_ecs->SetSystemSignature<HydraRenderSystem>(render_sig); m_ecs->SetSystemSignature<HydraRenderSystem>(render_sig);
@@ -291,7 +302,7 @@ void HydraEngine::_InitialiseSystems()
m_ecs->SetSystemSignature<HydraSpotShadowSourceSystem>(spot_shadow_sig); m_ecs->SetSystemSignature<HydraSpotShadowSourceSystem>(spot_shadow_sig);
m_ecs->SetSystemSignature<HydraPointShadowSourceSystem>(point_shadow_sig); m_ecs->SetSystemSignature<HydraPointShadowSourceSystem>(point_shadow_sig);
m_ecs->SetSystemSignature<HydraPhysicsSystem>(physics_sig); m_ecs->SetSystemSignature<HydraPhysicsSystem>(physics_sig);
m_ecs->SetSystemSignature<HydraTickActorsSystem>(tick_sig);
} }
void HydraEngine::_UpdateSystems() void HydraEngine::_UpdateSystems()
@@ -340,6 +351,7 @@ void HydraEngine::_InitialiseSystems()
m_task_scheduler->StartTask(update_point_shadow_id); m_task_scheduler->StartTask(update_point_shadow_id);
m_task_scheduler->WaitForBarrier(shadow_barrier); m_task_scheduler->WaitForBarrier(shadow_barrier);
m_tick_system->FixedUpdate(m_fixed_delta_t);
m_shadow_buffer_manager->UpdateShadowBuffer(); m_shadow_buffer_manager->UpdateShadowBuffer();
} }
+3 -1
View File
@@ -30,6 +30,7 @@ class HydraSpotShadowSourceSystem;
class HydraShadowBufferManager; class HydraShadowBufferManager;
class HydraPointShadowSourceSystem; class HydraPointShadowSourceSystem;
class HydraPhysicsSystem; class HydraPhysicsSystem;
class HydraTickActorsSystem;
class CLASS_DEFINE HydraEngine : public HydraObject class CLASS_DEFINE HydraEngine : public HydraObject
{ {
@@ -67,6 +68,7 @@ public:
void PossessPlayer(HydraID actor_id); void PossessPlayer(HydraID actor_id);
HydraID GetPossessedPlayer(); HydraID GetPossessedPlayer();
float GetDeltaT(); float GetDeltaT();
float GetFixedDeltaT();
uint32_t GetLightCount(); uint32_t GetLightCount();
private: private:
void _CreateManagers(); void _CreateManagers();
@@ -105,7 +107,7 @@ private:
std::shared_ptr<HydraSpotShadowSourceSystem> m_spot_shadow_system; std::shared_ptr<HydraSpotShadowSourceSystem> m_spot_shadow_system;
std::shared_ptr<HydraPointShadowSourceSystem> m_point_shadow_system; std::shared_ptr<HydraPointShadowSourceSystem> m_point_shadow_system;
std::shared_ptr<HydraPhysicsSystem> m_physics_system; std::shared_ptr<HydraPhysicsSystem> m_physics_system;
std::shared_ptr<HydraTickActorsSystem> m_tick_system;
bool m_running = true; bool m_running = true;
float m_delta_t = 0.0f; float m_delta_t = 0.0f;
float m_fixed_delta_t = 0.0f; float m_fixed_delta_t = 0.0f;
@@ -0,0 +1,31 @@
#ifndef HYDRASETPHYSICSLINEARVELOCITY
#define HYDRASETPHYSICSLINEARVELOCITY
#include "../HydraTask.h"
#include "../../engine/HydraEngine.h"
#include "../../renderer/HydraRenderer.h"
#include <GLMIncludes.h>
#include "../../GlewIncludes.h"
#include "../../buffer/HydraTextureBufferManager.h"
#include <box3d/box3d.h>
class HydraSetPhysicsLinearVelocity : public HydraTask
{
private:
b3BodyId m_body_id = {};
glm::vec3 m_velocity = {};
protected:
public:
void Process() override
{
b3Vec3 velocity = {m_velocity.x, m_velocity.y, m_velocity.z};
b3Body_SetLinearVelocity(m_body_id, velocity);
}
void Initialise(b3BodyId body_id, glm::vec3 velocity)
{
m_body_id = body_id;
m_velocity = velocity;
}
};
#endif /* HYDRASETPHYSICSLINEARVELOCITY */
@@ -22,6 +22,7 @@ public:
b3World_Step(m_world_id, m_delta_t_seconds, 1); b3World_Step(m_world_id, m_delta_t_seconds, 1);
b3BodyEvents events = b3World_GetBodyEvents(m_world_id); b3BodyEvents events = b3World_GetBodyEvents(m_world_id);
HydraTaskScheduler* task_scheduler = GetEngine()->TaskScheduler(); HydraTaskScheduler* task_scheduler = GetEngine()->TaskScheduler();
HydraID barrier_id = task_scheduler->CreateBarrier(); HydraID barrier_id = task_scheduler->CreateBarrier();
@@ -182,7 +182,7 @@
{ {
"directoryIndex" : 1, "directoryIndex" : 1,
"id" : "HydraEngine::@fafd37b19aacd4c483ed", "id" : "HydraEngine::@fafd37b19aacd4c483ed",
"jsonFile" : "target-HydraEngine-Debug-d9f97188f10c16ac5f2c.json", "jsonFile" : "target-HydraEngine-Debug-e720c70257992bca64e8.json",
"name" : "HydraEngine", "name" : "HydraEngine",
"projectIndex" : 1 "projectIndex" : 1
}, },
@@ -376,7 +376,7 @@
{ {
"directoryIndex" : 1, "directoryIndex" : 1,
"id" : "HydraEngine::@fafd37b19aacd4c483ed", "id" : "HydraEngine::@fafd37b19aacd4c483ed",
"jsonFile" : "target-HydraEngine-Release-5371caceb838759a472c.json", "jsonFile" : "target-HydraEngine-Release-f15a774dd6d9ed794083.json",
"name" : "HydraEngine", "name" : "HydraEngine",
"projectIndex" : 1 "projectIndex" : 1
}, },
@@ -570,7 +570,7 @@
{ {
"directoryIndex" : 1, "directoryIndex" : 1,
"id" : "HydraEngine::@fafd37b19aacd4c483ed", "id" : "HydraEngine::@fafd37b19aacd4c483ed",
"jsonFile" : "target-HydraEngine-MinSizeRel-5e40481b0a2e8b87a03c.json", "jsonFile" : "target-HydraEngine-MinSizeRel-ece7a20cfe4ddad6fd9e.json",
"name" : "HydraEngine", "name" : "HydraEngine",
"projectIndex" : 1 "projectIndex" : 1
}, },
@@ -764,7 +764,7 @@
{ {
"directoryIndex" : 1, "directoryIndex" : 1,
"id" : "HydraEngine::@fafd37b19aacd4c483ed", "id" : "HydraEngine::@fafd37b19aacd4c483ed",
"jsonFile" : "target-HydraEngine-RelWithDebInfo-9a5ad586dd02a4208ac4.json", "jsonFile" : "target-HydraEngine-RelWithDebInfo-acb573b1466bee779047.json",
"name" : "HydraEngine", "name" : "HydraEngine",
"projectIndex" : 1 "projectIndex" : 1
}, },
@@ -27,7 +27,7 @@
"objects" : "objects" :
[ [
{ {
"jsonFile" : "codemodel-v2-41b8485263a8e0a67d73.json", "jsonFile" : "codemodel-v2-d02aee9b2dfee27d4c1c.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@@ -100,7 +100,7 @@
} }
}, },
{ {
"jsonFile" : "codemodel-v2-41b8485263a8e0a67d73.json", "jsonFile" : "codemodel-v2-d02aee9b2dfee27d4c1c.json",
"kind" : "codemodel", "kind" : "codemodel",
"version" : "version" :
{ {
@@ -221,42 +221,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
} }
], ],
@@ -358,42 +361,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
}, },
{ {
@@ -418,28 +424,26 @@
28, 28,
30, 30,
32, 32,
33, 34,
35, 36,
37, 37,
38, 39,
40,
41, 41,
43, 42,
44,
45, 45,
46,
47, 47,
49, 49,
50,
51, 51,
52,
53, 53,
55, 55,
56, 56,
57, 57,
59, 59,
60,
61, 61,
62,
63, 63,
64,
65, 65,
66, 66,
67, 67,
@@ -447,37 +451,44 @@
69, 69,
70, 70,
71, 71,
72,
73, 73,
74,
75, 75,
77, 76,
79, 78,
81, 80,
83, 82,
85, 84,
87, 86,
89, 88,
91, 90,
93, 92,
95, 94,
97, 96,
99, 98,
100, 100,
102, 102,
103, 104,
105, 106,
107, 107,
109, 109,
111, 110,
113, 112,
115, 114,
117, 116,
119, 118,
121, 120,
123, 122,
124, 124,
125,
126, 126,
128 128,
130,
131,
132,
133,
134,
136
] ]
} }
], ],
@@ -757,6 +768,44 @@
"path" : "HydraEngine/source/actor/HydraTextureDebugActor.h", "path" : "HydraEngine/source/actor/HydraTextureDebugActor.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1156,6 +1205,15 @@
"path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h", "path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/components/HydraTickComponent.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1308,6 +1366,25 @@
"path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h", "path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1667,6 +1744,15 @@
"path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h", "path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/task/physics/HydraStepPhysicsTask.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -221,42 +221,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
} }
], ],
@@ -358,42 +361,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
}, },
{ {
@@ -418,28 +424,26 @@
28, 28,
30, 30,
32, 32,
33, 34,
35, 36,
37, 37,
38, 39,
40,
41, 41,
43, 42,
44,
45, 45,
46,
47, 47,
49, 49,
50,
51, 51,
52,
53, 53,
55, 55,
56, 56,
57, 57,
59, 59,
60,
61, 61,
62,
63, 63,
64,
65, 65,
66, 66,
67, 67,
@@ -447,37 +451,44 @@
69, 69,
70, 70,
71, 71,
72,
73, 73,
74,
75, 75,
77, 76,
79, 78,
81, 80,
83, 82,
85, 84,
87, 86,
89, 88,
91, 90,
93, 92,
95, 94,
97, 96,
99, 98,
100, 100,
102, 102,
103, 104,
105, 106,
107, 107,
109, 109,
111, 110,
113, 112,
115, 114,
117, 116,
119, 118,
121, 120,
123, 122,
124, 124,
125,
126, 126,
128 128,
130,
131,
132,
133,
134,
136
] ]
} }
], ],
@@ -757,6 +768,44 @@
"path" : "HydraEngine/source/actor/HydraTextureDebugActor.h", "path" : "HydraEngine/source/actor/HydraTextureDebugActor.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1156,6 +1205,15 @@
"path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h", "path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/components/HydraTickComponent.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1308,6 +1366,25 @@
"path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h", "path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1667,6 +1744,15 @@
"path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h", "path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/task/physics/HydraStepPhysicsTask.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -221,42 +221,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
} }
], ],
@@ -358,42 +361,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
}, },
{ {
@@ -418,28 +424,26 @@
28, 28,
30, 30,
32, 32,
33, 34,
35, 36,
37, 37,
38, 39,
40,
41, 41,
43, 42,
44,
45, 45,
46,
47, 47,
49, 49,
50,
51, 51,
52,
53, 53,
55, 55,
56, 56,
57, 57,
59, 59,
60,
61, 61,
62,
63, 63,
64,
65, 65,
66, 66,
67, 67,
@@ -447,37 +451,44 @@
69, 69,
70, 70,
71, 71,
72,
73, 73,
74,
75, 75,
77, 76,
79, 78,
81, 80,
83, 82,
85, 84,
87, 86,
89, 88,
91, 90,
93, 92,
95, 94,
97, 96,
99, 98,
100, 100,
102, 102,
103, 104,
105, 106,
107, 107,
109, 109,
111, 110,
113, 112,
115, 114,
117, 116,
119, 118,
121, 120,
123, 122,
124, 124,
125,
126, 126,
128 128,
130,
131,
132,
133,
134,
136
] ]
} }
], ],
@@ -757,6 +768,44 @@
"path" : "HydraEngine/source/actor/HydraTextureDebugActor.h", "path" : "HydraEngine/source/actor/HydraTextureDebugActor.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1156,6 +1205,15 @@
"path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h", "path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/components/HydraTickComponent.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1308,6 +1366,25 @@
"path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h", "path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1667,6 +1744,15 @@
"path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h", "path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/task/physics/HydraStepPhysicsTask.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -221,42 +221,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
} }
], ],
@@ -358,42 +361,45 @@
27, 27,
29, 29,
31, 31,
34, 33,
36, 35,
39, 38,
42, 40,
44, 43,
46,
48, 48,
50, 52,
54, 54,
58, 58,
60, 62,
72, 64,
74, 77,
76, 79,
78, 81,
80, 83,
82, 85,
84, 87,
86, 89,
88, 91,
90, 93,
92, 95,
94, 97,
96, 99,
98,
101, 101,
104, 103,
106, 105,
108, 108,
110, 111,
112, 113,
114, 115,
116, 117,
118, 119,
120, 121,
122, 123,
127 125,
127,
129,
135
] ]
}, },
{ {
@@ -418,28 +424,26 @@
28, 28,
30, 30,
32, 32,
33, 34,
35, 36,
37, 37,
38, 39,
40,
41, 41,
43, 42,
44,
45, 45,
46,
47, 47,
49, 49,
50,
51, 51,
52,
53, 53,
55, 55,
56, 56,
57, 57,
59, 59,
60,
61, 61,
62,
63, 63,
64,
65, 65,
66, 66,
67, 67,
@@ -447,37 +451,44 @@
69, 69,
70, 70,
71, 71,
72,
73, 73,
74,
75, 75,
77, 76,
79, 78,
81, 80,
83, 82,
85, 84,
87, 86,
89, 88,
91, 90,
93, 92,
95, 94,
97, 96,
99, 98,
100, 100,
102, 102,
103, 104,
105, 106,
107, 107,
109, 109,
111, 110,
113, 112,
115, 114,
117, 116,
119, 118,
121, 120,
123, 122,
124, 124,
125,
126, 126,
128 128,
130,
131,
132,
133,
134,
136
] ]
} }
], ],
@@ -757,6 +768,44 @@
"path" : "HydraEngine/source/actor/HydraTextureDebugActor.h", "path" : "HydraEngine/source/actor/HydraTextureDebugActor.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraLightSpawnerActor.h",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/actor/LightSpawner/HydraSpawnedLightActor.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1156,6 +1205,15 @@
"path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h", "path" : "HydraEngine/source/ecs/components/HydraTextureComponent.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/components/HydraTickComponent.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1308,6 +1366,25 @@
"path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h", "path" : "HydraEngine/source/ecs/systems/HydraSpotShadowSourceSystem.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"compileGroupIndex" : 0,
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/ecs/systems/HydraTickActorsSystem.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
@@ -1667,6 +1744,15 @@
"path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h", "path" : "HydraEngine/source/task/physics/HydraDeletePhysicsObjectTask.h",
"sourceGroupIndex" : 1 "sourceGroupIndex" : 1
}, },
{
"backtrace" : 1,
"backtraces" :
[
1
],
"path" : "HydraEngine/source/task/physics/HydraStepPhysicsTask.h",
"sourceGroupIndex" : 1
},
{ {
"backtrace" : 1, "backtrace" : 1,
"backtraces" : "backtraces" :
+74 -74
View File
@@ -106,7 +106,7 @@ events:
The output was: The output was:
0 0
MSBuild version 17.14.40+3e7442088 for .NET Framework MSBuild version 17.14.40+3e7442088 for .NET Framework
Build started 23/08/2026 12:21:02. Build started 25/08/2026 17:40:10.
Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\4.4.2\\CompilerIdCXX\\CompilerIdCXX.vcxproj" on node 1 (default targets). Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\4.4.2\\CompilerIdCXX\\CompilerIdCXX.vcxproj" on node 1 (default targets).
PrepareForBuild: PrepareForBuild:
@@ -135,7 +135,7 @@ events:
0 Warning(s) 0 Warning(s)
0 Error(s) 0 Error(s)
Time Elapsed 00:00:00.43 Time Elapsed 00:00:00.70
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe" Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe"
@@ -1036,8 +1036,8 @@ events:
checks: checks:
- "Detecting CXX compiler ABI info" - "Detecting CXX compiler ABI info"
directories: directories:
source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze" source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5"
binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze" binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5"
cmakeVariables: cmakeVariables:
CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc" CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc"
CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1" CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1"
@@ -1048,39 +1048,39 @@ events:
variable: "CMAKE_CXX_ABI_COMPILED" variable: "CMAKE_CXX_ABI_COMPILED"
cached: false cached: false
stdout: | stdout: |
Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze' Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_009dd.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_41adc.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.14.40+3e7442088 for .NET Framework MSBuild version 17.14.40+3e7442088 for .NET Framework
Build started 23/08/2026 12:21:03. Build started 25/08/2026 17:40:11.
Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-dl2oze\\cmTC_009dd.vcxproj" on node 1 (default targets). Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-kvzvv5\\cmTC_41adc.vcxproj" on node 1 (default targets).
PrepareForBuild: PrepareForBuild:
Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-dl2oze\\Debug\\". Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-kvzvv5\\Debug\\".
Creating directory "cmTC_009dd.dir\\Debug\\cmTC_009dd.tlog\\". Creating directory "cmTC_41adc.dir\\Debug\\cmTC_41adc.tlog\\".
InitializeBuildStatus: InitializeBuildStatus:
Creating "cmTC_009dd.dir\\Debug\\cmTC_009dd.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified. Creating "cmTC_41adc.dir\\Debug\\cmTC_41adc.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_009dd.dir\\Debug\\cmTC_009dd.tlog\\unsuccessfulbuild". Touching "cmTC_41adc.dir\\Debug\\cmTC_41adc.tlog\\unsuccessfulbuild".
ClCompile: ClCompile:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_009dd.dir\\Debug\\\\" /Fd"cmTC_009dd.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Program Files\\CMake\\share\\cmake-4.4\\Modules\\CMakeCXXCompilerABI.cpp" C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_41adc.dir\\Debug\\\\" /Fd"cmTC_41adc.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Program Files\\CMake\\share\\cmake-4.4\\Modules\\CMakeCXXCompilerABI.cpp"
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64 Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64
Copyright (C) Microsoft Corporation. All rights reserved. Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_009dd.dir\\Debug\\\\" /Fd"cmTC_009dd.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Program Files\\CMake\\share\\cmake-4.4\\Modules\\CMakeCXXCompilerABI.cpp" cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_41adc.dir\\Debug\\\\" /Fd"cmTC_41adc.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Program Files\\CMake\\share\\cmake-4.4\\Modules\\CMakeCXXCompilerABI.cpp"
CMakeCXXCompilerABI.cpp CMakeCXXCompilerABI.cpp
Link: Link:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-dl2oze\\Debug\\cmTC_009dd.exe" /INCREMENTAL /ILK:"cmTC_009dd.dir\\Debug\\cmTC_009dd.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze/Debug/cmTC_009dd.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze/Debug/cmTC_009dd.lib" /MACHINE:X64 /machine:x64 cmTC_009dd.dir\\Debug\\CMakeCXXCompilerABI.obj C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-kvzvv5\\Debug\\cmTC_41adc.exe" /INCREMENTAL /ILK:"cmTC_41adc.dir\\Debug\\cmTC_41adc.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5/Debug/cmTC_41adc.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5/Debug/cmTC_41adc.lib" /MACHINE:X64 /machine:x64 cmTC_41adc.dir\\Debug\\CMakeCXXCompilerABI.obj
cmTC_009dd.vcxproj -> C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-dl2oze\\Debug\\cmTC_009dd.exe cmTC_41adc.vcxproj -> C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-kvzvv5\\Debug\\cmTC_41adc.exe
FinalizeBuildStatus: FinalizeBuildStatus:
Deleting file "cmTC_009dd.dir\\Debug\\cmTC_009dd.tlog\\unsuccessfulbuild". Deleting file "cmTC_41adc.dir\\Debug\\cmTC_41adc.tlog\\unsuccessfulbuild".
Touching "cmTC_009dd.dir\\Debug\\cmTC_009dd.tlog\\cmTC_009dd.lastbuildstate". Touching "cmTC_41adc.dir\\Debug\\cmTC_41adc.tlog\\cmTC_41adc.lastbuildstate".
Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-dl2oze\\cmTC_009dd.vcxproj" (default targets). Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-kvzvv5\\cmTC_41adc.vcxproj" (default targets).
Build succeeded. Build succeeded.
0 Warning(s) 0 Warning(s)
0 Error(s) 0 Error(s)
Time Elapsed 00:00:00.42 Time Elapsed 00:00:00.50
exitCode: 0 exitCode: 0
- -
@@ -1093,7 +1093,7 @@ events:
Parsed CXX implicit link information: Parsed CXX implicit link information:
link line regex: [^( *|.*[/\\])(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)|link\\.exe|lld-link(\\.exe)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)] link line regex: [^( *|.*[/\\])(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)|link\\.exe|lld-link(\\.exe)?|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\\]+-)?ld|collect2)[^/\\]*( |$)]
linker tool regex: [^[ ]*(->|"|[0-9]+>[ -]*Build:[ 0-9]+ ms[ ]*)?[ ]*(([^"]*[/\\])?(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)|link\\.exe|lld-link(\\.exe)?))("|,| |$)] linker tool regex: [^[ ]*(->|"|[0-9]+>[ -]*Build:[ 0-9]+ ms[ ]*)?[ ]*(([^"]*[/\\])?(ld[0-9]*(|\\.[a-rt-z][a-z]*|\\.s[a-np-z][a-z]*|\\.so[a-z]+)|link\\.exe|lld-link(\\.exe)?))("|,| |$)]
link line: [ C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-dl2oze\\Debug\\cmTC_009dd.exe" /INCREMENTAL /ILK:"cmTC_009dd.dir\\Debug\\cmTC_009dd.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze/Debug/cmTC_009dd.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-dl2oze/Debug/cmTC_009dd.lib" /MACHINE:X64 /machine:x64 cmTC_009dd.dir\\Debug\\CMakeCXXCompilerABI.obj] ==> linker [C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe] link line: [ C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-kvzvv5\\Debug\\cmTC_41adc.exe" /INCREMENTAL /ILK:"cmTC_41adc.dir\\Debug\\cmTC_41adc.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5/Debug/cmTC_41adc.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-kvzvv5/Debug/cmTC_41adc.lib" /MACHINE:X64 /machine:x64 cmTC_41adc.dir\\Debug\\CMakeCXXCompilerABI.obj] ==> linker [C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe]
linker tool for 'CXX': C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.44.35207/bin/HostX64/x64/link.exe linker tool for 'CXX': C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.44.35207/bin/HostX64/x64/link.exe
implicit libs: [] implicit libs: []
implicit objs: [] implicit objs: []
@@ -1126,8 +1126,8 @@ events:
checks: checks:
- "Performing Test CMAKE_HAVE_LIBC_PTHREAD" - "Performing Test CMAKE_HAVE_LIBC_PTHREAD"
directories: directories:
source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-u19tei" source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-vippw3"
binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-u19tei" binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-vippw3"
cmakeVariables: cmakeVariables:
CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc" CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc"
CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1" CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1"
@@ -1137,39 +1137,39 @@ events:
variable: "CMAKE_HAVE_LIBC_PTHREAD" variable: "CMAKE_HAVE_LIBC_PTHREAD"
cached: true cached: true
stdout: | stdout: |
Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-u19tei' Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-vippw3'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_f3066.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_d73fe.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.14.40+3e7442088 for .NET Framework MSBuild version 17.14.40+3e7442088 for .NET Framework
Build started 23/08/2026 12:21:04. Build started 25/08/2026 17:40:12.
Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\cmTC_f3066.vcxproj" on node 1 (default targets). Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\cmTC_d73fe.vcxproj" on node 1 (default targets).
PrepareForBuild: PrepareForBuild:
Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\Debug\\". Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\Debug\\".
Creating directory "cmTC_f3066.dir\\Debug\\cmTC_f3066.tlog\\". Creating directory "cmTC_d73fe.dir\\Debug\\cmTC_d73fe.tlog\\".
InitializeBuildStatus: InitializeBuildStatus:
Creating "cmTC_f3066.dir\\Debug\\cmTC_f3066.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified. Creating "cmTC_d73fe.dir\\Debug\\cmTC_d73fe.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_f3066.dir\\Debug\\cmTC_f3066.tlog\\unsuccessfulbuild". Touching "cmTC_d73fe.dir\\Debug\\cmTC_d73fe.tlog\\unsuccessfulbuild".
ClCompile: ClCompile:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CMAKE_HAVE_LIBC_PTHREAD /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_f3066.dir\\Debug\\\\" /Fd"cmTC_f3066.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\src.cxx" C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CMAKE_HAVE_LIBC_PTHREAD /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_d73fe.dir\\Debug\\\\" /Fd"cmTC_d73fe.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\src.cxx"
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64 Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64
Copyright (C) Microsoft Corporation. All rights reserved. Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CMAKE_HAVE_LIBC_PTHREAD /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_f3066.dir\\Debug\\\\" /Fd"cmTC_f3066.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\src.cxx" cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CMAKE_HAVE_LIBC_PTHREAD /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_d73fe.dir\\Debug\\\\" /Fd"cmTC_d73fe.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\src.cxx"
src.cxx src.cxx
C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\src.cxx(1,10): error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\cmTC_f3066.vcxproj] C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\src.cxx(1,10): error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\cmTC_d73fe.vcxproj]
Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\cmTC_f3066.vcxproj" (default targets) -- FAILED. Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\cmTC_d73fe.vcxproj" (default targets) -- FAILED.
Build FAILED. Build FAILED.
"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\cmTC_f3066.vcxproj" (default target) (1) -> "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\cmTC_d73fe.vcxproj" (default target) (1) ->
(ClCompile target) -> (ClCompile target) ->
C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\src.cxx(1,10): error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-u19tei\\cmTC_f3066.vcxproj] C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\src.cxx(1,10): error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-vippw3\\cmTC_d73fe.vcxproj]
0 Warning(s) 0 Warning(s)
1 Error(s) 1 Error(s)
Time Elapsed 00:00:00.24 Time Elapsed 00:00:00.30
exitCode: 1 exitCode: 1
- -
@@ -1185,8 +1185,8 @@ events:
checks: checks:
- "Looking for pthread_create in pthreads" - "Looking for pthread_create in pthreads"
directories: directories:
source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-uk8vgk" source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-7q25s9"
binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-uk8vgk" binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-7q25s9"
cmakeVariables: cmakeVariables:
CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc" CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc"
CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1" CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1"
@@ -1196,41 +1196,41 @@ events:
variable: "CMAKE_HAVE_PTHREADS_CREATE" variable: "CMAKE_HAVE_PTHREADS_CREATE"
cached: true cached: true
stdout: | stdout: |
Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-uk8vgk' Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-7q25s9'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_550ca.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_8465a.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.14.40+3e7442088 for .NET Framework MSBuild version 17.14.40+3e7442088 for .NET Framework
Build started 23/08/2026 12:21:04. Build started 25/08/2026 17:40:13.
Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\cmTC_550ca.vcxproj" on node 1 (default targets). Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\cmTC_8465a.vcxproj" on node 1 (default targets).
PrepareForBuild: PrepareForBuild:
Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\Debug\\". Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\Debug\\".
Creating directory "cmTC_550ca.dir\\Debug\\cmTC_550ca.tlog\\". Creating directory "cmTC_8465a.dir\\Debug\\cmTC_8465a.tlog\\".
InitializeBuildStatus: InitializeBuildStatus:
Creating "cmTC_550ca.dir\\Debug\\cmTC_550ca.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified. Creating "cmTC_8465a.dir\\Debug\\cmTC_8465a.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_550ca.dir\\Debug\\cmTC_550ca.tlog\\unsuccessfulbuild". Touching "cmTC_8465a.dir\\Debug\\cmTC_8465a.tlog\\unsuccessfulbuild".
ClCompile: ClCompile:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_550ca.dir\\Debug\\\\" /Fd"cmTC_550ca.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\CheckFunctionExists.cxx" C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_8465a.dir\\Debug\\\\" /Fd"cmTC_8465a.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\CheckFunctionExists.cxx"
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64 Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64
Copyright (C) Microsoft Corporation. All rights reserved. Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_550ca.dir\\Debug\\\\" /Fd"cmTC_550ca.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\CheckFunctionExists.cxx" cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_8465a.dir\\Debug\\\\" /Fd"cmTC_8465a.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\CheckFunctionExists.cxx"
CheckFunctionExists.cxx CheckFunctionExists.cxx
Link: Link:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\Debug\\cmTC_550ca.exe" /INCREMENTAL /ILK:"cmTC_550ca.dir\\Debug\\cmTC_550ca.ilk" /NOLOGO pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-uk8vgk/Debug/cmTC_550ca.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-uk8vgk/Debug/cmTC_550ca.lib" /MACHINE:X64 /machine:x64 cmTC_550ca.dir\\Debug\\CheckFunctionExists.obj C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\Debug\\cmTC_8465a.exe" /INCREMENTAL /ILK:"cmTC_8465a.dir\\Debug\\cmTC_8465a.ilk" /NOLOGO pthreads.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-7q25s9/Debug/cmTC_8465a.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-7q25s9/Debug/cmTC_8465a.lib" /MACHINE:X64 /machine:x64 cmTC_8465a.dir\\Debug\\CheckFunctionExists.obj
LINK : fatal error LNK1104: cannot open file 'pthreads.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\cmTC_550ca.vcxproj] LINK : fatal error LNK1104: cannot open file 'pthreads.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\cmTC_8465a.vcxproj]
Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\cmTC_550ca.vcxproj" (default targets) -- FAILED. Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\cmTC_8465a.vcxproj" (default targets) -- FAILED.
Build FAILED. Build FAILED.
"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\cmTC_550ca.vcxproj" (default target) (1) -> "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\cmTC_8465a.vcxproj" (default target) (1) ->
(Link target) -> (Link target) ->
LINK : fatal error LNK1104: cannot open file 'pthreads.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-uk8vgk\\cmTC_550ca.vcxproj] LINK : fatal error LNK1104: cannot open file 'pthreads.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-7q25s9\\cmTC_8465a.vcxproj]
0 Warning(s) 0 Warning(s)
1 Error(s) 1 Error(s)
Time Elapsed 00:00:00.32 Time Elapsed 00:00:00.39
exitCode: 1 exitCode: 1
- -
@@ -1246,8 +1246,8 @@ events:
checks: checks:
- "Looking for pthread_create in pthread" - "Looking for pthread_create in pthread"
directories: directories:
source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-hkdwpr" source: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-5ddwzi"
binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-hkdwpr" binary: "C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-5ddwzi"
cmakeVariables: cmakeVariables:
CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc" CMAKE_CXX_FLAGS: "/DWIN32 /D_WINDOWS /EHsc"
CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1" CMAKE_CXX_FLAGS_DEBUG: "/Ob0 /Od /RTC1"
@@ -1257,41 +1257,41 @@ events:
variable: "CMAKE_HAVE_PTHREAD_CREATE" variable: "CMAKE_HAVE_PTHREAD_CREATE"
cached: true cached: true
stdout: | stdout: |
Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-hkdwpr' Change Dir: 'C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-5ddwzi'
Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_2ce0b.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n Run Build Command(s): "C:/Program Files/Microsoft Visual Studio/2022/Professional/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_25a73.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
MSBuild version 17.14.40+3e7442088 for .NET Framework MSBuild version 17.14.40+3e7442088 for .NET Framework
Build started 23/08/2026 12:21:04. Build started 25/08/2026 17:40:13.
Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\cmTC_2ce0b.vcxproj" on node 1 (default targets). Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\cmTC_25a73.vcxproj" on node 1 (default targets).
PrepareForBuild: PrepareForBuild:
Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details. Structured output is enabled. The formatting of compiler diagnostics will reflect the error hierarchy. See https://aka.ms/cpp/structured-output for more details.
Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\Debug\\". Creating directory "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\Debug\\".
Creating directory "cmTC_2ce0b.dir\\Debug\\cmTC_2ce0b.tlog\\". Creating directory "cmTC_25a73.dir\\Debug\\cmTC_25a73.tlog\\".
InitializeBuildStatus: InitializeBuildStatus:
Creating "cmTC_2ce0b.dir\\Debug\\cmTC_2ce0b.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified. Creating "cmTC_25a73.dir\\Debug\\cmTC_25a73.tlog\\unsuccessfulbuild" because "AlwaysCreate" was specified.
Touching "cmTC_2ce0b.dir\\Debug\\cmTC_2ce0b.tlog\\unsuccessfulbuild". Touching "cmTC_25a73.dir\\Debug\\cmTC_25a73.tlog\\unsuccessfulbuild".
ClCompile: ClCompile:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_2ce0b.dir\\Debug\\\\" /Fd"cmTC_2ce0b.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\CheckFunctionExists.cxx" C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\CL.exe /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_25a73.dir\\Debug\\\\" /Fd"cmTC_25a73.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\CheckFunctionExists.cxx"
Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64 Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35225 for x64
Copyright (C) Microsoft Corporation. All rights reserved. Copyright (C) Microsoft Corporation. All rights reserved.
cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_2ce0b.dir\\Debug\\\\" /Fd"cmTC_2ce0b.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\CheckFunctionExists.cxx" cl /c /Zi /W1 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D _MBCS /D "CMAKE_INTDIR=\\"Debug\\"" /EHsc /RTC1 /MDd /std:c++17 /Fo"cmTC_25a73.dir\\Debug\\\\" /Fd"cmTC_25a73.dir\\Debug\\vc143.pdb" /external:W1 /TP /errorReport:queue "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\CheckFunctionExists.cxx"
CheckFunctionExists.cxx CheckFunctionExists.cxx
Link: Link:
C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\Debug\\cmTC_2ce0b.exe" /INCREMENTAL /ILK:"cmTC_2ce0b.dir\\Debug\\cmTC_2ce0b.ilk" /NOLOGO pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-hkdwpr/Debug/cmTC_2ce0b.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-hkdwpr/Debug/cmTC_2ce0b.lib" /MACHINE:X64 /machine:x64 cmTC_2ce0b.dir\\Debug\\CheckFunctionExists.obj C:\\Program Files\\Microsoft Visual Studio\\2022\\Professional\\VC\\Tools\\MSVC\\14.44.35207\\bin\\HostX64\\x64\\link.exe /OUT:"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\Debug\\cmTC_25a73.exe" /INCREMENTAL /ILK:"cmTC_25a73.dir\\Debug\\cmTC_25a73.ilk" /NOLOGO pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-5ddwzi/Debug/cmTC_25a73.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /IMPLIB:"C:/Code/HydraV3/build/CMakeFiles/CMakeScratch/TryCompile-5ddwzi/Debug/cmTC_25a73.lib" /MACHINE:X64 /machine:x64 cmTC_25a73.dir\\Debug\\CheckFunctionExists.obj
LINK : fatal error LNK1104: cannot open file 'pthread.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\cmTC_2ce0b.vcxproj] LINK : fatal error LNK1104: cannot open file 'pthread.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\cmTC_25a73.vcxproj]
Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\cmTC_2ce0b.vcxproj" (default targets) -- FAILED. Done Building Project "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\cmTC_25a73.vcxproj" (default targets) -- FAILED.
Build FAILED. Build FAILED.
"C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\cmTC_2ce0b.vcxproj" (default target) (1) -> "C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\cmTC_25a73.vcxproj" (default target) (1) ->
(Link target) -> (Link target) ->
LINK : fatal error LNK1104: cannot open file 'pthread.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-hkdwpr\\cmTC_2ce0b.vcxproj] LINK : fatal error LNK1104: cannot open file 'pthread.lib' [C:\\Code\\HydraV3\\build\\CMakeFiles\\CMakeScratch\\TryCompile-5ddwzi\\cmTC_25a73.vcxproj]
0 Warning(s) 0 Warning(s)
1 Error(s) 1 Error(s)
Time Elapsed 00:00:00.32 Time Elapsed 00:00:00.38
exitCode: 1 exitCode: 1
- -
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -11,6 +11,8 @@ C:\Code\HydraV3\HydraEngine\source\actor\HydraSpotLightActor.cpp;C:\Code\HydraV3
C:\Code\HydraV3\HydraEngine\source\actor\HydraTestCubeActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTestCubeActor.obj C:\Code\HydraV3\HydraEngine\source\actor\HydraTestCubeActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTestCubeActor.obj
C:\Code\HydraV3\HydraEngine\source\actor\HydraTestLightActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTestLightActor.obj C:\Code\HydraV3\HydraEngine\source\actor\HydraTestLightActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTestLightActor.obj
C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTextureDebugActor.obj C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTextureDebugActor.obj
C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraLightSpawnerActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraLightSpawnerActor.obj
C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraSpawnedLightActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraSpawnedLightActor.obj
C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraPlanetActor.obj C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraPlanetActor.obj
C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetQuadActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraPlanetQuadActor.obj C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetQuadActor.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraPlanetQuadActor.obj
C:\Code\HydraV3\HydraEngine\source\buffer\HydraBufferManager.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraBufferManager.obj C:\Code\HydraV3\HydraEngine\source\buffer\HydraBufferManager.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraBufferManager.obj
@@ -31,6 +33,7 @@ C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraPhysicsSystem.cpp;C:\Code\Hy
C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraPointShadowSourceSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraPointShadowSourceSystem.obj C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraPointShadowSourceSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraPointShadowSourceSystem.obj
C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraRenderSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraRenderSystem.obj C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraRenderSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraRenderSystem.obj
C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraSpotShadowSourceSystem.obj C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraSpotShadowSourceSystem.obj
C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTickActorsSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTickActorsSystem.obj
C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTransformSystem.obj C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraTransformSystem.obj
C:\Code\HydraV3\HydraEngine\source\engine\HydraEngine.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraEngine.obj C:\Code\HydraV3\HydraEngine\source\engine\HydraEngine.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraEngine.obj
C:\Code\HydraV3\HydraEngine\source\engine\HydraInputManager.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraInputManager.obj C:\Code\HydraV3\HydraEngine\source\engine\HydraInputManager.cpp;C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraInputManager.obj
@@ -1,4 +1,4 @@
^C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\CMAKECXXCOMPILERID.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAACTORMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRABUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRACAMERA.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRADEFERREDPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRADIRECTIONALLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRADIRECTIONALSHADOWSOURCESYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAECS.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAENGINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAFORWARDPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAGAMEPROXY.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAGLTFACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAGLTFLOADER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAINPUTMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRALIGHTBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRALIGHTSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMATERIALBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMATERIALSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMESHMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMESHSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAOBJECT.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAOUTPUTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPHYSICSSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLANEACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLANETACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLANETQUADACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLAYERACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPOINTLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPOINTSHADOWSOURCESYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRARENDERER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRARENDERSTAGE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRARENDERSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASHADOWBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASHADOWPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASPOTLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASPOTSHADOWSOURCESYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASYSTEMMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATASK.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATASKBARRIER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATASKSCHEDULER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATESTCUBEACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATESTLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATEXTUREBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATEXTUREDEBUGACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATHREAD.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATRANSFORMSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAVERTEXBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAWINDOWMANAGER.OBJ ^C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\CMAKECXXCOMPILERID.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAACTORMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRABUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRACAMERA.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRADEFERREDPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRADIRECTIONALLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRADIRECTIONALSHADOWSOURCESYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAECS.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAENGINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAFORWARDPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAGAMEPROXY.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAGLTFACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAGLTFLOADER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAINPUTMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRALIGHTBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRALIGHTSPAWNERACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRALIGHTSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMATERIALBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMATERIALSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMESHMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAMESHSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAOBJECT.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAOUTPUTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPHYSICSSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLANEACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLANETACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLANETQUADACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPLAYERACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPOINTLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAPOINTSHADOWSOURCESYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRARENDERER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRARENDERSTAGE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRARENDERSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASHADOWBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASHADOWPIPELINE.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASPAWNEDLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASPOTLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASPOTSHADOWSOURCESYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRASYSTEMMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATASK.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATASKBARRIER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATASKSCHEDULER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATESTCUBEACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATESTLIGHTACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATEXTUREBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATEXTUREDEBUGACTOR.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATHREAD.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATICKACTORSSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRATRANSFORMSYSTEM.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAVERTEXBUFFERMANAGER.OBJ|C:\CODE\HYDRAV3\BUILD\HYDRAENGINE\HYDRAENGINE.DIR\DEBUG\HYDRAWINDOWMANAGER.OBJ
C:\Code\HydraV3\build\HydraEngine\Debug\HydraEngine.lib C:\Code\HydraV3\build\HydraEngine\Debug\HydraEngine.lib
C:\Code\HydraV3\build\HydraEngine\Debug\HydraEngine.EXP C:\Code\HydraV3\build\HydraEngine\Debug\HydraEngine.EXP
C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraEngine.ilk C:\Code\HydraV3\build\HydraEngine\HydraEngine.dir\Debug\HydraEngine.ilk
Binary file not shown.
+8
View File
@@ -454,6 +454,10 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTestLightActor.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTestLightActor.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraLightSpawnerActor.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraLightSpawnerActor.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraSpawnedLightActor.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraSpawnedLightActor.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetQuadActor.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetQuadActor.cpp" />
@@ -497,6 +501,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraRenderableComponent.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraRenderableComponent.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraSpotShadowSourceComponent.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraSpotShadowSourceComponent.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraTextureComponent.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraTextureComponent.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraTickComponent.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraDirectionalShadowSourceSystem.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraDirectionalShadowSourceSystem.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraDirectionalShadowSourceSystem.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraDirectionalShadowSourceSystem.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraLightSystem.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraLightSystem.cpp" />
@@ -513,6 +518,8 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraRenderSystem.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraRenderSystem.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTickActorsSystem.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTickActorsSystem.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\engine\HydraEngine.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\engine\HydraEngine.cpp" />
@@ -551,6 +558,7 @@ if %errorlevel% neq 0 goto :VCEnd</Command>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\HydraTask.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\HydraTask.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\actor\HydraUpdatePlayerTask.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\actor\HydraUpdatePlayerTask.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\physics\HydraDeletePhysicsObjectTask.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\physics\HydraDeletePhysicsObjectTask.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\physics\HydraStepPhysicsTask.h" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraRenderSettings.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraRenderSettings.h" />
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraWindowManager.cpp" /> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraWindowManager.cpp" />
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraWindowManager.h" /> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraWindowManager.h" />
@@ -40,6 +40,12 @@
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.cpp"> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraLightSpawnerActor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraSpawnedLightActor.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.cpp"> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@@ -100,6 +106,9 @@
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.cpp"> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTickActorsSystem.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.cpp"> <ClCompile Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.cpp">
<Filter>Source Files</Filter> <Filter>Source Files</Filter>
</ClCompile> </ClCompile>
@@ -204,6 +213,12 @@
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\HydraTextureDebugActor.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraLightSpawnerActor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\LightSpawner\HydraSpawnedLightActor.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\actor\PlanetActor\HydraPlanetActor.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@@ -297,6 +312,9 @@
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraTextureComponent.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraTextureComponent.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\components\HydraTickComponent.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraDirectionalShadowSourceSystem.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraDirectionalShadowSourceSystem.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@@ -321,6 +339,9 @@
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraSpotShadowSourceSystem.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTickActorsSystem.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\ecs\systems\HydraTransformSystem.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
@@ -384,6 +405,9 @@
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\physics\HydraDeletePhysicsObjectTask.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\physics\HydraDeletePhysicsObjectTask.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\task\physics\HydraStepPhysicsTask.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraRenderSettings.h"> <ClInclude Include="C:\Code\HydraV3\HydraEngine\source\windowmanager\HydraRenderSettings.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>