Cub3D
 
Loading...
Searching...
No Matches
ft_free.c File Reference
#include "cub3d.h"
#include "data_structure.h"
#include "filter.h"
#include "mlx.h"
#include <stdlib.h>
Include dependency graph for ft_free.c:

Functions

void ft_free_all (t_data *data)
 Free all the memory allocated for the data structure.
 
void ft_free_map (t_map_raoul *map)
 Free the map structure.
 
void ft_free_file (t_map *map)
 Free the strings of the file.
 
void ft_free_textures (t_mlx *mlx, t_textures *textures)
 Free all the textures stored in mlx structure and map struct.
 
void ft_free_textures_path (t_map *map)
 Free the path (name) of the textures in memory.