speed up compilation
This commit is contained in:
@@ -11,9 +11,4 @@
|
||||
#include <NazaraEditor/Core/Application/Level.hpp>
|
||||
#include <NazaraEditor/Core/Components/NameComponent.hpp>
|
||||
#include <NazaraEditor/Core/UI/PopupManager.hpp>
|
||||
#include <NazaraEditor/Core/UI/Window.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Math.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Core.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Utility.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Graphics.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Editor.hpp>
|
||||
#include <NazaraEditor/Core/UI/Window.hpp>
|
||||
@@ -1,10 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
#include <NazaraEditor/Core/Application/Shortcut.hpp>
|
||||
|
||||
#include <Nazara/Renderer.hpp>
|
||||
#include <NazaraLocalization/LocalizedText.hpp>
|
||||
|
||||
#include <memory>
|
||||
@@ -12,6 +10,8 @@
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
class Texture;
|
||||
|
||||
class NAZARAEDITOR_CORE_API EditorAction
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <Nazara/Core.hpp>
|
||||
#include <Nazara/Graphics.hpp>
|
||||
#include <Nazara/Platform.hpp>
|
||||
#include <Nazara/Renderer.hpp>
|
||||
#include <Nazara/Utility.hpp>
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
#include <NazaraEditor/Core/Application/Action.hpp>
|
||||
#include <NazaraEditor/Core/Application/ActionStack.hpp>
|
||||
#include <NazaraEditor/Core/Application/EditorLogger.hpp>
|
||||
#include <NazaraEditor/Core/Application/Level.hpp>
|
||||
#include <NazaraEditor/Core/UI/PopupManager.hpp>
|
||||
#include <NazaraEditor/Core/UI/Window.hpp>
|
||||
#include <NazaraImgui/NazaraImgui.hpp>
|
||||
#include <NazaraLocalization/Localization.hpp>
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <Nazara/Core/Application.hpp>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
class Camera;
|
||||
class WindowSwapchain;
|
||||
|
||||
class NAZARAEDITOR_CORE_API EditorBaseApplication
|
||||
: public Nz::Application<Nz::Graphics, Nz::Imgui, Nz::Localization, Nz::EditorCore>
|
||||
{
|
||||
|
||||
@@ -1,7 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <Nazara/Core.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <Nazara/Platform.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
|
||||
#include <Nazara/Platform/Keyboard.hpp>
|
||||
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
|
||||
namespace Nz
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
|
||||
#include <Nazara/Core/Clock.hpp>
|
||||
#include <Nazara/Platform/WindowEventHandler.hpp>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
|
||||
#include <string>
|
||||
|
||||
@@ -34,4 +34,5 @@ namespace Nz
|
||||
std::string m_name;
|
||||
uint64_t m_flags;
|
||||
};
|
||||
|
||||
}
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
|
||||
#ifndef NAZARAEDITOR_CORE_CONFIG_HPP
|
||||
#define NAZARAEDITOR_CORE_CONFIG_HPP
|
||||
|
||||
|
||||
7
include/NazaraEditor/Core/Reflection.hpp
Normal file
7
include/NazaraEditor/Core/Reflection.hpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Reflection/Math.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Core.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Utility.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Graphics.hpp>
|
||||
#include <NazaraEditor/Core/Reflection/Editor.hpp>
|
||||
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Components/NameComponent.hpp>
|
||||
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
|
||||
#include <Nazara/Core/Time.hpp>
|
||||
|
||||
#include <entt/entt.hpp>
|
||||
#include <unordered_set>
|
||||
|
||||
@@ -1,8 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core/Core.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
#include <NazaraLocalization/LocalizedText.hpp>
|
||||
|
||||
#include <NazaraImgui/ImguiHandler.hpp>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
|
||||
@@ -1,15 +1,17 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraUtils/Prerequisites.hpp>
|
||||
#include <NazaraEditor/Core/Config.hpp>
|
||||
#include <NazaraImgui/NazaraImgui.hpp>
|
||||
#include <NazaraImgui/ImguiHandler.hpp>
|
||||
#include <NazaraLocalization/LocalizedText.hpp>
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace Nz
|
||||
{
|
||||
using ActionCallback = std::function<void(void)>;
|
||||
|
||||
class EditorBaseApplication;
|
||||
class Texture;
|
||||
|
||||
class NAZARAEDITOR_CORE_API EditorWindow
|
||||
: private Nz::ImguiHandler
|
||||
@@ -36,8 +38,6 @@ namespace Nz
|
||||
|
||||
virtual void OnEditorGUI() {};
|
||||
|
||||
virtual ImGuiWindowFlags GetCustomWindowFlags() const { return ImGuiWindowFlags_None; }
|
||||
|
||||
private:
|
||||
|
||||
EditorBaseApplication* m_application;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <NazaraEditor/Core.hpp>
|
||||
#include <NazaraEditor/Core/Application/BaseApplication.hpp>
|
||||
|
||||
namespace NzEditor
|
||||
{
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
#include <NazaraEditor/Core.hpp>
|
||||
#include <NazaraEditor/Core/UI/Window.hpp>
|
||||
|
||||
#include <Nazara/Core.hpp>
|
||||
#include <Nazara/Utility.hpp>
|
||||
#include <Nazara/Utility/Node.hpp>
|
||||
#include <entt/entt.hpp>
|
||||
|
||||
namespace NzEditor
|
||||
{
|
||||
class Level;
|
||||
|
||||
class LevelWindow
|
||||
: public Nz::EditorWindow
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user