multi key action
This commit is contained in:
@@ -24,9 +24,18 @@ void init_parsing(int ac, char **av, t_game *game);
|
||||
|
||||
// key_hook.c
|
||||
int keypress(int keycode, t_game *game);
|
||||
int keyrelease(int keycode, t_game *game);
|
||||
|
||||
// key_do_action.c
|
||||
int shut_down(t_game *game);
|
||||
void keypress_do_action(t_game *game);
|
||||
|
||||
// key_is_action_1.c
|
||||
int is_esc(int *k_hook);
|
||||
int is_go_left(int *k_hook);
|
||||
int is_go_right(int *k_hook);
|
||||
int is_go_forward(int *k_hook);
|
||||
int is_go_backward(int *k_hook);
|
||||
|
||||
|
||||
// -------------------------------
|
||||
|
||||
Reference in New Issue
Block a user