aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d_structs.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--inc/cub3d_structs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/cub3d_structs.h b/inc/cub3d_structs.h
index 4c397b2..a173e8c 100644
--- a/inc/cub3d_structs.h
+++ b/inc/cub3d_structs.h
@@ -125,9 +125,10 @@ typedef struct s_map
typedef struct s_cub
{
uint8_t w_side;
- uint8_t minimap;
+ uint8_t ishud;
char errmsg[40];
int32_t key_input[5];
+ int (*key_ptr[6])(struct s_cub*);
struct s_win *wlist;
struct s_player *plist;
struct s_map *mlist;