43 lines
1.4 KiB
C
43 lines
1.4 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* fdf.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/12/11 05:10:42 by adjoly #+# #+# */
|
|
/* Updated: 2023/12/23 08:20:35 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef FDF_H
|
|
# define FDF_H
|
|
|
|
# include <unistd.h>
|
|
# include <stdlib.h>
|
|
# include <stdio.h>
|
|
# include <string.h>
|
|
# include <limits.h>
|
|
# include <fcntl.h>
|
|
# include "libft/libft.h"
|
|
# include "MacroLibX/includes/mlx.h"
|
|
# include "get_next_line/get_next_line.h"
|
|
|
|
typedef struct s_mlx
|
|
{
|
|
void *mlx;
|
|
void *win;
|
|
} t_mlx;
|
|
|
|
typedef struct s_map
|
|
{
|
|
int y;
|
|
char *color;
|
|
} t_map;
|
|
|
|
// int ft_read_map(int fd, char **map);
|
|
// size_t ft_countline_fd(int fd);
|
|
// char **ft_getmap(char *file);
|
|
// char *get_next_line(int fd);
|
|
|
|
#endif |