diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-11-15 15:18:38 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-11-15 15:18:38 +0100 |
| commit | a4fd7a681376899526cfe38c0449f90feb0f582e (patch) | |
| tree | 1cf4a074b36903a025652a6ef1ae55e280b6418c /cub3d.h | |
| parent | 9e1f4605408821b74c9e74216fbf995d29a3921c (diff) | |
| download | cub3d-a4fd7a681376899526cfe38c0449f90feb0f582e.tar.gz cub3d-a4fd7a681376899526cfe38c0449f90feb0f582e.tar.bz2 cub3d-a4fd7a681376899526cfe38c0449f90feb0f582e.zip | |
Added miniLibX man pages
Diffstat (limited to 'cub3d.h')
| -rw-r--r-- | cub3d.h | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -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 |
