1
0
Fork 0
mirror of https://github.com/gwm17/Specter.git synced 2024-11-23 02:38:52 -05:00

Created Core subdirectory in src and made relevant changes to includes

This commit is contained in:
Gordon McCann 2022-03-31 15:43:49 -04:00
parent b46df04c00
commit e27d29e919
51 changed files with 51 additions and 55 deletions

View File

@ -24,13 +24,13 @@
#include <cstdint> #include <cstdint>
#include "Navigator/Logger.h" #include "Navigator/Core/Logger.h"
#include "Navigator/Application.h" #include "Navigator/Core/Application.h"
#include "Navigator/Physics/PhysicsLayer.h" #include "Navigator/Physics/PhysicsLayer.h"
#include "Navigator/Physics/AnalysisStage.h" #include "Navigator/Physics/AnalysisStage.h"
#include "Navigator/Parameter.h" #include "Navigator/Core/Parameter.h"
#include "Navigator/SpectrumManager.h" #include "Navigator/Core/SpectrumManager.h"
#include "Navigator/Layer.h" #include "Navigator/Core/Layer.h"
#include "Navigator/Events/Event.h" #include "Navigator/Events/Event.h"
#endif #endif

View File

@ -9,8 +9,8 @@
GWM -- Feb 2022 GWM -- Feb 2022
*/ */
#include "Application.h" #include "Application.h"
#include "Renderer/RenderCommand.h" #include "Navigator/Renderer/RenderCommand.h"
#include "Editor/EditorLayer.h" #include "Navigator/Editor/EditorLayer.h"
namespace Navigator { namespace Navigator {

View File

@ -11,13 +11,13 @@
#ifndef APPLICATION_H #ifndef APPLICATION_H
#define APPLICATION_H #define APPLICATION_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Events/Event.h" #include "Navigator/Events/Event.h"
#include "Navigator/Events/AppEvent.h" #include "Navigator/Events/AppEvent.h"
#include "Navigator/Events/PhysicsEvent.h" #include "Navigator/Events/PhysicsEvent.h"
#include "Navigator/LayerStack.h" #include "Navigator/Core/LayerStack.h"
#include "Navigator/Layer.h" #include "Navigator/Core/Layer.h"
#include "Navigator/Window.h" #include "Navigator/Core/Window.h"
#include "Navigator/ImGui/ImGuiLayer.h" #include "Navigator/ImGui/ImGuiLayer.h"
#include "Navigator/Physics/PhysicsLayer.h" #include "Navigator/Physics/PhysicsLayer.h"
#include "glm/vec4.hpp" #include "glm/vec4.hpp"

View File

@ -8,7 +8,7 @@
#define LAYER_H #define LAYER_H
#include "NavCore.h" #include "NavCore.h"
#include "Events/Event.h" #include "Navigator/Events/Event.h"
namespace Navigator { namespace Navigator {

View File

@ -10,7 +10,7 @@
#define WINDOW_H #define WINDOW_H
#include "NavCore.h" #include "NavCore.h"
#include "Events/Event.h" #include "Navigator/Events/Event.h"
namespace Navigator { namespace Navigator {

View File

@ -10,9 +10,9 @@
#include "misc/cpp/imgui_stdlib.h" #include "misc/cpp/imgui_stdlib.h"
#include "implot.h" #include "implot.h"
#include "FileDialog.h" #include "FileDialog.h"
#include "Navigator/Application.h" #include "Navigator/Core/Application.h"
#include "Navigator/SpectrumSerializer.h" #include "Navigator/Core/SpectrumSerializer.h"
#include "Navigator/SpectrumManager.h" #include "Navigator/Core/SpectrumManager.h"
#include "IconsFontAwesome5.h" #include "IconsFontAwesome5.h"

View File

@ -8,11 +8,11 @@
#ifndef EDITOR_LAYER_H #ifndef EDITOR_LAYER_H
#define EDITOR_LAYER_H #define EDITOR_LAYER_H
#include "Navigator/Layer.h" #include "Navigator/Core/Layer.h"
#include "Navigator/Events/Event.h" #include "Navigator/Events/Event.h"
#include "Navigator/Events/PhysicsEvent.h" #include "Navigator/Events/PhysicsEvent.h"
#include "Navigator/Histogram.h" #include "Navigator/Core/Histogram.h"
#include "Navigator/Cut.h" #include "Navigator/Core/Cut.h"
#include "SpectrumPanel.h" #include "SpectrumPanel.h"
#include "FileDialog.h" #include "FileDialog.h"
#include "SpectrumDialog.h" #include "SpectrumDialog.h"

View File

@ -8,7 +8,7 @@
#include "SourceDialog.h" #include "SourceDialog.h"
#include "Navigator/Events/PhysicsEvent.h" #include "Navigator/Events/PhysicsEvent.h"
#include "Navigator/Events/Event.h" #include "Navigator/Events/Event.h"
#include "Navigator/Application.h" #include "Navigator/Core/Application.h"
#include "imgui.h" #include "imgui.h"
#include "misc/cpp/imgui_stdlib.h" #include "misc/cpp/imgui_stdlib.h"

View File

@ -5,7 +5,7 @@
GWM -- Feb 2022 GWM -- Feb 2022
*/ */
#include "SpectrumDialog.h" #include "SpectrumDialog.h"
#include "Navigator/SpectrumManager.h" #include "Navigator/Core/SpectrumManager.h"
#include "misc/cpp/imgui_stdlib.h" #include "misc/cpp/imgui_stdlib.h"

View File

@ -7,8 +7,8 @@
#ifndef SPECTRUM_DIALOG_H #ifndef SPECTRUM_DIALOG_H
#define SPECTRUM_DIALOG_H #define SPECTRUM_DIALOG_H
#include "Navigator/Histogram.h" #include "Navigator/Core/Histogram.h"
#include "Navigator/Cut.h" #include "Navigator/Core/Cut.h"
#include "imgui.h" #include "imgui.h"

View File

@ -6,7 +6,7 @@
GWM -- Feb 2022 GWM -- Feb 2022
*/ */
#include "SpectrumPanel.h" #include "SpectrumPanel.h"
#include "Navigator/SpectrumManager.h" #include "Navigator/Core/SpectrumManager.h"
#include "misc/cpp/imgui_stdlib.h" #include "misc/cpp/imgui_stdlib.h"
#include "IconsFontAwesome5.h" #include "IconsFontAwesome5.h"

View File

@ -8,8 +8,8 @@
#ifndef SPECTRUM_PANEL_H #ifndef SPECTRUM_PANEL_H
#define SPECTRUM_PANEL_H #define SPECTRUM_PANEL_H
#include "Navigator/Histogram.h" #include "Navigator/Core/Histogram.h"
#include "Navigator/Cut.h" #include "Navigator/Core/Cut.h"
#include "imgui.h" #include "imgui.h"
#include "implot.h" #include "implot.h"

View File

@ -7,7 +7,6 @@
#ifndef APP_EVENT_H #ifndef APP_EVENT_H
#define APP_EVENT_H #define APP_EVENT_H
#include "Navigator/NavCore.h"
#include "Event.h" #include "Event.h"
namespace Navigator { namespace Navigator {

View File

@ -9,7 +9,7 @@
#ifndef EVENT_H #ifndef EVENT_H
#define EVENT_H #define EVENT_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
namespace Navigator { namespace Navigator {

View File

@ -7,7 +7,6 @@
#ifndef KEY_EVENT_H #ifndef KEY_EVENT_H
#define KEY_EVENT_H #define KEY_EVENT_H
#include "Navigator/NavCore.h"
#include "Event.h" #include "Event.h"
namespace Navigator { namespace Navigator {

View File

@ -7,7 +7,6 @@
#ifndef MOUSE_EVENT_H #ifndef MOUSE_EVENT_H
#define MOUSE_EVENT_H #define MOUSE_EVENT_H
#include "Navigator/NavCore.h"
#include "Event.h" #include "Event.h"
namespace Navigator { namespace Navigator {

View File

@ -7,7 +7,6 @@
#ifndef PHYSICS_EVENT_H #ifndef PHYSICS_EVENT_H
#define PHYSICS_EVENT_H #define PHYSICS_EVENT_H
#include "Navigator/NavCore.h"
#include "Event.h" #include "Event.h"
#include "Navigator/Physics/DataSource.h" #include "Navigator/Physics/DataSource.h"

View File

@ -7,8 +7,8 @@
GWM -- Feb 2022 GWM -- Feb 2022
*/ */
#include "ImGuiLayer.h" #include "ImGuiLayer.h"
#include "Navigator/Application.h" #include "Navigator/Core/Application.h"
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "imgui.h" #include "imgui.h"
#include "implot.h" #include "implot.h"

View File

@ -9,8 +9,8 @@
#ifndef IMGUI_LAYER_H #ifndef IMGUI_LAYER_H
#define IMGUI_LAYER_H #define IMGUI_LAYER_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Layer.h" #include "Navigator/Core/Layer.h"
namespace Navigator { namespace Navigator {

View File

@ -9,7 +9,7 @@
#define ANALYSIS_STACK_H #define ANALYSIS_STACK_H
#include "AnalysisStage.h" #include "AnalysisStage.h"
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
namespace Navigator { namespace Navigator {

View File

@ -8,8 +8,8 @@
#ifndef ANALYSIS_STAGE_H #ifndef ANALYSIS_STAGE_H
#define ANALYSIS_STAGE_H #define ANALYSIS_STAGE_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Parameter.h" #include "Navigator/Core/Parameter.h"
#include "NavData.h" #include "NavData.h"
namespace Navigator { namespace Navigator {

View File

@ -15,7 +15,7 @@
#ifndef COMPASSFILE_H #ifndef COMPASSFILE_H
#define COMPASSFILE_H #define COMPASSFILE_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "CompassHit.h" #include "CompassHit.h"
#include "Navigator/Physics/ShiftMap.h" #include "Navigator/Physics/ShiftMap.h"

View File

@ -7,7 +7,7 @@
#ifndef COMPASS_HIT_H #ifndef COMPASS_HIT_H
#define COMPASS_HIT_H #define COMPASS_HIT_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
namespace Navigator { namespace Navigator {

View File

@ -19,7 +19,7 @@
#ifndef COMPASSRUN_H #ifndef COMPASSRUN_H
#define COMPASSRUN_H #define COMPASSRUN_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Physics/DataSource.h" #include "Navigator/Physics/DataSource.h"
#include "CompassFile.h" #include "CompassFile.h"
#include "Navigator/Physics/ShiftMap.h" #include "Navigator/Physics/ShiftMap.h"

View File

@ -9,7 +9,7 @@
#ifndef DATA_SOURCE_H #ifndef DATA_SOURCE_H
#define DATA_SOURCE_H #define DATA_SOURCE_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "NavData.h" #include "NavData.h"
namespace Navigator { namespace Navigator {

View File

@ -8,7 +8,7 @@
GWM -- Feb 2022 GWM -- Feb 2022
*/ */
#include "PhysicsLayer.h" #include "PhysicsLayer.h"
#include "Navigator/SpectrumManager.h" #include "Navigator/Core/SpectrumManager.h"
#include "NavData.h" #include "NavData.h"
namespace Navigator { namespace Navigator {

View File

@ -10,8 +10,8 @@
#ifndef PHYSICS_LAYER_H #ifndef PHYSICS_LAYER_H
#define PHYSICS_LAYER_H #define PHYSICS_LAYER_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Layer.h" #include "Navigator/Core/Layer.h"
#include "Navigator/Events/PhysicsEvent.h" #include "Navigator/Events/PhysicsEvent.h"
#include "AnalysisStack.h" #include "AnalysisStack.h"
#include "AnalysisStage.h" #include "AnalysisStage.h"

View File

@ -13,7 +13,7 @@
#ifndef SHIFTMAP_H #ifndef SHIFTMAP_H
#define SHIFTMAP_H #define SHIFTMAP_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
namespace Navigator { namespace Navigator {

View File

@ -8,7 +8,7 @@
#ifndef RENDER_COMMAND_H #ifndef RENDER_COMMAND_H
#define RENDER_COMMAND_H #define RENDER_COMMAND_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "RendererAPI.h" #include "RendererAPI.h"
namespace Navigator { namespace Navigator {

View File

@ -8,7 +8,7 @@
#ifndef RENDERER_API_H #ifndef RENDERER_API_H
#define RENDERER_API_H #define RENDERER_API_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "glm/vec4.hpp" #include "glm/vec4.hpp"
namespace Navigator { namespace Navigator {

View File

@ -7,7 +7,7 @@
#ifndef OPEGL_CONTEXT_H #ifndef OPEGL_CONTEXT_H
#define OPEGL_CONTEXT_H #define OPEGL_CONTEXT_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Renderer/GraphicsContext.h" #include "Navigator/Renderer/GraphicsContext.h"
struct GLFWwindow; struct GLFWwindow;

View File

@ -8,7 +8,7 @@
#ifndef OPENGL_RENDERER_API_H #ifndef OPENGL_RENDERER_API_H
#define OPENGL_RENDERER_API_H #define OPENGL_RENDERER_API_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Renderer/RendererAPI.h" #include "Navigator/Renderer/RendererAPI.h"
namespace Navigator { namespace Navigator {

View File

@ -8,7 +8,7 @@
*/ */
#include "OpenGLWindow.h" #include "OpenGLWindow.h"
#include "OpenGLContext.h" #include "OpenGLContext.h"
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Events/AppEvent.h" #include "Navigator/Events/AppEvent.h"
#include "Navigator/Events/KeyEvent.h" #include "Navigator/Events/KeyEvent.h"
#include "Navigator/Events/MouseEvent.h" #include "Navigator/Events/MouseEvent.h"

View File

@ -9,8 +9,8 @@
#ifndef OPENGL_WINDOW_H #ifndef OPENGL_WINDOW_H
#define OPENGL_WINDOW_H #define OPENGL_WINDOW_H
#include "Navigator/NavCore.h" #include "Navigator/Core/NavCore.h"
#include "Navigator/Window.h" #include "Navigator/Core/Window.h"
#include "Navigator/Renderer/GraphicsContext.h" #include "Navigator/Renderer/GraphicsContext.h"
#include "GLFW/glfw3.h" #include "GLFW/glfw3.h"

View File

@ -17,6 +17,6 @@
#include <cstdint> #include <cstdint>
#include "Navigator/Logger.h" #include "Navigator/Core/Logger.h"
#endif #endif