menu affichage

This commit is contained in:
2024-12-28 17:53:03 +01:00
parent cabdc9b3de
commit ceffa3f628
3 changed files with 76 additions and 22 deletions

View File

@@ -43,7 +43,7 @@ int main ()
= fileToTab2D ("maps/original_1.txt", tab2d, SIZE_PLAY, playerPos, &nbr_targets);
inGameLoop (menu, &dim_menu, &pos, targets, nbr_targets,
&display_user, &score_user, true);
SDL_RenderClear(display_user.renderer);
vect dim = {SIZE_PLAY, SIZE_PLAY};
inGameLoop (tab2d, &dim, playerPos, targets, nbr_targets,
&display_user, &score_user, false);