detection de click dans lediteur

This commit is contained in:
cyjullien1
2025-01-06 12:55:04 +01:00
parent e8c179fa83
commit 9c5727af67
3 changed files with 23 additions and 23 deletions

View File

@@ -63,7 +63,7 @@ int main ()
{
printf("editeur de map");
//newmap
output = inEditorLoop(menu, &dim_menu, &pos, &null, 1, &display_user, &score_user);
output = inEditorLoop(tab2d, &dim, playerPos, targets, nbr_targets, &display_user, &score_user);
}
else
{
@@ -107,6 +107,8 @@ int main ()
fclose(src);
fclose(file);
tab2d = creatArea2D(SIZE_PLAY, SIZE_PLAY);
targets = fileToTab2D(txt, tab2d, SIZE_PLAY, playerPos, &nbr_targets);
output = -2;
}
}