From fc792e8616d54defb50d26ed65b99cf91c18fe39 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Fri, 28 Feb 2020 20:36:49 +0100 Subject: GNL fix --- inc/cub3d_defines.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'inc/cub3d_defines.h') diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 5a8112b..8b15838 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -13,6 +13,31 @@ # ifndef CUB3D_DEFINES_H # define CUB3D_DEFINES_H +/* +** ====== RETURN VALUES ====== +*/ + +enum retvals +{ + RET_FINE, + RET_NO_ARGV, + RET_FAILED_STRUCTS, + RET_FAILED_MLX, + RET_MAP_ERROR, + RET_NO_MAP, + RET_READ_ERROR +}; + +/* +** ret vals: +** 1: no argv[1] +** 2: failed structs init +** 3: failed mlx init +** 4: map error +** 5: no map +** 6: read error +*/ + /* ** ====== KEYS ====== */ -- cgit v1.2.3