diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h index 80ea1e2..454dc46 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -85,6 +85,7 @@ void ft_draw_scene(t_cub *clist); void ft_draw_scene_bmp(t_cub *clist); void ft_draw_circle(float a, float b, int32_t color, t_cub *cl); +void ft_draw_verline(t_cub *cl, int32_t x, int32_t y, int32_t y2); void ft_sprite_h_w(t_cub *cl, t_sprite *sprite); void ft_sort_sprites(t_cub *cl, int16_t i, int16_t j); void ft_calc_sprite(t_cub *cl); @@ -106,6 +107,14 @@ void *ft_life_bar_thread(void *vargp); void *ft_ammo_bar_thread(void *vargp); void *ft_health_cap_thread(void *vargp); void *ft_ammo_cap_thread(void *vargp); +void *ft_wall_one(void *vargp); +void *ft_wall_two(void *vargp); +void *ft_wall_three(void *vargp); +void *ft_wall_four(void *vargp); +void *ft_floor_one(void *vargp); +void *ft_floor_two(void *vargp); +void *ft_floor_three(void *vargp); +void *ft_floor_four(void *vargp); /* ** ====== PARSING ====== @@ -172,6 +181,12 @@ void ft_detection_init_y(t_cub *cl); void *ft_wall_cast(void *vargp); void *ft_floor_cast(void *vargp); void ft_floor_cast_inits(uint16_t y, t_ray *rl, t_cub *cl); +void ft_calc_tex(t_cub *cl); +void ft_initray(uint16_t i, t_cub *cl); +void ft_castray_loop(uint16_t i, t_win *wl, t_cub *cl); +void ft_set_fc_tex_xy(uint8_t tid, uint16_t x, uint16_t y, t_cub *cl); +void ft_floor_loop(uint16_t y, t_cub *cl); +void ft_floor_cast_loop(uint16_t y, uint16_t x, t_cub *cl); /* ** ====== SFX ====== |