option:
Added options for help, debug, save, file using bgoulard lib
structures:
Moved cub3d.h structures to cub3d_struct.h
Added color, dpoint, ipoint, tile, cli, error
Modified t_map, t_player to use previously mentioned struct :
ipoint, dpoint, tyle
23 lines
1.2 KiB
C
23 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* message_error.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/10/30 16:43:20 by rparodi #+# #+# */
|
|
/* Updated: 2024/11/09 00:42:02 by bgoulard ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef MESSAGE_ERROR_H
|
|
# define MESSAGE_ERROR_H
|
|
|
|
# define E_STR_AC "You have to give map as an argument !\n"
|
|
# define E_STR_EXT_MAP "The name of the map have to finish by `.cub` !\n"
|
|
# define E_STR_NAME_MAP "The name of the map is invalid !\n"
|
|
|
|
# define RED "\x1b[31m"
|
|
# define BOLD_RED "\033[1;31m"
|
|
# define RESET "\x1b[K\x1b[0m"
|
|
#endif
|