First shot on structures, First shot on option

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
This commit is contained in:
B.Goulard 2024-11-09 01:53:22 +01:00
parent be6038dcc8
commit 8ee1c5f85a
14 changed files with 580 additions and 79 deletions

View file

@ -6,15 +6,16 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/30 16:43:20 by rparodi #+# #+# */
/* Updated: 2024/10/31 11:23:20 by rparodi ### ########.fr */
/* Updated: 2024/11/09 00:42:02 by bgoulard ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef MESSAGE_ERROR_H
# define MESSAGE_ERROR_H
# define ERR_ARGS_COUNT "You have to give only the map on arguments !\n"
# define INV_NAME_MAP "The name of the map have to finish by `.cub` !\n"
# 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"