aboutsummaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d.h1
-rw-r--r--inc/cub3d_structs.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 4f28a84..f534fe8 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -85,5 +85,6 @@ void ft_draw_life_bar(size_t map_w,
void ft_music(t_cub *cl);
void ft_draw_sprite(t_cub *cl, int i);
int8_t ft_warp_level(t_cub *cl);
+t_rgb ft_init_rgb(void);
# endif
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 0ed8e63..26e7455 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -131,6 +131,7 @@ typedef struct s_cub
{
uint8_t w_side;
uint8_t ishud;
+ uint16_t currlvl;
char errmsg[40];
int32_t key_input[5];
int (*key_ptr[6])(struct s_cub*);