aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 18:53:35 +0100
committerRudy Bousset <rbousset@z2r4p3.le-101.fr>2020-03-09 18:53:35 +0100
commit00f719e87a853f1c0b5dfc7085f605b452e75314 (patch)
tree1af5b195d41e26a284bec552aa9f07e4cc217db8 /inc/cub3d.h
parentNorme (diff)
parentgang (diff)
download42-cub3d-00f719e87a853f1c0b5dfc7085f605b452e75314.tar.gz
42-cub3d-00f719e87a853f1c0b5dfc7085f605b452e75314.tar.bz2
42-cub3d-00f719e87a853f1c0b5dfc7085f605b452e75314.tar.xz
42-cub3d-00f719e87a853f1c0b5dfc7085f605b452e75314.tar.zst
42-cub3d-00f719e87a853f1c0b5dfc7085f605b452e75314.zip
Merge branch 'shpritz'
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index a961dcb..615112b 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -68,11 +68,13 @@ void ft_draw_texture(t_cub *cl, int x, int y, int tex_y);
int8_t ft_draw_hud(t_cub *clist);
void ft_draw_scene(t_cub *clist);
void ft_draw_scene_bmp(t_cub *clist);
-void ft_draw_sprite(t_cub *cl, int i);
void ft_draw_circle(float a, float b,
int32_t color, t_cub *cl);
int8_t ft_draw_verline(t_cub *cl, int32_t x,
int32_t y1, int32_t y2);
+void ft_calc_sprite(t_cub *cl);
+void ft_draw_sprite(t_cub *cl, t_sprite *sprite);
+void ft_get_sprite_spawn(t_cub *cl);
/*
** ====== PARSING ======