sixty_percent
This commit is contained in:
@ -6,14 +6,15 @@
|
||||
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/04 17:01:05 by madumerg #+# #+# */
|
||||
/* Updated: 2024/09/12 12:54:48 by madumerg ### ########.fr */
|
||||
/* Updated: 2024/09/15 20:43:25 by madumerg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef CUB3D_H
|
||||
# define CUB3D_H
|
||||
|
||||
# include "../libft/includes/libft.h"
|
||||
# include "libft.h"
|
||||
# include "ft_printf.h"
|
||||
# include "mess_err.h"
|
||||
# include <stdlib.h>
|
||||
# include <math.h>
|
||||
|
@ -6,7 +6,7 @@
|
||||
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/04 21:59:56 by madumerg #+# #+# */
|
||||
/* Updated: 2024/09/11 14:18:39 by madumerg ### ########.fr */
|
||||
/* Updated: 2024/09/16 12:18:42 by madumerg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -23,3 +23,8 @@
|
||||
#define WRONG_CHAR "Invalid character in the map"
|
||||
|
||||
//for permission
|
||||
|
||||
#define ERR_IMG "Problem with image"
|
||||
#define DUP_ACR "There is a duplicate acronym"
|
||||
#define DUP_IMG "There is a duplicate image"
|
||||
#define NOT_FOUND "Information searched is not complete"
|
||||
|
@ -6,7 +6,7 @@
|
||||
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/12 12:49:16 by madumerg #+# #+# */
|
||||
/* Updated: 2024/09/12 16:58:29 by madumerg ### ########.fr */
|
||||
/* Updated: 2024/09/16 14:23:15 by madumerg ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -21,32 +21,46 @@ typedef struct s_coord
|
||||
|
||||
typedef struct s_pars
|
||||
{
|
||||
int f_color;
|
||||
int c_color;
|
||||
int f_color;
|
||||
int c_color;
|
||||
t_coord coor;
|
||||
char *no_png;
|
||||
char *so_png;
|
||||
char *we_png;
|
||||
char *ea_png;
|
||||
} t_pars;
|
||||
|
||||
//check_arg.c
|
||||
int check_err_arg(int ac, char **av);
|
||||
int check_format_file(char *file);
|
||||
int check_err_arg(int ac, char **av);
|
||||
int check_format_file(char *file);
|
||||
|
||||
//check_id_text.c
|
||||
int check_texture(char *sign, char *path, t_pars *pars);
|
||||
int detect_info(char **tab, t_pars *pars);
|
||||
int check_dup_img(t_pars *pars);
|
||||
|
||||
//check_map.c
|
||||
int err_not_close(char after, char before, char down, char up);
|
||||
int actual_char(char actual);
|
||||
int check_map_close(char **map);
|
||||
int count_player(char **map);
|
||||
int check_char_map(char **map);
|
||||
int err_not_close(char after, char before, char down, char up);
|
||||
int actual_char(char actual);
|
||||
int check_map_close(char **map);
|
||||
int count_player(char **map);
|
||||
int check_char_map(char **map);
|
||||
|
||||
//check_rgb.c
|
||||
int check_format_rgb(char **tab);
|
||||
|
||||
//principal_pars.c
|
||||
int verif_info_map(char *av);
|
||||
int verif_all_map(char **map);
|
||||
int verif_info_file(char *av, t_pars *pars);
|
||||
int verif_all_map(char **map);
|
||||
char **parse_map(char *map);
|
||||
|
||||
//mess_error.c in utils
|
||||
int err_mess(char *str);
|
||||
int err_mess(char *str);
|
||||
|
||||
//parse_utils.c
|
||||
char **info_map(char **file);
|
||||
void convert_white_s(char *str);
|
||||
int verif_char(char c);
|
||||
int verif_char(char c);
|
||||
int count_tab(char **tab);
|
||||
int space_line(char *line);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user