Moved physics and application outside of core

This commit is contained in:
Antoine Pilote
2023-10-15 14:58:12 -04:00
parent 48f264708c
commit 9d87236662
41 changed files with 33 additions and 33 deletions

View File

@@ -12,7 +12,7 @@
#include <src/Scene/Components/QuakeMap.h>
#include <src/Vendors/imgui/imgui.h>
#include <src/Vendors/imgui/ImGuizmo.h>
#include <src/Core/Physics/PhysicsManager.h>
#include <src/Physics/PhysicsManager.h>
#include "src/Scene/Components/BoxCollider.h"
#include <GLFW/glfw3.h>
@@ -33,9 +33,9 @@
#include <src/Rendering/SceneRenderer.h>
#include "src/Misc/WindowTheming.h"
#include <src/Core/Application.h>
#include <src/Application/Application.h>
#include <src/Core/EntryPoint.h>
#include <src/Application/EntryPoint.h>
#include "src/EditorApplication.h"

View File

@@ -1,5 +1,5 @@
#pragma once
#include <src/Core/Application.h>
#include <src/Application/Application.h>
#include <src/Window.h>
#include "Windows/EditorInterface.h"

View File

@@ -1,5 +1,5 @@
#pragma once
#include <src/Core/Layer.h>
#include <src/Application/Layer.h>
namespace Nuake {

View File

@@ -6,7 +6,7 @@
#include <src/Rendering/Vertex.h>
#include <src/Scene/Scene.h>
#include <src/Resource/Model.h>
#include <src/Core/Physics/PhysicsShapes.h>
#include <src/Physics/PhysicsShapes.h>
#include "Gizmos/CapsuleGizmo.h"
#include "Gizmos/CylinderGizmo.h"

View File

@@ -14,7 +14,7 @@
#include "src/Rendering/Textures/Texture.h"
#include "src/Rendering/Textures/MaterialManager.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Physics/PhysicsManager.h"
#include "src/Vendors/glm/gtc/type_ptr.hpp"
#include "src/Vendors/glm/gtx/matrix_decompose.hpp"

View File

@@ -1,5 +1,5 @@
#include "Engine.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Physics/PhysicsManager.h"
#include <GLFW/glfw3.h>
#include "src/Core/Input.h"

View File

@@ -1,6 +1,6 @@
#pragma once
#include "IApplicationModule.h"
#include "Core.h"
#include "src/Core/Core.h"
#include "LayerStack.h"
#include <string>

View File

@@ -1,5 +1,5 @@
#pragma once
#include "Core.h"
#include "src/Core/Core.h"
#include "Application.h"

View File

@@ -1,5 +1,5 @@
#pragma once
#include "Core.h"
#include "src/Core/Core.h"
#include <vector>

View File

@@ -1,8 +1,8 @@
#include "CharacterController.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Core/Physics/RaycastResult.h"
#include "src/Physics/PhysicsManager.h"
#include "src/Physics/RaycastResult.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Physics/PhysicsManager.h"
namespace Nuake
{

View File

@@ -1,7 +1,7 @@
#pragma once
#include "src/Core/Core.h"
#include "src/Core/Maths.h"
#include "src/Core/Physics/PhysicsShapes.h"
#include "src/Physics/PhysicsShapes.h"
#include "src/Scene/Entities/Entity.h"
namespace Nuake

View File

@@ -4,7 +4,7 @@
#include "src/Core/Core.h"
#include "src/Core/Logger.h"
#include "src/Core/Maths.h"
#include <src/Core/Physics/PhysicsShapes.h>
#include <src/Physics/PhysicsShapes.h>
#include "src/Scene/Components/TransformComponent.h"
#include "src/Scene/Components/CharacterControllerComponent.h"

View File

@@ -7,7 +7,7 @@
#include <map>
#include "RaycastResult.h"
#include <src/Core/Physics/GhostObject.h>
#include <src/Physics/GhostObject.h>
#include "CharacterController.h"
#include "Jolt/Jolt.h"

View File

@@ -1,6 +1,6 @@
#include "GhostObject.h"
#include <src/Core/Physics/PhysicsManager.h>
#include "src/Physics/PhysicsManager.h"
namespace Nuake
{

View File

@@ -4,7 +4,7 @@
#include "src/Rendering/Textures/Material.h"
#include "src/Rendering/Mesh/Mesh.h"
#include "src/Core/Physics/Rigibody.h"
#include "src/Physics/Rigibody.h"
namespace Nuake {
class BSPBrushComponent

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/PhysicsShapes.h"
#include "src/Physics/PhysicsShapes.h"
#include "src/Core/Core.h"
namespace Nuake {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/PhysicsShapes.h"
#include "src/Physics/PhysicsShapes.h"
#include "src/Core/Core.h"
namespace Nuake

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/CharacterController.h"
#include "src/Physics/CharacterController.h"
namespace Nuake
{

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/PhysicsShapes.h"
#include "src/Physics/PhysicsShapes.h"
#include "src/Core/Core.h"
namespace Nuake

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/PhysicsShapes.h"
#include "src/Physics/PhysicsShapes.h"
#include "src/Core/Core.h"
namespace Nuake {

View File

@@ -1,8 +1,8 @@
#pragma once
#include "RigidbodyComponent.h"
#include "src/Core/Physics/Rigibody.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Physics/Rigibody.h"
#include "src/Physics/PhysicsManager.h"
#include "src/Rendering/Renderer.h"
namespace Nuake {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/PhysicsShapes.h"
#include "src/Physics/PhysicsShapes.h"
#include "src/Core/Core.h"
namespace Nuake {

View File

@@ -1,5 +1,5 @@
#pragma once
#include "src/Core/Physics/GhostObject.h"
#include "src/Physics/GhostObject.h"
#include <vector>
namespace Nuake {

View File

@@ -4,7 +4,7 @@
#include "src/Core/Core.h"
#include "src/Core/OS.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Physics/PhysicsManager.h"
#include "src/Scene/Systems/ScriptingSystem.h"
#include "src/Scene/Systems/PhysicsSystem.h"
@@ -524,7 +524,7 @@ namespace Nuake
transformComponent.SetLocalRotation(boneRotation);
transformComponent.SetLocalScale(boneScale);
transformComponent.SetLocalTransform(c.Transform);
transformComponent.Dirty = false;
//transformComponent.Dirty = false;
CreateSkeletonTraverse(boneEntity, c);
}

View File

@@ -7,7 +7,7 @@
#include "src/Scene/Components/ModelComponent.h"
#include <src/Scene/Components/RigidbodyComponent.h>
#include "src/Scene/Entities/Entity.h"
#include <src/Core/Physics/PhysicsManager.h>
#include <src/Physics/PhysicsManager.h>
#include <src/Scene/Components/CharacterControllerComponent.h>
#include <src/Scene/Components/QuakeMap.h>
#include <src/Scene/Components/BSPBrushComponent.h>

View File

@@ -6,7 +6,7 @@
#include "ScriptModule.h"
#include <iostream>
#include <wren.h>
#include "../Core/Physics/PhysicsManager.h"
#include "src/Physics/PhysicsManager.h"
namespace Nuake
{

View File

@@ -9,7 +9,7 @@
#include <wren.h>
#include "Engine.h"
#include "src/Core/Physics/PhysicsManager.h"
#include "src/Physics/PhysicsManager.h"
#include "../Scene/Entities/Entity.h"
#include <src/Scene/Components/TransformComponent.h>