fix doxy comment

This commit is contained in:
2025-01-05 18:29:43 +01:00
parent 4cd165867e
commit e7480472a3
82 changed files with 1310 additions and 470 deletions

View File

@@ -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
@@ -22,9 +21,9 @@ Graphe des dépendances par inclusion de display.\+c\+:
\doxysubsubsection*{Fonctions}
\begin{DoxyCompactItemize}
\item
void \textbf{ screen\+Display} (char $\ast$$\ast$tab, int size)
void \textbf{ screen\+Display} (char $\ast$$\ast$tab, int x, int y)
\begin{DoxyCompactList}\small\item\em La fonction permet d\textquotesingle{}afficher simplement le plateau de jeu dans le terminal. \end{DoxyCompactList}\item
void \textbf{ screen\+Display\+Game\+SDL} (char $\ast$$\ast$tab, \textbf{ dis} $\ast$display\+\_\+user)
void \textbf{ screen\+Display\+Game\+SDL} (char $\ast$$\ast$tab, \textbf{ vect} dim\+\_\+tab, \textbf{ dis} $\ast$display\+\_\+user, \textbf{ vect} $\ast$player\+\_\+pos, int fov)
\begin{DoxyCompactList}\small\item\em La fonction affiche a l\textquotesingle{}aide de SDL la zone de jeu. \end{DoxyCompactList}\item
int \textbf{ get\+Max\+Size} (\textbf{ dis} display\+\_\+user)
\begin{DoxyCompactList}\small\item\em Taille de l\textquotesingle{}ecrant carre en fonction de l\textquotesingle{}ecrant du joueur avec une marge. \end{DoxyCompactList}\item
@@ -36,6 +35,9 @@ void \textbf{ display\+Text\+SDL} (\textbf{ dis} $\ast$display\+\_\+user, char $
\begin{DoxyCompactList}\small\item\em Cette fonction affiche du texte dans la fenetre de l\textquotesingle{}utilisateur. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection{Description détaillée}
Fichier contient tout les fonctions pour l\textquotesingle{}affichage.
\doxysubsection{Documentation des fonctions}
\index{display.c@{display.c}!displayImage@{displayImage}}
\index{displayImage@{displayImage}!display.c@{display.c}}
@@ -134,8 +136,8 @@ Void
\index{display.c@{display.c}!screenDisplay@{screenDisplay}}
\index{screenDisplay@{screenDisplay}!display.c@{display.c}}
\doxysubsubsection{screenDisplay()}
{\footnotesize\ttfamily \label{display_8c_a99b9f82dcee1c08efb2101826d2f6b44}
void screen\+Display (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{int}]{size}{}\end{DoxyParamCaption})}
{\footnotesize\ttfamily \label{display_8c_affba8627c7c6c768268f64fa670207e5}
void screen\+Display (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{int}]{x}{, }\item[{int}]{y}{}\end{DoxyParamCaption})}
@@ -143,9 +145,11 @@ La fonction permet d\textquotesingle{}afficher simplement le plateau de jeu dans
\begin{DoxyParams}{Paramètres}
{\em tab} & Le tableau 2d carre du plateau. \\
{\em tab} & Le tableau 2d du plateau. \\
\hline
{\em size} & La taille du plateau. \\
{\em x} & Le mombre de ligne. \\
\hline
{\em y} & Le nombre de colonnes. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Renvoie}
@@ -154,8 +158,8 @@ Void
\index{display.c@{display.c}!screenDisplayGameSDL@{screenDisplayGameSDL}}
\index{screenDisplayGameSDL@{screenDisplayGameSDL}!display.c@{display.c}}
\doxysubsubsection{screenDisplayGameSDL()}
{\footnotesize\ttfamily \label{display_8c_a6f451a9d0fd4d2325d9f03d7cda4a189}
void screen\+Display\+Game\+SDL (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{}\end{DoxyParamCaption})}
{\footnotesize\ttfamily \label{display_8c_a9ed2db696b902038cc72feee1d0c30f3}
void screen\+Display\+Game\+SDL (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{\textbf{ vect}}]{dim\+\_\+tab}{, }\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{, }\item[{\textbf{ vect} $\ast$}]{player\+\_\+pos}{, }\item[{int}]{fov}{}\end{DoxyParamCaption})}
@@ -167,15 +171,12 @@ La fonction affiche a l\textquotesingle{}aide de SDL la zone de jeu.
\hline
{\em display\+\_\+user} & La structure qui possede tous ce qu\textquotesingle{}il faut pour l\textquotesingle{}affichage SDL \\
\hline
{\em player\+\_\+pos} & la position du joueur \\
\hline
{\em fov} & Le fov de la vision du joueur, -\/1 si desactiver. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Renvoie}
Void
\end{DoxyReturn}
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=312pt]{display_8c_a6f451a9d0fd4d2325d9f03d7cda4a189_cgraph}
\end{center}
\end{figure}