Skip to content

Commit

Permalink
Added groups
Browse files Browse the repository at this point in the history
  • Loading branch information
denis authored and denis committed Nov 15, 2024
1 parent 3df0690 commit 4bce64b
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.8.0)
project(Prisma-client VERSION 0.1.0)
add_subdirectory(engine)
set(CMAKE_CXX_STANDARD 17)
add_executable(Prisma-client "main.cpp" "UserEngine/include/UserEngine.h" "UserEngine/src/UserEngine.cpp" "GUI/include/ImGuiStyle.h" "GUI/include/Postprocess/Effects.h" "GUI/src/Postprocess/Effects.cpp" "GUI/include/LightInfo.h" "GUI/src/LightInfo.cpp" "GUI/include/TextureInfo.h" "GUI/src/TextureInfo.cpp" "GUI/include/PixelCapture.h" "GUI/src/PixelCapture.cpp" "UserEngine/include/PlayerController.h" "UserEngine/src/PlayerController.cpp" "GUI/include/SettingsTab.h" "GUI/src/SettingsTab.cpp" "GUI/include/PlotFPS.h" "GUI/src/PlotFPS.cpp" "UserEngine/include/ParticleController.h" "UserEngine/src/ParticleController.cpp" "GUI/include/NodeViewer.h" "GUI/src/NodeViewer.cpp" "UserEngine/Components/include/GrassRenderer.h" "UserEngine/Components/src/GrassRenderer.cpp" "GUI/include/MeshCreator.h" "GUI/src/MeshCreator.cpp" "GUI/include/AddingMenu.h" "GUI/src/AddingMenu.cpp" "GUI/include/RegisterComponent.h" "GUI/include/RegisterCreator.h" "GUI/src/RegisterCreator.cpp")
add_executable(Prisma-client "main.cpp" "UserEngine/include/UserEngine.h" "UserEngine/src/UserEngine.cpp" "GUI/include/ImGuiStyle.h" "GUI/include/Postprocess/Effects.h" "GUI/src/Postprocess/Effects.cpp" "GUI/include/LightInfo.h" "GUI/src/LightInfo.cpp" "GUI/include/TextureInfo.h" "GUI/src/TextureInfo.cpp" "GUI/include/PixelCapture.h" "GUI/src/PixelCapture.cpp" "UserEngine/include/PlayerController.h" "UserEngine/src/PlayerController.cpp" "GUI/include/SettingsTab.h" "GUI/src/SettingsTab.cpp" "GUI/include/PlotFPS.h" "GUI/src/PlotFPS.cpp" "UserEngine/include/ParticleController.h" "UserEngine/src/ParticleController.cpp" "GUI/include/NodeViewer.h" "GUI/src/NodeViewer.cpp" "UserEngine/Components/include/GrassRenderer.h" "UserEngine/Components/src/GrassRenderer.cpp" "GUI/include/MeshCreator.h" "GUI/src/MeshCreator.cpp" "GUI/include/AddingMenu.h" "GUI/src/AddingMenu.cpp" "Engine/include/Components/RegisterComponent.h" "Engine/include/Components/RegisterCreator.h" "Engine/src/Components/RegisterCreator.cpp")
find_package(glm CONFIG REQUIRED)

target_link_libraries(Prisma-client PRIVATE PrismaEngineDll glm::glm)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <memory>
#include <functional>
#include <string>
#include "../../Engine/include/Components/Component.h"
#include "Component.h"

namespace Prisma
{
Expand Down
11 changes: 11 additions & 0 deletions Engine/include/Components/RegisterCreator.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#pragma once
#include "RegisterComponent.h"

namespace Prisma
{
class RegisterData
{
public:
void init();
};
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#include "../include/RegisterCreator.h"
#include "../../include/Components/RegisterCreator.h"
#include "../../include/Components/PhysicsMeshComponent.h"
#include "../../include/Components/CloudComponent.h"
#include "../../include/Components/CullingComponent.h"


void Prisma::RegisterData::init()
{
Expand Down
2 changes: 1 addition & 1 deletion GUI/include/ImGuiDebug.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "../../Engine/include/GlobalData/InstanceData.h"
#include "../../Engine/include/Helpers/TimeCounter.h"
#include "AddingMenu.h"
#include "RegisterCreator.h"
#include "../../Engine/include/Components/RegisterCreator.h"


namespace Prisma
Expand Down
14 changes: 0 additions & 14 deletions GUI/include/RegisterCreator.h

This file was deleted.

3 changes: 2 additions & 1 deletion GUI/src/NodeViewer.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "../include/NodeViewer.h"
#include "../include/RegisterComponent.h"
#include "../../Engine/include/Components/Component.h"
#include "../../Engine/include/Components/RegisterComponent.h"
#include "../../Engine/include/GlobalData/GlobalData.h"

void Prisma::NodeViewer::varsDispatcher(Component::ComponentType types, int index)
Expand Down

0 comments on commit 4bce64b

Please sign in to comment.