X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/snake_gpu.git/blobdiff_plain/af4b787ce73a80f23e9e2b1ef9ac52660e8ab754..48b1bac747f398161b53a67ad80c4596f531c88a:/src/structures.h diff --git a/src/structures.h b/src/structures.h index b2a9554..3977661 100644 --- a/src/structures.h +++ b/src/structures.h @@ -141,5 +141,13 @@ struct snake_node_gpu int last_move ; /* dernier test deplacement accepte */ }; +/* pour mémoriser les coordonnées des diagonales des rectangles en multisnake*/ + struct t_rectangle_snake { + int bpi; + int bpj; + int opi; + int opj; + double crit; + }; #endif