40 lines
1.5 KiB
TeX
40 lines
1.5 KiB
TeX
\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 $<$SDL2/\+SDL\+\_\+mixer.\+h$>$}\newline
|
|
{\ttfamily \#include $<$time.\+h$>$}\newline
|
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
|
{\ttfamily \#include $<$unistd.\+h$>$}\newline
|
|
{\ttfamily \#include $<$string.\+h$>$}\newline
|
|
Graphe des dépendances par inclusion de main.\+c\+:
|
|
% FIG 0
|
|
\doxysubsubsection*{Macros}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\label{main_8c_aa7f4c4d31124c28a9336ac84241cb2a0}
|
|
\#define {\bfseries SIZE\+\_\+\+PLAY}~20
|
|
\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}
|
|
\doxysubsubsection*{Variables}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\label{main_8c_ae21f357c223957d36046a0d71cc6aed7}
|
|
unsigned int {\bfseries seed} = 0
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Description détaillée}
|
|
Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu. |