add player moves and test image
This commit is contained in:
@@ -6,8 +6,8 @@ t_game *init_game(void)
|
||||
|
||||
game = mb_alloc(sizeof(t_game));
|
||||
// player first position
|
||||
game->plr_x = 16;
|
||||
game->plr_y = 16;
|
||||
game->plr_x = 0;
|
||||
game->plr_y = 0;
|
||||
// size window
|
||||
game->win_size_x = 500;
|
||||
game->win_size_y = 500;
|
||||
@@ -26,4 +26,3 @@ t_game *init_game(void)
|
||||
&(game->sizel), &(game->endian));
|
||||
return (game);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user