From a9744a89d31759cf9d5a03beede475ff18a9bf2b Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 5 Feb 2020 20:29:27 +0100 Subject: Changed return values --- inc/cub3d.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'inc/cub3d.h') diff --git a/inc/cub3d.h b/inc/cub3d.h index 7ea11d6..7b6cfc5 100644 --- a/inc/cub3d.h +++ b/inc/cub3d.h @@ -100,6 +100,16 @@ typedef struct s_cub struct s_rgb c_rgb; } t_cub; +/* +** ret vals: +** 1: no argv[1] +** 2: failed structs init +** 3: failed mlx init +** 4: map error +** 5: no map +** 6: not a .cub +*/ + t_win *ft_init_win(void); t_cub *ft_init_cub(void); int ft_key_event(int keycode, void *param); -- cgit v1.2.3