mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 09:58:09 +01:00
norme: Fixed norme errors
This commit is contained in:
parent
5da3583077
commit
27af850525
6 changed files with 65 additions and 18 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/08/18 13:05:31 by kcolin #+# #+# */
|
||||
/* Updated: 2025/09/10 16:00:47 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/09/15 13:05:37 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -26,6 +26,7 @@ void destroy_texture(t_cub3d_data *data, t_img_data *data_img)
|
|||
void destroy_textures(t_cub3d_data *data)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (data->no_texture)
|
||||
mlx_destroy_image(data->mlx, data->no_texture->img);
|
||||
free(data->no_texture);
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tchampio <tchampio@student.42lehavre. +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/07/31 13:28:47 by tchampio #+# #+# */
|
||||
/* Updated: 2025/09/10 15:51:42 by tchampio ### ########.fr */
|
||||
/* Updated: 2025/09/15 13:05:14 by tchampio ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,6 +17,6 @@
|
|||
|
||||
void init_cub3d_data(t_cub3d_data *data, char **argv);
|
||||
t_img_data *load_single_texture(t_cub3d_data *data, char *path);
|
||||
void init_player(t_cub3d_data *data, t_player *player, t_mapdata *map);
|
||||
void init_player(t_cub3d_data *data, t_player *player, t_mapdata *map);
|
||||
|
||||
#endif // INITS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue