- added debouncing option
- added some gif for presentation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user