detection de click dans lediteur
This commit is contained in:
@@ -1,11 +0,0 @@
|
|||||||
###################
|
|
||||||
#P #
|
|
||||||
# #
|
|
||||||
# #
|
|
||||||
# #
|
|
||||||
# C #
|
|
||||||
# #
|
|
||||||
# I #
|
|
||||||
# #
|
|
||||||
# #
|
|
||||||
###################
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
###################
|
####################
|
||||||
#P #
|
#P #
|
||||||
# #
|
# #
|
||||||
# #
|
# #
|
||||||
@@ -8,4 +8,13 @@
|
|||||||
# I #
|
# I #
|
||||||
# #
|
# #
|
||||||
# #
|
# #
|
||||||
###################
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
# #
|
||||||
|
####################
|
||||||
@@ -63,7 +63,7 @@ int main ()
|
|||||||
{
|
{
|
||||||
printf("editeur de map");
|
printf("editeur de map");
|
||||||
//newmap
|
//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
|
else
|
||||||
{
|
{
|
||||||
@@ -107,6 +107,8 @@ int main ()
|
|||||||
|
|
||||||
fclose(src);
|
fclose(src);
|
||||||
fclose(file);
|
fclose(file);
|
||||||
|
tab2d = creatArea2D(SIZE_PLAY, SIZE_PLAY);
|
||||||
|
targets = fileToTab2D(txt, tab2d, SIZE_PLAY, playerPos, &nbr_targets);
|
||||||
output = -2;
|
output = -2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user