dev: Improved memory management of sprites

This commit is contained in:
Theo Champion 2025-08-11 13:00:38 +02:00
parent 3230a60c9f
commit f1697a6c73
6 changed files with 73 additions and 16 deletions

View file

@ -6,7 +6,7 @@
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/07/17 14:59:37 by kcolin #+# #+# */
/* Updated: 2025/08/07 11:28:49 by tchampio ### ########.fr */
/* Updated: 2025/08/11 11:59:21 by tchampio ### ########.fr */
/* */
/* ************************************************************************** */
@ -20,6 +20,9 @@
# include "utils/keypresses.h"
# include "consts.h"
// FIXME: Delete this line to let it compile for bonus part
# define BONUS 1
// the 4 static sprites are some of the perks and the mystery box
typedef struct s_cub3d_data
{