diff options
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r-- | inc/cub3d.h | 10 |
1 files changed, 10 insertions, 0 deletions
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); |