Removed not ready projects

This commit is contained in:
Arnau Alier Torres 2025-05-07 00:51:08 +02:00
parent d29fabffb9
commit f658738d5a
7 changed files with 14 additions and 220 deletions

View File

@ -1,51 +0,0 @@
project "DeerRuntime"
kind "ConsoleApp"
language "C++"
cppdialect "C++20"
targetdir "bin/%{cfg.buildcfg}"
staticruntime "off"
files { "src/**.h", "src/**.cpp" }
debugdir "../Roe"
includedirs
{
"src",
"../Deer/src",
"../Deer/vendor/spdlog/include",
"../Deer/vendor/imgui",
"../Deer/vendor/glm",
"../Deer/vendor/entt/include"
}
links
{
"Deer",
"spdlog",
"ImGui"
}
defines { "DEER_RENDER" }
targetdir ("../bin/" .. OutputDir .. "/%{prj.name}")
objdir ("../bin/int/" .. OutputDir .. "/%{prj.name}")
filter "system:windows"
systemversion "latest"
defines { "WINDOWS" }
filter "configurations:Debug"
defines { "DEBUG" }
runtime "Debug"
symbols "On"
filter "configurations:Release"
defines { "RELEASE" }
runtime "Release"
optimize "On"
symbols "On"
filter "configurations:Dist"
defines { "DIST" }
runtime "Release"
optimize "On"
symbols "Off"

View File

@ -1,38 +0,0 @@
#include "DeerRuntime.h"
#include "Deer/Core/Project.h"
#include "Deer/Scripting/ScriptEngine.h"
#include "Deer/Scene/Scene.h"
namespace Deer {
void DeerRuntimeApplication::onInit() {
Project::m_scriptEngine->compileScriptEngine(std::filesystem::path("scripts"));
Project::m_scriptEngine->beginExecutionContext();
Project::m_scene->beginExecution();
}
void DeerRuntimeApplication::onShutdown() {
if (Project::m_scene->getExecutingState())
Project::m_scene->endExecution();
Project::m_scriptEngine->shutdownScriptEngine();
}
void DeerRuntimeApplication::onRender(Timestep delta) {
uid mainCam = Project::m_scene->getMainEnviroment()->tryGetMainCamera();
if (mainCam == 0)
return;
Entity& cam = Project::m_scene->getMainEnviroment()->getEntity(mainCam);
float witdth = Application::s_application->m_window->getWitdth();
float height = Application::s_application->m_window->getHeight();
cam.getComponent<CameraComponent>().aspect = witdth / height;
Project::m_scene->render();
}
void DeerRuntimeApplication::onUpdate(Timestep delta) {
Project::m_scene->updateInternalVars();
}
}

View File

@ -1,23 +0,0 @@
#pragma once
#include "Deer/Core/Application.h"
#include "Deer/EntryPoint.h"
namespace Deer {
class DeerRuntimeApplication : public Deer::Application {
public:
DeerRuntimeApplication()
: Application(Deer::WindowProps("Deer Runtime")) {
}
void onInit() override;
void onShutdown() override;
void onRender(Timestep delta) override;
void onUpdate(Timestep delta) override;
};
}
Deer::Application* createApplication(int argc, char** argv) {
Deer::DeerRuntimeApplication* app = new Deer::DeerRuntimeApplication();
return app;
}

View File

@ -1,52 +0,0 @@
project "DeerServer"
kind "ConsoleApp"
language "C++"
cppdialect "C++20"
targetdir "bin/%{cfg.buildcfg}"
staticruntime "off"
files {
"src/DeerServer/**.h",
"src/DeerServer/**.cpp"
}
debugdir "../Roe"
includedirs
{
"src",
"../Deer/src",
"../Deer/vendor/spdlog/include",
"../Deer/vendor/glm",
"../Deer/vendor/entt/include"
}
links
{
"DeerService",
"spdlog"
}
targetdir ("../bin/" .. OutputDir .. "/%{prj.name}")
objdir ("../bin/int/" .. OutputDir .. "/%{prj.name}")
defines { "DEER_SERVICE" }
filter "system:windows"
systemversion "latest"
defines { "WINDOWS" }
filter "configurations:Debug"
defines { "DEBUG" }
runtime "Debug"
symbols "On"
filter "configurations:Release"
defines { "RELEASE" }
runtime "Release"
optimize "On"
symbols "On"
filter "configurations:Dist"
defines { "DIST" }
runtime "Release"
optimize "On"
symbols "Off"

