add player moves and test image
This commit is contained in:
@@ -26,7 +26,7 @@ void init_parsing(int ac, char **av, t_game *game);
|
||||
// -------------------------------
|
||||
// SRC/HOOK
|
||||
// -------------------------------
|
||||
// key_hook.c
|
||||
// keyhook.c
|
||||
int keypress(int keycode, t_game *game);
|
||||
int keyrelease(int keycode, t_game *game);
|
||||
// key_do_action.c
|
||||
@@ -44,5 +44,12 @@ int is_go_backward(int *k_hook);
|
||||
// -------------------------------
|
||||
// draw.c
|
||||
void draw(t_game *game);
|
||||
// player_moves.c
|
||||
void plr_posx_decrement(t_game *game);
|
||||
void plr_posy_decrement(t_game *game);
|
||||
void plr_posx_increment(t_game *game);
|
||||
void plr_posy_increment(t_game *game);
|
||||
// player_limits.c
|
||||
void plr_limits(t_game *game, int x, int y);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user