diff --git a/rapport/rapport/html/dir_6549bedf82156dc06df95cefb015444e.html b/rapport/rapport/html/dir_6549bedf82156dc06df95cefb015444e.html index 30ffc8d..5e610cc 100644 --- a/rapport/rapport/html/dir_6549bedf82156dc06df95cefb015444e.html +++ b/rapport/rapport/html/dir_6549bedf82156dc06df95cefb015444e.html @@ -99,6 +99,10 @@ Fichiers    function.c   + main.c +  + read.c diff --git a/rapport/rapport/html/doxygen_crawl.html b/rapport/rapport/html/doxygen_crawl.html index a5e7786..c11d5e9 100644 --- a/rapport/rapport/html/doxygen_crawl.html +++ b/rapport/rapport/html/doxygen_crawl.html @@ -13,6 +13,8 @@ + + @@ -74,6 +76,9 @@ + + + diff --git a/rapport/rapport/html/files.html b/rapport/rapport/html/files.html index 934c79c..3d6cebb 100644 --- a/rapport/rapport/html/files.html +++ b/rapport/rapport/html/files.html @@ -97,6 +97,8 @@ $(function(){ initResizable(false); });   script  display.c  function.c + main.c + read.c diff --git a/rapport/rapport/html/globals.html b/rapport/rapport/html/globals.html index fbd9cdf..fbb751e 100644 --- a/rapport/rapport/html/globals.html +++ b/rapport/rapport/html/globals.html @@ -91,6 +91,7 @@ $(function(){ initResizable(false); });
  • creatArea2D() : function.c
  • displayImage() : display.c
  • displayTextSDL() : display.c
  • +
  • fileToTab2D() : read.c
  • free2D() : function.c
  • getMaxSize() : display.c
  • inGameLoop() : function.c
  • diff --git a/rapport/rapport/html/globals_func.html b/rapport/rapport/html/globals_func.html index 467c6f9..5d6f1a8 100644 --- a/rapport/rapport/html/globals_func.html +++ b/rapport/rapport/html/globals_func.html @@ -91,6 +91,7 @@ $(function(){ initResizable(false); });
  • creatArea2D() : function.c
  • displayImage() : display.c
  • displayTextSDL() : display.c
  • +
  • fileToTab2D() : read.c
  • free2D() : function.c
  • getMaxSize() : display.c
  • inGameLoop() : function.c
  • diff --git a/rapport/rapport/html/main_8c.html b/rapport/rapport/html/main_8c.html new file mode 100644 index 0000000..02b23bf --- /dev/null +++ b/rapport/rapport/html/main_8c.html @@ -0,0 +1,167 @@ + + + + + + + +Sokoban: Référence du fichier main.c + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Sokoban +
    +
    +
    + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    Chargement...
    +
    Recherche...
    +
    Aucune correspondance
    +
    +
    +
    +
    + + +
    +
    +
    + +
    Référence du fichier main.c
    +
    +
    +
    #include "../include/display.h"
    +#include "../include/function.h"
    +#include "../include/read.h"
    +#include <SDL2/SDL.h>
    +#include <SDL2/SDL_image.h>
    +#include <SDL2/SDL_render.h>
    +#include <stdio.h>
    +
    +Graphe des dépendances par inclusion de main.c:
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + +

    +Macros

    +#define SIZE_PLAY   19
     
    +#define SIZE_MENU   200;
     
    + + + +

    +Fonctions

    +int main ()
     
    +

    Description détaillée

    +

    Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu.

    +
    + + +
    + + diff --git a/rapport/rapport/html/main_8c__incl.map b/rapport/rapport/html/main_8c__incl.map new file mode 100644 index 0000000..1ddcc34 --- /dev/null +++ b/rapport/rapport/html/main_8c__incl.map @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rapport/rapport/html/main_8c__incl.md5 b/rapport/rapport/html/main_8c__incl.md5 new file mode 100644 index 0000000..46808d2 --- /dev/null +++ b/rapport/rapport/html/main_8c__incl.md5 @@ -0,0 +1 @@ +d2a0fb91742812285ba49f7231625a50 \ No newline at end of file diff --git a/rapport/rapport/html/main_8c__incl.png b/rapport/rapport/html/main_8c__incl.png new file mode 100644 index 0000000..047dd09 --- /dev/null +++ b/rapport/rapport/html/main_8c__incl.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a519dfa72ea387dcb28d706c8f459a15ded6173103b12e3aafb18eaf3d4760f8 +size 40706 diff --git a/rapport/rapport/html/read_8c.html b/rapport/rapport/html/read_8c.html new file mode 100644 index 0000000..e4ac2bc --- /dev/null +++ b/rapport/rapport/html/read_8c.html @@ -0,0 +1,191 @@ + + + + + + + +Sokoban: Référence du fichier read.c + + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    Sokoban +
    +
    +
    + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    Chargement...
    +
    Recherche...
    +
    Aucune correspondance
    +
    +
    +
    +
    + + +
    +
    +
    + +
    Référence du fichier read.c
    +
    +
    +
    #include "../include/function.h"
    +#include <stdio.h>
    +#include <stdlib.h>
    +
    +Graphe des dépendances par inclusion de read.c:
    +
    +
    + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + +

    +Fonctions

    vectfileToTab2D (const char *name_file, char **tab, const unsigned N, vect *player, int *nbr_targets)
     La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier.
     
    +

    Description détaillée

    +

    Ce fichier est le programe qui lit d'autre fichier, nottament les maps.

    +

    Documentation des fonctions

    + +

    ◆ fileToTab2D()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    vect * fileToTab2D (const char * name_file,
    char ** tab,
    const unsigned N,
    vect * player,
    int * nbr_targets )
    +
    + +

    La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier.

    +
    Paramètres
    + + + + + + +
    name_fileLe nom du fichier a ouvrir.
    tabLe tableau 2D carre du plateau de jeu a remplir.
    NLa taille de tab.
    playerLes coordonnée du joueur que le programe vas trouvé.
    nbr_targetsLe nombre de points d'interer trouver.
    +
    +
    +
    Renvoie
    Vect La fonction renvoie le tableau des coordonnée des points d'interer.
    + +
    +
    +
    + + +
    + + diff --git a/rapport/rapport/html/read_8c__incl.map b/rapport/rapport/html/read_8c__incl.map new file mode 100644 index 0000000..d3dba9e --- /dev/null +++ b/rapport/rapport/html/read_8c__incl.map @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/rapport/rapport/html/read_8c__incl.md5 b/rapport/rapport/html/read_8c__incl.md5 new file mode 100644 index 0000000..11b3ec7 --- /dev/null +++ b/rapport/rapport/html/read_8c__incl.md5 @@ -0,0 +1 @@ +b3c9aa533bd44af441539bd0873afb2f \ No newline at end of file diff --git a/rapport/rapport/html/read_8c__incl.png b/rapport/rapport/html/read_8c__incl.png new file mode 100644 index 0000000..b83b936 --- /dev/null +++ b/rapport/rapport/html/read_8c__incl.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39257dcc9d2a6c7d2a7e5f31b09395429b52b25adcfc229f8db283547b25a185 +size 20515 diff --git a/rapport/rapport/html/search/all_4.js b/rapport/rapport/html/search/all_4.js index 210cd49..60113fa 100644 --- a/rapport/rapport/html/search/all_4.js +++ b/rapport/rapport/html/search/all_4.js @@ -1,5 +1,6 @@ var searchData= [ - ['free2d_0',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]], - ['function_2ec_1',['function.c',['../function_8c.html',1,'']]] + ['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]], + ['free2d_1',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]], + ['function_2ec_2',['function.c',['../function_8c.html',1,'']]] ]; diff --git a/rapport/rapport/html/search/all_8.js b/rapport/rapport/html/search/all_8.js index 71ec3d8..6d0ba66 100644 --- a/rapport/rapport/html/search/all_8.js +++ b/rapport/rapport/html/search/all_8.js @@ -1,4 +1,5 @@ var searchData= [ - ['move_0',['move',['../function_8c.html#ac93ca31d854d91eedf3babda7511407d',1,'function.c']]] + ['main_2ec_0',['main.c',['../main_8c.html',1,'']]], + ['move_1',['move',['../function_8c.html#ac93ca31d854d91eedf3babda7511407d',1,'function.c']]] ]; diff --git a/rapport/rapport/html/search/all_a.js b/rapport/rapport/html/search/all_a.js index b38fa21..3d35f41 100644 --- a/rapport/rapport/html/search/all_a.js +++ b/rapport/rapport/html/search/all_a.js @@ -1,6 +1,4 @@ var searchData= [ - ['score_0',['Score',['../structScore.html',1,'']]], - ['screendisplay_1',['screenDisplay',['../display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44',1,'display.c']]], - ['screendisplaygamesdl_2',['screenDisplayGameSDL',['../display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189',1,'display.c']]] + ['read_2ec_0',['read.c',['../read_8c.html',1,'']]] ]; diff --git a/rapport/rapport/html/search/all_b.js b/rapport/rapport/html/search/all_b.js index 55afb60..b38fa21 100644 --- a/rapport/rapport/html/search/all_b.js +++ b/rapport/rapport/html/search/all_b.js @@ -1,4 +1,6 @@ var searchData= [ - ['timetotext_0',['timeToText',['../function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5',1,'function.c']]] + ['score_0',['Score',['../structScore.html',1,'']]], + ['screendisplay_1',['screenDisplay',['../display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44',1,'display.c']]], + ['screendisplaygamesdl_2',['screenDisplayGameSDL',['../display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189',1,'display.c']]] ]; diff --git a/rapport/rapport/html/search/all_c.js b/rapport/rapport/html/search/all_c.js index e5c87fe..55afb60 100644 --- a/rapport/rapport/html/search/all_c.js +++ b/rapport/rapport/html/search/all_c.js @@ -1,4 +1,4 @@ var searchData= [ - ['vecteur_0',['Vecteur',['../structVecteur.html',1,'']]] + ['timetotext_0',['timeToText',['../function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5',1,'function.c']]] ]; diff --git a/rapport/rapport/html/search/all_d.js b/rapport/rapport/html/search/all_d.js index c3856bd..e5c87fe 100644 --- a/rapport/rapport/html/search/all_d.js +++ b/rapport/rapport/html/search/all_d.js @@ -1,8 +1,4 @@ var searchData= [ - ['pattern_20and_20style_0',['How to change the color pattern and style',['../md_doxygen__theme_2README.html#autotoc_md5',1,'']]], - ['plus_20loin_1',['Pour aller plus loin',['../md__2home_2dukantic_2floppy_2sokoban_2README.html#autotoc_md9',1,'']]], - ['plusvect_2',['plusVect',['../function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d',1,'function.c']]], - ['pour_20aller_20plus_20loin_3',['Pour aller plus loin',['../md__2home_2dukantic_2floppy_2sokoban_2README.html#autotoc_md9',1,'']]], - ['principale_4',['Principale',['../md__2home_2dukantic_2floppy_2sokoban_2README.html#autotoc_md8',1,'']]] + ['vecteur_0',['Vecteur',['../structVecteur.html',1,'']]] ]; diff --git a/rapport/rapport/html/search/files_2.js b/rapport/rapport/html/search/files_2.js new file mode 100644 index 0000000..e594314 --- /dev/null +++ b/rapport/rapport/html/search/files_2.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['main_2ec_0',['main.c',['../main_8c.html',1,'']]] +]; diff --git a/rapport/rapport/html/search/files_3.js b/rapport/rapport/html/search/files_3.js new file mode 100644 index 0000000..3d35f41 --- /dev/null +++ b/rapport/rapport/html/search/files_3.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['read_2ec_0',['read.c',['../read_8c.html',1,'']]] +]; diff --git a/rapport/rapport/html/search/functions_3.js b/rapport/rapport/html/search/functions_3.js index 1321a84..4c0aa36 100644 --- a/rapport/rapport/html/search/functions_3.js +++ b/rapport/rapport/html/search/functions_3.js @@ -1,4 +1,5 @@ var searchData= [ - ['free2d_0',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]] + ['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]], + ['free2d_1',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]] ]; diff --git a/rapport/rapport/html/search/searchdata.js b/rapport/rapport/html/search/searchdata.js index 8bf92f5..feb4b82 100644 --- a/rapport/rapport/html/search/searchdata.js +++ b/rapport/rapport/html/search/searchdata.js @@ -1,8 +1,8 @@ var indexSectionsWithContent = { - 0: "bcdefgilmpstv", + 0: "bcdefgilmprstv", 1: "esv", - 2: "df", + 2: "dfmr", 3: "bcdfgilmpst" }; diff --git a/rapport/rapport/latex/display_8c.tex b/rapport/rapport/latex/display_8c.tex index 476c47c..3f02d7b 100644 --- a/rapport/rapport/latex/display_8c.tex +++ b/rapport/rapport/latex/display_8c.tex @@ -11,8 +11,7 @@ {\ttfamily \#include $<$SDL2/\+SDL\+\_\+ttf.\+h$>$}\newline {\ttfamily \#include $<$stdio.\+h$>$}\newline {\ttfamily \#include $<$stdlib.\+h$>$}\newline -Graphe des dépendances par inclusion de display.\+c\+: -\nopagebreak +Graphe des dépendances par inclusion de display.\+c\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/rapport/rapport/latex/files.tex b/rapport/rapport/latex/files.tex index 5070793..87d2159 100644 --- a/rapport/rapport/latex/files.tex +++ b/rapport/rapport/latex/files.tex @@ -5,4 +5,6 @@ Liste de tous les fichiers documentés avec une brève description \+:\begin{Dox \item\contentsline{section}{\textbf{ read.\+h} }{\pageref{read_8h_source}}{} \item\contentsline{section}{\textbf{ display.\+c} }{\pageref{display_8c}}{} \item\contentsline{section}{\textbf{ function.\+c} }{\pageref{function_8c}}{} +\item\contentsline{section}{\textbf{ main.\+c} }{\pageref{main_8c}}{} +\item\contentsline{section}{\textbf{ read.\+c} }{\pageref{read_8c}}{} \end{DoxyCompactList} diff --git a/rapport/rapport/latex/function_8c.tex b/rapport/rapport/latex/function_8c.tex index 178df7a..445cad1 100644 --- a/rapport/rapport/latex/function_8c.tex +++ b/rapport/rapport/latex/function_8c.tex @@ -11,8 +11,7 @@ {\ttfamily \#include $<$stdio.\+h$>$}\newline {\ttfamily \#include $<$stdlib.\+h$>$}\newline {\ttfamily \#include $<$time.\+h$>$}\newline -Graphe des dépendances par inclusion de function.\+c\+: -\nopagebreak +Graphe des dépendances par inclusion de function.\+c\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode diff --git a/rapport/rapport/latex/main_8c.tex b/rapport/rapport/latex/main_8c.tex new file mode 100644 index 0000000..965c89a --- /dev/null +++ b/rapport/rapport/latex/main_8c.tex @@ -0,0 +1,36 @@ +\doxysection{Référence du fichier main.\+c} +\label{main_8c}\index{main.c@{main.c}} +{\ttfamily \#include "{}../include/display.\+h"{}}\newline +{\ttfamily \#include "{}../include/function.\+h"{}}\newline +{\ttfamily \#include "{}../include/read.\+h"{}}\newline +{\ttfamily \#include $<$SDL2/\+SDL.\+h$>$}\newline +{\ttfamily \#include $<$SDL2/\+SDL\+\_\+image.\+h$>$}\newline +{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline +{\ttfamily \#include $<$stdio.\+h$>$}\newline +Graphe des dépendances par inclusion de main.\+c\+: +\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=350pt]{main_8c__incl} +\end{center} +\end{figure} +\doxysubsubsection*{Macros} +\begin{DoxyCompactItemize} +\item +\label{main_8c_aa7f4c4d31124c28a9336ac84241cb2a0} +\#define {\bfseries SIZE\+\_\+\+PLAY}~19 +\item +\label{main_8c_a3e022139041191876c2fa02a3c51549f} +\#define {\bfseries SIZE\+\_\+\+MENU}~200; +\end{DoxyCompactItemize} +\doxysubsubsection*{Fonctions} +\begin{DoxyCompactItemize} +\item +\label{main_8c_ae66f6b31b5ad750f1fe042a706a4e3d4} +int {\bfseries main} () +\end{DoxyCompactItemize} + + +\doxysubsection{Description détaillée} +Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu. diff --git a/rapport/rapport/latex/main_8c__incl.md5 b/rapport/rapport/latex/main_8c__incl.md5 new file mode 100644 index 0000000..199afa2 --- /dev/null +++ b/rapport/rapport/latex/main_8c__incl.md5 @@ -0,0 +1 @@ +232d7231dcadf9742094b890acdd99da \ No newline at end of file diff --git a/rapport/rapport/latex/main_8c__incl.pdf b/rapport/rapport/latex/main_8c__incl.pdf new file mode 100644 index 0000000..c9aa4bf Binary files /dev/null and b/rapport/rapport/latex/main_8c__incl.pdf differ diff --git a/rapport/rapport/latex/read_8c.tex b/rapport/rapport/latex/read_8c.tex new file mode 100644 index 0000000..fa96c18 --- /dev/null +++ b/rapport/rapport/latex/read_8c.tex @@ -0,0 +1,50 @@ +\doxysection{Référence du fichier read.\+c} +\label{read_8c}\index{read.c@{read.c}} +{\ttfamily \#include "{}../include/function.\+h"{}}\newline +{\ttfamily \#include $<$stdio.\+h$>$}\newline +{\ttfamily \#include $<$stdlib.\+h$>$}\newline +Graphe des dépendances par inclusion de read.\+c\+: +\nopagebreak +\begin{figure}[H] +\begin{center} +\leavevmode +\includegraphics[width=350pt]{read_8c__incl} +\end{center} +\end{figure} +\doxysubsubsection*{Fonctions} +\begin{DoxyCompactItemize} +\item +\textbf{ vect} $\ast$ \textbf{ file\+To\+Tab2D} (const char $\ast$name\+\_\+file, char $\ast$$\ast$tab, const unsigned N, \textbf{ vect} $\ast$player, int $\ast$nbr\+\_\+targets) +\begin{DoxyCompactList}\small\item\em La fonction permet de stocker la zone de jeu en fonction de la lecture d\textquotesingle{}un fichier. \end{DoxyCompactList}\end{DoxyCompactItemize} + + +\doxysubsection{Description détaillée} +Ce fichier est le programe qui lit d\textquotesingle{}autre fichier, nottament les maps. + +\doxysubsection{Documentation des fonctions} +\index{read.c@{read.c}!fileToTab2D@{fileToTab2D}} +\index{fileToTab2D@{fileToTab2D}!read.c@{read.c}} +\doxysubsubsection{fileToTab2D()} +{\footnotesize\ttfamily \label{read_8c_a223592601b10fb9487363ff4bb417d5d} +\textbf{ vect} $\ast$ file\+To\+Tab2D (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name\+\_\+file}{, }\item[{char $\ast$$\ast$}]{tab}{, }\item[{const unsigned}]{N}{, }\item[{\textbf{ vect} $\ast$}]{player}{, }\item[{int $\ast$}]{nbr\+\_\+targets}{}\end{DoxyParamCaption})} + + + +La fonction permet de stocker la zone de jeu en fonction de la lecture d\textquotesingle{}un fichier. + + +\begin{DoxyParams}{Paramètres} +{\em name\+\_\+file} & Le nom du fichier a ouvrir. \\ +\hline +{\em tab} & Le tableau 2D carre du plateau de jeu a remplir. \\ +\hline +{\em N} & La taille de tab. \\ +\hline +{\em player} & Les coordonnée du joueur que le programe vas trouvé. \\ +\hline +{\em nbr\+\_\+targets} & Le nombre de points d\textquotesingle{}interer trouver. \\ +\hline +\end{DoxyParams} +\begin{DoxyReturn}{Renvoie} +Vect La fonction renvoie le tableau des coordonnée des points d\textquotesingle{}interer. +\end{DoxyReturn} diff --git a/rapport/rapport/latex/read_8c__incl.md5 b/rapport/rapport/latex/read_8c__incl.md5 new file mode 100644 index 0000000..9136fd7 --- /dev/null +++ b/rapport/rapport/latex/read_8c__incl.md5 @@ -0,0 +1 @@ +4da0af456ac304b5da834726a0140417 \ No newline at end of file diff --git a/rapport/rapport/latex/read_8c__incl.pdf b/rapport/rapport/latex/read_8c__incl.pdf new file mode 100644 index 0000000..6bbc74f Binary files /dev/null and b/rapport/rapport/latex/read_8c__incl.pdf differ diff --git a/rapport/rapport/latex/refman.tex b/rapport/rapport/latex/refman.tex index fb8684f..14b7318 100644 --- a/rapport/rapport/latex/refman.tex +++ b/rapport/rapport/latex/refman.tex @@ -218,6 +218,8 @@ \input{read_8h_source} \input{display_8c} \input{function_8c} +\input{main_8c} +\input{read_8c} %--- End generated contents --- % Index \backmatter diff --git a/script/main.c b/script/main.c index 4f10a1e..e0bfe95 100644 --- a/script/main.c +++ b/script/main.c @@ -1,3 +1,8 @@ +/** +* \file main.c +* +* Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu. +*/ #include "../include/display.h" #include "../include/function.h" #include "../include/read.h" diff --git a/script/read.c b/script/read.c index c63c89a..dff6e89 100644 --- a/script/read.c +++ b/script/read.c @@ -1,7 +1,20 @@ +/** +* \file read.c +* Ce fichier est le programe qui lit d'autre fichier, nottament les maps. +*/ #include "../include/function.h" #include #include +/** +* \brief La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier. +* \param name_file Le nom du fichier a ouvrir. +* \param tab Le tableau 2D carre du plateau de jeu a remplir. +* \param N La taille de tab. +* \param player Les coordonnée du joueur que le programe vas trouvé. +* \param nbr_targets Le nombre de points d'interer trouver. +* \return Vect La fonction renvoie le tableau des coordonnée des points d'interer. +*/ vect *fileToTab2D (const char *name_file, char **tab, const unsigned N, vect *player, int *nbr_targets) {