aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-27 13:55:24 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-27 13:55:24 +0100
commitb626f171f26f709b27e790911b48f7a4272dc707 (patch)
treede04209c5ffecc5f26baac853951bc1748c925d4 /inc/cub3d.h
parentReady to try traps (diff)
download42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.gz
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.bz2
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.xz
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.tar.zst
42-cub3d-b626f171f26f709b27e790911b48f7a4272dc707.zip
In progress
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r--inc/cub3d.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index b7f8a36..a6a0db7 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -92,8 +92,6 @@ void ft_sort_sprites(t_cub *cl, int16_t i, int16_t j);
void ft_sort_s_t(t_cub *cl, float **dist_tab);
void ft_calc_sprite(t_cub *cl);
void ft_draw_sprite(t_cub *cl, t_sprite *sprite);
-void ft_calc_trap(t_cub *cl);
-void ft_draw_traps(t_cub *cl, t_sprite *sprite);
void ft_calc_heal(t_cub *cl);
void ft_draw_heals(t_cub *cl, t_sprite *sprite);
void ft_calc_weaps(t_cub *cl);
@@ -145,8 +143,8 @@ int8_t ft_get_tex_nl(char **words, t_cub *clist);
int8_t ft_get_music(char **words, t_cub *clist);
size_t ft_get_map_h(char **map);
size_t ft_get_map_w(char **map);
+int8_t ft_get_next_sprite(t_cub *clist, int s_n, char c, size_t x);
void ft_get_sprite_spawn(t_cub *clist);
-void ft_get_trap_spawn(t_cub *clist);
void ft_get_heal_spawn(t_cub *clist);
void ft_get_weapon_spawn(t_cub *clist);
int8_t ft_check_map_line(char *line, uint8_t l, t_cub *clist);