feat(points): Finished point counter on the right of the screen

Some things are temporary, like the load single image function that
still has comments. I'll make a function like this to restore the
original code (almost). I'll also pass the pathes as constants for the
sake of maintainabilty and try to avoid some of the magic values in the
code for the same purpose.
This commit is contained in:
Theo Champion 2025-08-20 17:08:13 +02:00
parent 242cbe3c7c
commit 761d126ba2
13 changed files with 444 additions and 122 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/08/20 16:08:56 by tchampio ### ########.fr */
/* Updated: 2025/08/20 16:10:45 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -30,6 +30,7 @@ typedef struct s_cub3d_data
t_img_data *we_texture;
t_img_data *ea_texture;
t_img_data *img_data;
t_img_data *point_figures[10];
t_mapdata *map;
t_player player;
t_keypresses keypresses;