aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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)