Removed useless comments and moved includes in right place.
This commit is contained in:
parent
880c139359
commit
a636553e39
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue