aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnavailableDev <ggwildplay@gmail.com>2023-03-12 13:00:45 +0100
committerUnavailableDev <ggwildplay@gmail.com>2023-03-12 13:00:45 +0100
commitbb2839a81d64e8644c57d83806ae41cc4cfad9dd (patch)
treec00448eed5c3fedcc3ba47f01957afe9bb2c1848
parent43951373604173c70bb2423dd56988b60a6704db (diff)
makefile update
-rw-r--r--src/engine/entity.c (renamed from src/engine/TODO/entity.c)4
-rw-r--r--src/engine/entity.h (renamed from src/engine/TODO/entity.h)2
-rw-r--r--src/makefile7
3 files changed, 8 insertions, 5 deletions
diff --git a/src/engine/TODO/entity.c b/src/engine/entity.c
index fa550d5..1dc1df8 100644
--- a/src/engine/TODO/entity.c
+++ b/src/engine/entity.c
@@ -1,7 +1,7 @@
#include <stdbool.h>
-#include "hh_entity.h"
-#include "maths.h"
+#include "engine/hh_entity.h"
+#include "engine/maths.h"
/*
PLAYER: (pos on X)
diff --git a/src/engine/TODO/entity.h b/src/engine/entity.h
index fdbeb8a..b2a0c49 100644
--- a/src/engine/TODO/entity.h
+++ b/src/engine/entity.h
@@ -2,7 +2,7 @@
#include <stdint.h>
-#include "maths.h"
+#include "engine/maths.h"
typedef struct {
vec2 pos, vec;
diff --git a/src/makefile b/src/makefile
index 10baa14..142d918 100644
--- a/src/makefile
+++ b/src/makefile
@@ -32,8 +32,11 @@ LOCAL_SRCS += main.c \
ppu/ppu.c \
demo.c \
engine/engine.c \
- engine/sprite_controller.c \
- engine/draw_screen.c
+ engine/sprite_controller.c \
+ engine/draw_screen.c \
+ engine/camera.c \
+ engine/maths.c \
+ engine/entity.c
CFLAGS += $(SHARED_FLAGS)
LFLAGS += $(SHARED_FLAGS)