diff --git a/src/components/animation_system.c b/src/components/animation_system.c index 448aa96..06bd191 100644 --- a/src/components/animation_system.c +++ b/src/components/animation_system.c @@ -4,7 +4,6 @@ #include "memory_alloc.h" #include "errors.h" -// Args : size_t nb_frames, size_t current_frame, float frame_delay_ms, bool play, bool loop, bool reverse int animation_system_init(component_t *component) { animation_system_data_t *system_data = component->data; diff --git a/src/components/hitbox_component.c b/src/components/hitbox_component.c index 1edc321..3c20b84 100644 --- a/src/components/hitbox_component.c +++ b/src/components/hitbox_component.c @@ -3,8 +3,8 @@ #include "game.h" #include "transform_component.h" #include "memory_alloc.h" +#include "errors.h" -// Args : frect_t bounds, double speed int hitbox_component_init(component_t *component) { hitbox_component_data_t *component_data = component->data; @@ -47,7 +47,6 @@ int hitbox_component_update(component_t *component) #if DEBUG >= 2 #include "display.h" -#include "errors.h" int hitbox_component_draw(const component_t *component) { diff --git a/src/components/physics_system.c b/src/components/physics_system.c index 2a6e50e..ced372b 100644 --- a/src/components/physics_system.c +++ b/src/components/physics_system.c @@ -6,7 +6,6 @@ #include "memory_alloc.h" #include "errors.h" -// Args : frect_t bounds, double speed int physics_system_init(component_t *component) { physics_system_data_t *system_data = component->data; diff --git a/src/components/player_system.c b/src/components/player_system.c index 9fdcb16..624f7fd 100644 --- a/src/components/player_system.c +++ b/src/components/player_system.c @@ -6,7 +6,6 @@ #include "physics_system.h" #include "memory_alloc.h" -// No args inline int player_system_init(component_t *component) { player_system_data_t *system_data = component->data; diff --git a/src/components/sprite_component.c b/src/components/sprite_component.c index 022e34f..fceadbb 100644 --- a/src/components/sprite_component.c +++ b/src/components/sprite_component.c @@ -4,7 +4,6 @@ #include "display.h" #include "memory_alloc.h" -// Arg : const char *name inline int sprite_component_init(component_t *component) { sprite_component_data_t *component_data = component->data; diff --git a/src/components/transform_component.c b/src/components/transform_component.c index 33aef2e..120596f 100644 --- a/src/components/transform_component.c +++ b/src/components/transform_component.c @@ -3,7 +3,6 @@ #include "game.h" #include "memory_alloc.h" -// Args : frect_t bounds, double speed int transform_component_init(component_t *component) { transform_component_data_t *component_data = component->data;