aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-21 22:06:14 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-21 22:06:14 +0100
commitd669957a4917d5928ca1a10d635409891ec19ed0 (patch)
treed405206f4d9f9d97280be3c97d814535cea44499 /inc
parentfixed most valgrind bullshit (diff)
download42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.gz
42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.bz2
42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.xz
42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.tar.zst
42-cub3d-d669957a4917d5928ca1a10d635409891ec19ed0.zip
Few fixes
Diffstat (limited to 'inc')
-rw-r--r--inc/cub3d_defines.h22
1 files changed, 11 insertions, 11 deletions
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
*/