From a05a68ed6d868d17827159e5df16069a649d2263 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 17 Jan 2020 14:51:23 +0100 Subject: No more segfault (for now), raycasting is broken --- cub3d.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cub3d.h') diff --git a/cub3d.h b/cub3d.h index 3151574..e57fea3 100644 --- a/cub3d.h +++ b/cub3d.h @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/11/15 06:40:37 by cacharle #+# #+# */ -/* Updated: 2020/01/16 08:08:16 by cacharle ### ########.fr */ +/* Updated: 2020/01/17 14:00:00 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ #include @@ -186,7 +186,8 @@ t_bool parse_ceilling_color(t_state *state, char *line); ** event.c */ -int event_keydown(int key, void *param); +int event_keydown(int key, t_state *state); +int event_quit(t_state *state); /* ** state.c -- cgit