aboutsummaryrefslogtreecommitdiffstats
path: root/inc/cub3d.h
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cub3d.h')
-rw-r--r--inc/cub3d.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/cub3d.h b/inc/cub3d.h
index 2fd6396..923e877 100644
--- a/inc/cub3d.h
+++ b/inc/cub3d.h
@@ -57,8 +57,15 @@ typedef struct s_cub
size_t line_chk;
uint8_t isspawn;
struct s_win *wlist;
+ struct s_player *plist;
} t_cub;
+typedef struct s_player
+{
+ size_t pos_x;
+ size_t pos_y;
+} t_player;
+
t_win *ft_init_win(void);
t_cub *ft_init_cub(void);
int ft_key_event(int keycode, void *param);