39 lines
1.7 KiB
C
39 lines
1.7 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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 */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
//general
|
|
#define CRASH "Memory problems or open failed"
|
|
|
|
//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"
|
|
|
|
//for information map
|
|
|
|
#define ERR_IMG "Problem with image"
|
|
#define WRONG_F_IMG "Wrong type of 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"
|
|
#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"
|