View File

@ -1,20 +0,0 @@
#include "DeerServer.h"
#include "Deer/Core/Project.h"
#include "Deer/Scripting/ScriptEngine.h"
#include "Deer/Scene/Scene.h"
namespace Deer {
void DeerServerApplication::onInit() {
Project::m_scriptEngine->compileScriptEngine(std::filesystem::path("scripts"));
Project::m_scriptEngine->beginExecutionContext();
}
void DeerServerApplication::onShutdown() {
Project::m_scriptEngine->shutdownScriptEngine();
}
void DeerServerApplication::onUpdate(Timestep delta) {
}
}

View File

@ -1,22 +0,0 @@
#pragma once
#include "Deer/Core/Application.h"
#include "Deer/EntryPoint.h"
namespace Deer {
class DeerServerApplication : public Deer::Application {
public:
DeerServerApplication()
: Application() {
}
void onInit() override;
void onShutdown() override;
void onUpdate(Timestep delta) override;
};
}
Deer::Application* createApplication(int argc, char** argv) {
Deer::DeerServerApplication* app = new Deer::DeerServerApplication();
return app;
}

View File

@ -16,7 +16,7 @@ DockId=0x00000004,1
[Window][Game Window]
Pos=258,24
Size=653,413
Size=620,403
Collapsed=0
DockId=0x00000006,0
@ -27,14 +27,14 @@ Collapsed=0
DockId=0x00000001,0
[Window][Terrain Editor]
Pos=913,24
Size=367,413
Pos=880,24
Size=400,403
Collapsed=0
DockId=0x00000004,1
[Window][Viewport]
Pos=258,24
Size=653,413
Size=620,403
Collapsed=0
DockId=0x00000006,1
@ -57,14 +57,14 @@ Collapsed=0
DockId=0x00000008,1
[Window][MeshExplorer]
Pos=0,439
Size=1280,281
Pos=0,429
Size=1280,291
Collapsed=0
DockId=0x00000008,0
[Window][TreePannel]
Pos=0,24
Size=256,413
Size=256,403
Collapsed=0
DockId=0x00000005,0
@ -79,8 +79,8 @@ Size=351,75
Collapsed=0
[Window][PropertiesPannel]
Pos=913,24
Size=367,413
Pos=880,24
Size=400,403
Collapsed=0
DockId=0x00000004,0
@ -92,12 +92,12 @@ DockId=0x00000004,1
[Docking][Data]
DockSpace ID=0xA1672E74 Window=0x4647B76E Pos=0,24 Size=1280,696 Split=Y
DockNode ID=0x00000007 Parent=0xA1672E74 SizeRef=1280,413 Split=Y
DockNode ID=0x00000007 Parent=0xA1672E74 SizeRef=1280,403 Split=Y
DockNode ID=0x00000001 Parent=0x00000007 SizeRef=2560,363 Split=X Selected=0x13926F0B
DockNode ID=0x00000003 Parent=0x00000001 SizeRef=911,338 Split=X Selected=0x13926F0B
DockNode ID=0x00000003 Parent=0x00000001 SizeRef=878,338 Split=X Selected=0x13926F0B
DockNode ID=0x00000005 Parent=0x00000003 SizeRef=256,446 Selected=0xE45B9F93
DockNode ID=0x00000006 Parent=0x00000003 SizeRef=653,446 CentralNode=1 Selected=0x13926F0B
DockNode ID=0x00000004 Parent=0x00000001 SizeRef=367,338 Selected=0x2A2C795E
DockNode ID=0x00000006 Parent=0x00000003 SizeRef=620,446 CentralNode=1 Selected=0x13926F0B
DockNode ID=0x00000004 Parent=0x00000001 SizeRef=400,338 Selected=0x2A2C795E
DockNode ID=0x00000002 Parent=0x00000007 SizeRef=2560,331 Selected=0xCF339702
DockNode ID=0x00000008 Parent=0xA1672E74 SizeRef=1280,281 Selected=0xD962995A
DockNode ID=0x00000008 Parent=0xA1672E74 SizeRef=1280,291 Selected=0xD962995A