From 768b140f6659e6e110d37a7f8557c3da3669155b Mon Sep 17 00:00:00 2001 From: salaaad2 Date: Wed, 18 Mar 2020 22:35:26 +0100 Subject: fatfingers master --- inc/cub3d.h | 2 +- inc/cub3d_structs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') diff --git a/inc/cub3d.h b/inc/cub3d.h index 9c906be..a7f6b7d 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -77,7 +77,7 @@ void ft_draw_circle(float a, float b, int8_t ft_draw_verline(t_cub *cl, int32_t x, int32_t y1, int32_t y2); void ft_sprite_h_w(t_cub *cl, t_sprite *sprite); -void ft_sort_sprites(t_cub *cl); +void ft_sort_sprites(t_cub *cl, int16_t i, int16_t j); void ft_calc_sprite(t_cub *cl); void ft_draw_sprite(t_cub *cl, t_sprite *sprite); void ft_calc_trap(t_cub *cl); diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h index 6db79de..29c6ac7 100644 --- a/inc/cub3d_structs.h +++ b/inc/cub3d_structs.h @@ -195,7 +195,7 @@ typedef struct s_map size_t map_w; size_t map_h; size_t mapl_len; - int32_t sprite_nbr; + int32_t sprite_nbr[4096]; uint8_t sprite_var; int32_t sprite_order[8][4096]; int32_t traps_nbr; -- cgit v1.2.3