From d669957a4917d5928ca1a10d635409891ec19ed0 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 21 Mar 2020 22:06:14 +0100 Subject: Few fixes --- inc/cub3d_defines.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'inc') diff --git a/inc/cub3d_defines.h b/inc/cub3d_defines.h index 5e7a143..6148cd2 100644 --- a/inc/cub3d_defines.h +++ b/inc/cub3d_defines.h @@ -15,16 +15,18 @@ /* ** ====== RETURN VALUES ====== -*/ - -/* +** ** ret vals: +** --------- ** 1: no argv[1] -** 2: failed structs init -** 3: failed mlx init -** 4: map error -** 5: no map -** 6: read error +** 2: allocation error +** 3: failed structs init +** 4: failed mlx init +** 5: map error +** 6: no map +** 7: read error +** 8: bmp related error +** 9: missing some media files */ enum @@ -43,9 +45,7 @@ enum /* ** ====== OS ====== -*/ - -/* +** ** 1: Darwin ** 2: Linux */ -- cgit v1.2.3