/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* badeline.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: kdx # define BADELINE_H # define BADELINE_DELAY 30 typedef struct s_player t_player; typedef struct s_badeline { t_player *follow; double queue[BADELINE_DELAY][2]; double erase[2]; int queue_size; bool active; } t_badeline; void badeline_update(t_badeline *badeline); void badeline_erase(t_sily *sily, t_badeline *badeline); void badeline_draw(t_sily *sily, t_badeline *badeline); #endif