Removed useless comments and moved includes in right place.

This commit is contained in:
Ulysse Cura 2026-08-08 20:49:29 +02:00
parent 880c139359
commit a636553e39
6 changed files with 1 additions and 7 deletions

View File

@ -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;

View File

@ -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)
{

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;