42_cub3d/include/minimap.h
mcolonna e7d5a5ce69 clean code *
- add constants for each minimap color
- rename, reorganize and make static minimap functions
- main.c:draw_screen() calls draw_minimap() instead of render().
- clean code and norm
2024-11-18 14:22:11 +01:00

22 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* minimap.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/18 13:09:05 by mcolonna #+# #+# */
/* Updated: 2024/11/18 13:14:12 by mcolonna ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MINIMAP_H
# define MINIMAP_H
# include "utils.h"
/// @brief Draw the minimap on the image.
/// @param img_data Data of the image to draw the minimap on.
void draw_minimap(u_int32_t *img_data);
#endif