From 2c1a7d7f293c26d631e15cf4cbec542ac50994aa Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sat, 5 Oct 2024 13:55:05 +1000 Subject: rename source folnder --- Makefile | 2 +- new_src/backend_vk.c | 1 - new_src/core.c | 11 ----------- new_src/frustum.c | 1 - new_src/log.c | 0 new_src/maths.c | 3 --- new_src/mem.c | 0 new_src/pbr.c | 0 new_src/platform_osx.c | 0 new_src/platform_unix.c | 0 new_src/platform_win32.c | 0 new_src/ral.c | 0 new_src/shadows.c | 1 - new_src/skybox.c | 0 new_src/threadpool.c | 0 src/backend_vk.c | 1 + src/core.c | 11 +++++++++++ src/frustum.c | 1 + src/log.c | 0 src/maths.c | 3 +++ src/mem.c | 0 src/pbr.c | 0 src/platform_osx.c | 0 src/platform_unix.c | 0 src/platform_win32.c | 0 src/ral.c | 0 src/shadows.c | 1 + src/skybox.c | 0 src/threadpool.c | 0 29 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 new_src/backend_vk.c delete mode 100644 new_src/core.c delete mode 100644 new_src/frustum.c delete mode 100644 new_src/log.c delete mode 100644 new_src/maths.c delete mode 100644 new_src/mem.c delete mode 100644 new_src/pbr.c delete mode 100644 new_src/platform_osx.c delete mode 100644 new_src/platform_unix.c delete mode 100644 new_src/platform_win32.c delete mode 100644 new_src/ral.c delete mode 100644 new_src/shadows.c delete mode 100644 new_src/skybox.c delete mode 100644 new_src/threadpool.c create mode 100644 src/backend_vk.c create mode 100644 src/core.c create mode 100644 src/frustum.c create mode 100644 src/log.c create mode 100644 src/maths.c create mode 100644 src/mem.c create mode 100644 src/pbr.c create mode 100644 src/platform_osx.c create mode 100644 src/platform_unix.c create mode 100644 src/platform_win32.c create mode 100644 src/ral.c create mode 100644 src/shadows.c create mode 100644 src/skybox.c create mode 100644 src/threadpool.c diff --git a/Makefile b/Makefile index 749897a..0fbc7f2 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CFLAGS := -Wall -Wextra -O2 $(INCLUDES) LDFLAGS := -lglfw # Directories -SRC_DIR := new_src +SRC_DIR := src BUILD_DIR := build OBJ_DIR := $(BUILD_DIR)/objs SHADER_DIR := assets/shaders diff --git a/new_src/backend_vk.c b/new_src/backend_vk.c deleted file mode 100644 index b6585d9..0000000 --- a/new_src/backend_vk.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/new_src/core.c b/new_src/core.c deleted file mode 100644 index 88979bb..0000000 --- a/new_src/core.c +++ /dev/null @@ -1,11 +0,0 @@ -// The engine "core" - -#include - -void Core_Bringup(const char* window_name) { - // INFO("Initiate Core bringup"); - printf("Initiate core bringup\n"); - - printf("Create GLFW window\n"); -} -void Core_Shutdown() {} diff --git a/new_src/frustum.c b/new_src/frustum.c deleted file mode 100644 index afdc76f..0000000 --- a/new_src/frustum.c +++ /dev/null @@ -1 +0,0 @@ -/* Implements frustum culling in the reference renderer */ diff --git a/new_src/log.c b/new_src/log.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/maths.c b/new_src/maths.c deleted file mode 100644 index 3ad1e2e..0000000 --- a/new_src/maths.c +++ /dev/null @@ -1,3 +0,0 @@ -#include - -Vec3 Vec3_Create(f32 x, f32 y, f32 z) { return (Vec3){ x, y, z }; } diff --git a/new_src/mem.c b/new_src/mem.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/pbr.c b/new_src/pbr.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/platform_osx.c b/new_src/platform_osx.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/platform_unix.c b/new_src/platform_unix.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/platform_win32.c b/new_src/platform_win32.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/ral.c b/new_src/ral.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/shadows.c b/new_src/shadows.c deleted file mode 100644 index b6585d9..0000000 --- a/new_src/shadows.c +++ /dev/null @@ -1 +0,0 @@ -#include diff --git a/new_src/skybox.c b/new_src/skybox.c deleted file mode 100644 index e69de29..0000000 diff --git a/new_src/threadpool.c b/new_src/threadpool.c deleted file mode 100644 index e69de29..0000000 diff --git a/src/backend_vk.c b/src/backend_vk.c new file mode 100644 index 0000000..b6585d9 --- /dev/null +++ b/src/backend_vk.c @@ -0,0 +1 @@ +#include diff --git a/src/core.c b/src/core.c new file mode 100644 index 0000000..88979bb --- /dev/null +++ b/src/core.c @@ -0,0 +1,11 @@ +// The engine "core" + +#include + +void Core_Bringup(const char* window_name) { + // INFO("Initiate Core bringup"); + printf("Initiate core bringup\n"); + + printf("Create GLFW window\n"); +} +void Core_Shutdown() {} diff --git a/src/frustum.c b/src/frustum.c new file mode 100644 index 0000000..afdc76f --- /dev/null +++ b/src/frustum.c @@ -0,0 +1 @@ +/* Implements frustum culling in the reference renderer */ diff --git a/src/log.c b/src/log.c new file mode 100644 index 0000000..e69de29 diff --git a/src/maths.c b/src/maths.c new file mode 100644 index 0000000..3ad1e2e --- /dev/null +++ b/src/maths.c @@ -0,0 +1,3 @@ +#include + +Vec3 Vec3_Create(f32 x, f32 y, f32 z) { return (Vec3){ x, y, z }; } diff --git a/src/mem.c b/src/mem.c new file mode 100644 index 0000000..e69de29 diff --git a/src/pbr.c b/src/pbr.c new file mode 100644 index 0000000..e69de29 diff --git a/src/platform_osx.c b/src/platform_osx.c new file mode 100644 index 0000000..e69de29 diff --git a/src/platform_unix.c b/src/platform_unix.c new file mode 100644 index 0000000..e69de29 diff --git a/src/platform_win32.c b/src/platform_win32.c new file mode 100644 index 0000000..e69de29 diff --git a/src/ral.c b/src/ral.c new file mode 100644 index 0000000..e69de29 diff --git a/src/shadows.c b/src/shadows.c new file mode 100644 index 0000000..b6585d9 --- /dev/null +++ b/src/shadows.c @@ -0,0 +1 @@ +#include diff --git a/src/skybox.c b/src/skybox.c new file mode 100644 index 0000000..e69de29 diff --git a/src/threadpool.c b/src/threadpool.c new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3-70-g09d2