From 88c8592fa835c7c5a010f69e80e09a8e38caa09f Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 18:37:10 +0100 Subject: Added player list --- inc/cub3d.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'inc') 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); -- cgit v1.2.3