1
0
cub3d/includes/mess_err.h

39 lines
1.7 KiB
C
Raw Normal View History

2024-09-10 16:27:06 +02:00
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* mess_err.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/04 21:59:56 by madumerg #+# #+# */
/* Updated: 2024/09/28 16:52:46 by madumerg ### ########.fr */
2024-09-10 16:27:06 +02:00
/* */
/* ************************************************************************** */
//general
#define CRASH "Memory problems or open failed"
2024-09-10 16:27:06 +02:00
//for argurments
#define ERR_ARGS "Wrong number of arguments"
#define ERR_TYPE "Wrong type of file"
#define EMPTY "Empty file"
//for map
#define NOT_CLOSE "The map isn't closed"
#define ERR_PLAYER "Incorrect number of players"
#define WRONG_CHAR "Invalid character in the map"
2024-09-10 16:27:06 +02:00
//for information map
2024-09-16 15:09:07 +02:00
#define ERR_IMG "Problem with image"
#define WRONG_F_IMG "Wrong type of image"
2024-09-16 15:09:07 +02:00
#define DUP_ACR "There is a duplicate acronym"
#define DUP_IMG "There is a duplicate image"
#define NOT_FOUND "Information searched is not complete"
#define ERR_COLOR "The number is not between 0 and 255"
#define DUP_COLOR "Impossible to have the same color on the floor and ceiling"
#define WRONG_F_RGB "Wrong format RGB"
#define INVALID_CHAR "Invalid character in format color"