From b2ec96bbf3b9eaf2e5f28ae28395ff9899243118 Mon Sep 17 00:00:00 2001 From: Ulysse Cura Date: Fri, 4 Sep 2026 21:21:57 +0200 Subject: [PATCH] Rethinking makefile structure and making code compile for tests. --- SDL3_Core | 2 +- TODO.md | 2 ++ src/components/headers/components.def | 2 +- src/lua/enemy-system.lua | 0 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/lua/enemy-system.lua diff --git a/SDL3_Core b/SDL3_Core index bc3f9b4..ae74832 160000 --- a/SDL3_Core +++ b/SDL3_Core @@ -1 +1 @@ -Subproject commit bc3f9b4726b7a5cb9522bc959f6086095d5f4301 +Subproject commit ae74832227aaef43455e034bf3415991ec01205e diff --git a/TODO.md b/TODO.md index 48601e9..a8e511a 100644 --- a/TODO.md +++ b/TODO.md @@ -28,6 +28,8 @@ - [ ] Create lua component +- [ ] Rethink makefile structure + ### Done - [x] Make camera center on map diff --git a/src/components/headers/components.def b/src/components/headers/components.def index 0b59658..a59eaa6 100644 --- a/src/components/headers/components.def +++ b/src/components/headers/components.def @@ -18,7 +18,7 @@ COMPONENT(ANIMATION_SYSTEM, animation_system, NO_DRAW) COMPONENT(PLAYER_SYSTEM, player_system, NO_DRAW) COMPONENT(LEVER_COMPONENT, lever_component, NO_DRAW) COMPONENT(DOOR_COMPONENT, door_component, NO_DRAW) -COMPONENT(LUA_COMPONENT, lua_component, NO_DRAW) +// COMPONENT(LUA_COMPONENT, lua_component, NO_DRAW) // Add new components definition here #undef COMPONENT diff --git a/src/lua/enemy-system.lua b/src/lua/enemy-system.lua new file mode 100644 index 0000000..e69de29