- added debouncing option

- added some gif for presentation
This commit is contained in:
asus
2024-01-19 20:09:21 +01:00
parent 60b4a82489
commit 211204e888
8 changed files with 40 additions and 15 deletions

View File

@@ -162,15 +162,16 @@ typedef struct s_plr
typedef struct s_game
{
void *mlx_ptr;
t_win win;
t_img img;
t_plr plr;
t_rcast rcast;
t_txt txt;
t_map map;
int fd;
int k_hook[MAX_NB_KEY];
void *mlx_ptr;
t_win win;
t_img img;
t_plr plr;
t_rcast rcast;
t_txt txt;
t_map map;
int fd;
int k_hook[MAX_NB_KEY];
struct timeval last_keypress_time;
} t_game;
#endif