diff --git a/lib/gamacon b/lib/gamacon index b6de809..ded8579 160000 --- a/lib/gamacon +++ b/lib/gamacon @@ -1 +1 @@ -Subproject commit b6de809b044b21c9a86f0b5a9b99ba7b325df03e +Subproject commit ded85794e01c6d9d8b2ac888937689cf45193f82 diff --git a/prefabs/game.gcprefab b/prefabs/game.gcprefab index b2df42b..3bc663f 100644 --- a/prefabs/game.gcprefab +++ b/prefabs/game.gcprefab @@ -1,13 +1,13 @@ - + - - + + @@ -53,6 +53,8 @@ + + diff --git a/src/game_loader.c b/src/game_loader.c index 5b19b08..f8cea4e 100644 --- a/src/game_loader.c +++ b/src/game_loader.c @@ -17,6 +17,8 @@ #include "systems/gravity_system.h" #include "systems/walk_system.h" #include "systems/jump_system.h" +#include +#include int register_customcmps(gc_engine *engine) { diff --git a/src/systems/gravity_system.c b/src/systems/gravity_system.c index cd7ac32..4400c78 100644 --- a/src/systems/gravity_system.c +++ b/src/systems/gravity_system.c @@ -8,7 +8,6 @@ #include "entity.h" #include "system.h" -#include "texture.h" #include "vector2.h" #include "utility.h" #include "components/movable_component.h" diff --git a/src/systems/jump_system.c b/src/systems/jump_system.c index 506003d..b3ea2db 100644 --- a/src/systems/jump_system.c +++ b/src/systems/jump_system.c @@ -7,7 +7,6 @@ #include "entity.h" #include "system.h" -#include "texture.h" #include "vector2.h" #include "component.h" #include "components/collision_component.h" diff --git a/src/systems/walk_system.c b/src/systems/walk_system.c index 576ec3f..5120192 100644 --- a/src/systems/walk_system.c +++ b/src/systems/walk_system.c @@ -7,15 +7,14 @@ #include "entity.h" #include "system.h" -#include "texture.h" #include "vector2.h" -#include "sprite.h" #include "component.h" #include "components/movable_component.h" #include "components/controllable_component.h" #include "components/walk_action.h" #include "components/renderer.h" #include "utility.h" +#include "sprite.h" #include void walk_update_entity(gc_engine *engine __attribute__((unused)), \