From a4fd7a681376899526cfe38c0449f90feb0f582e Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 15 Nov 2019 15:18:38 +0100 Subject: Added miniLibX man pages --- cub3d.h | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) (limited to 'cub3d.h') diff --git a/cub3d.h b/cub3d.h index 6f9ebef..aa1f80d 100644 --- a/cub3d.h +++ b/cub3d.h @@ -33,9 +33,9 @@ typedef int t_bool; typedef struct { - int x; - int y; -} t_vector; + float x; + float y; +} t_vector; typedef struct { @@ -79,6 +79,10 @@ typedef struct s_state t_vector pos; t_vector dir; t_vector plane; + t_map map; + int width; + int height; + } t_state; typedef t_bool (*t_option_parser_func)(t_parsing *parsing, char *line); @@ -118,4 +122,16 @@ t_bool parse_ceilling_color(t_parsing *parsing, char *line); int handle_key(int key, void *param); +/* +** graphics.c +*/ + +t_state *create_state(t_parsing *parsing); + +/* +** render.c +*/ + + + #endif -- cgit