diff options
Diffstat (limited to 'src/ft_tex_init.c')
-rw-r--r-- | src/ft_tex_init.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/src/ft_tex_init.c b/src/ft_tex_init.c index 95c18dd..d629f76 100644 --- a/src/ft_tex_init.c +++ b/src/ft_tex_init.c @@ -58,22 +58,6 @@ static void FT_CAP_AMMO_PATH, &cl->tlist[22].img_w, &cl->tlist[22].img_h); cl->tlist[22].ptr = mlx_get_data_addr(cl->tlist[22].img, &cl->tlist[22].bpp, &cl->tlist[22].sizeline, &cl->tlist[22].endian); - cl->tlist[23].img = mlx_xpm_file_to_image(cl->wlist.wlx, - FT_ENMY_WAIT_PATH, &cl->tlist[23].img_w, &cl->tlist[23].img_h); - cl->tlist[23].ptr = mlx_get_data_addr(cl->tlist[23].img, - &cl->tlist[23].bpp, &cl->tlist[23].sizeline, &cl->tlist[23].endian); - cl->tlist[24].img = mlx_xpm_file_to_image(cl->wlist.wlx, - FT_ENMY_WALK_PATH, &cl->tlist[24].img_w, &cl->tlist[24].img_h); - cl->tlist[24].ptr = mlx_get_data_addr(cl->tlist[24].img, - &cl->tlist[24].bpp, &cl->tlist[24].sizeline, &cl->tlist[24].endian); - cl->tlist[25].img = mlx_xpm_file_to_image(cl->wlist.wlx, - FT_ENMY_FIRE_PATH, &cl->tlist[25].img_w, &cl->tlist[25].img_h); - cl->tlist[25].ptr = mlx_get_data_addr(cl->tlist[25].img, - &cl->tlist[25].bpp, &cl->tlist[25].sizeline, &cl->tlist[25].endian); - cl->tlist[26].img = mlx_xpm_file_to_image(cl->wlist.wlx, - FT_ENMY_DEAD_PATH, &cl->tlist[26].img_w, &cl->tlist[26].img_h); - cl->tlist[26].ptr = mlx_get_data_addr(cl->tlist[26].img, - &cl->tlist[26].bpp, &cl->tlist[26].sizeline, &cl->tlist[26].endian); } static void @@ -96,6 +80,7 @@ static void cl->tlist[20].ptr = mlx_get_data_addr(cl->tlist[20].img, &cl->tlist[20].bpp, &cl->tlist[20].sizeline, &cl->tlist[20].endian); ft_wall_tex_init_even_more_bonus(cl); + ft_tex_bad_boy_init(cl); cl->walltexgood = 1; if (cl->mlist.sprite_var > 1) ft_next_sprite_init(cl); |