Merge branch 'master' of https://gitlab.isima.fr/audorival/sokoban
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Structures de données</title>
|
<title>Sokoban: Structures de données</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -98,7 +98,7 @@ $(function(){ initResizable(false); });
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Index des structures de données</title>
|
<title>Sokoban: Index des structures de données</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -103,7 +103,7 @@ $(function(){ initResizable(false); });
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Répertoire de référence de script</title>
|
<title>Sokoban: Répertoire de référence de script</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -107,7 +107,7 @@ Fichiers</h2></td></tr>
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Répertoire de référence de include</title>
|
<title>Sokoban: Répertoire de référence de include</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -105,7 +105,7 @@ Fichiers</h2></td></tr>
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence du fichier display.c</title>
|
<title>Sokoban: Référence du fichier display.c</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -150,12 +150,12 @@ Graphe des dépendances par inclusion de display.c:</div>
|
|||||||
</div><table class="memberdecls">
|
</div><table class="memberdecls">
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||||
Fonctions</h2></td></tr>
|
Fonctions</h2></td></tr>
|
||||||
<tr class="memitem:a99b9f82dcee1c08efb2101826d2f6b44" id="r_a99b9f82dcee1c08efb2101826d2f6b44"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a99b9f82dcee1c08efb2101826d2f6b44">screenDisplay</a> (char **tab, int size)</td></tr>
|
<tr class="memitem:affba8627c7c6c768268f64fa670207e5" id="r_affba8627c7c6c768268f64fa670207e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#affba8627c7c6c768268f64fa670207e5">screenDisplay</a> (char **tab, int x, int y)</td></tr>
|
||||||
<tr class="memdesc:a99b9f82dcee1c08efb2101826d2f6b44"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet d'afficher simplement le plateau de jeu dans le terminal. <br /></td></tr>
|
<tr class="memdesc:affba8627c7c6c768268f64fa670207e5"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet d'afficher simplement le plateau de jeu dans le terminal. <br /></td></tr>
|
||||||
<tr class="separator:a99b9f82dcee1c08efb2101826d2f6b44"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:affba8627c7c6c768268f64fa670207e5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a6f451a9d0fd4d2325d9f03d7cda4a189" id="r_a6f451a9d0fd4d2325d9f03d7cda4a189"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a6f451a9d0fd4d2325d9f03d7cda4a189">screenDisplayGameSDL</a> (char **tab, <a class="el" href="structessential__sdl.html">dis</a> *display_user)</td></tr>
|
<tr class="memitem:a9ed2db696b902038cc72feee1d0c30f3" id="r_a9ed2db696b902038cc72feee1d0c30f3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a9ed2db696b902038cc72feee1d0c30f3">screenDisplayGameSDL</a> (char **tab, <a class="el" href="structVecteur.html">vect</a> dim_tab, <a class="el" href="structessential__sdl.html">dis</a> *display_user, <a class="el" href="structVecteur.html">vect</a> *player_pos, int fov)</td></tr>
|
||||||
<tr class="memdesc:a6f451a9d0fd4d2325d9f03d7cda4a189"><td class="mdescLeft"> </td><td class="mdescRight">La fonction affiche a l'aide de SDL la zone de jeu. <br /></td></tr>
|
<tr class="memdesc:a9ed2db696b902038cc72feee1d0c30f3"><td class="mdescLeft"> </td><td class="mdescRight">La fonction affiche a l'aide de SDL la zone de jeu. <br /></td></tr>
|
||||||
<tr class="separator:a6f451a9d0fd4d2325d9f03d7cda4a189"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a9ed2db696b902038cc72feee1d0c30f3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:ab9c0348d4cff3f20344d763945c96b40" id="r_ab9c0348d4cff3f20344d763945c96b40"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab9c0348d4cff3f20344d763945c96b40">getMaxSize</a> (<a class="el" href="structessential__sdl.html">dis</a> display_user)</td></tr>
|
<tr class="memitem:ab9c0348d4cff3f20344d763945c96b40" id="r_ab9c0348d4cff3f20344d763945c96b40"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#ab9c0348d4cff3f20344d763945c96b40">getMaxSize</a> (<a class="el" href="structessential__sdl.html">dis</a> display_user)</td></tr>
|
||||||
<tr class="memdesc:ab9c0348d4cff3f20344d763945c96b40"><td class="mdescLeft"> </td><td class="mdescRight">Taille de l'ecrant carre en fonction de l'ecrant du joueur avec une marge. <br /></td></tr>
|
<tr class="memdesc:ab9c0348d4cff3f20344d763945c96b40"><td class="mdescLeft"> </td><td class="mdescRight">Taille de l'ecrant carre en fonction de l'ecrant du joueur avec une marge. <br /></td></tr>
|
||||||
<tr class="separator:ab9c0348d4cff3f20344d763945c96b40"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:ab9c0348d4cff3f20344d763945c96b40"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
@@ -169,7 +169,9 @@ Fonctions</h2></td></tr>
|
|||||||
<tr class="memdesc:af8c0265ee608800f8daba2540c65c5b0"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction affiche du texte dans la fenetre de l'utilisateur. <br /></td></tr>
|
<tr class="memdesc:af8c0265ee608800f8daba2540c65c5b0"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction affiche du texte dans la fenetre de l'utilisateur. <br /></td></tr>
|
||||||
<tr class="separator:af8c0265ee608800f8daba2540c65c5b0"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:af8c0265ee608800f8daba2540c65c5b0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
</table>
|
</table>
|
||||||
<h2 class="groupheader">Documentation des fonctions</h2>
|
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
||||||
|
<div class="textblock"><p>Fichier contient tout les fonctions pour l'affichage. </p>
|
||||||
|
</div><h2 class="groupheader">Documentation des fonctions</h2>
|
||||||
<a id="a81a2b2da875550c614a407ec735ff9d9" name="a81a2b2da875550c614a407ec735ff9d9"></a>
|
<a id="a81a2b2da875550c614a407ec735ff9d9" name="a81a2b2da875550c614a407ec735ff9d9"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a81a2b2da875550c614a407ec735ff9d9">◆ </a></span>displayImage()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#a81a2b2da875550c614a407ec735ff9d9">◆ </a></span>displayImage()</h2>
|
||||||
|
|
||||||
@@ -324,8 +326,8 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="a99b9f82dcee1c08efb2101826d2f6b44" name="a99b9f82dcee1c08efb2101826d2f6b44"></a>
|
<a id="affba8627c7c6c768268f64fa670207e5" name="affba8627c7c6c768268f64fa670207e5"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a99b9f82dcee1c08efb2101826d2f6b44">◆ </a></span>screenDisplay()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#affba8627c7c6c768268f64fa670207e5">◆ </a></span>screenDisplay()</h2>
|
||||||
|
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
@@ -338,7 +340,12 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>size</em></span> )</td>
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>y</em></span> )</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
@@ -346,8 +353,9 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<p>La fonction permet d'afficher simplement le plateau de jeu dans le terminal. </p>
|
<p>La fonction permet d'afficher simplement le plateau de jeu dans le terminal. </p>
|
||||||
<dl class="params"><dt>Paramètres</dt><dd>
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
<table class="params">
|
<table class="params">
|
||||||
<tr><td class="paramname">tab</td><td>Le tableau 2d carre du plateau. </td></tr>
|
<tr><td class="paramname">tab</td><td>Le tableau 2d du plateau. </td></tr>
|
||||||
<tr><td class="paramname">size</td><td>La taille du plateau. </td></tr>
|
<tr><td class="paramname">x</td><td>Le mombre de ligne. </td></tr>
|
||||||
|
<tr><td class="paramname">y</td><td>Le nombre de colonnes. </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -355,8 +363,8 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="a6f451a9d0fd4d2325d9f03d7cda4a189" name="a6f451a9d0fd4d2325d9f03d7cda4a189"></a>
|
<a id="a9ed2db696b902038cc72feee1d0c30f3" name="a9ed2db696b902038cc72feee1d0c30f3"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a6f451a9d0fd4d2325d9f03d7cda4a189">◆ </a></span>screenDisplayGameSDL()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#a9ed2db696b902038cc72feee1d0c30f3">◆ </a></span>screenDisplayGameSDL()</h2>
|
||||||
|
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
@@ -369,7 +377,22 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="paramtype"><a class="el" href="structessential__sdl.html">dis</a> *</td> <td class="paramname"><span class="paramname"><em>display_user</em></span> )</td>
|
<td class="paramtype"><a class="el" href="structVecteur.html">vect</a></td> <td class="paramname"><span class="paramname"><em>dim_tab</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="structessential__sdl.html">dis</a> *</td> <td class="paramname"><span class="paramname"><em>display_user</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="structVecteur.html">vect</a> *</td> <td class="paramname"><span class="paramname"><em>player_pos</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>fov</em></span> )</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
@@ -379,6 +402,8 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<table class="params">
|
<table class="params">
|
||||||
<tr><td class="paramname">tab</td><td>Le tableau 2d de la zone de jeu. </td></tr>
|
<tr><td class="paramname">tab</td><td>Le tableau 2d de la zone de jeu. </td></tr>
|
||||||
<tr><td class="paramname">display_user</td><td>La structure qui possede tous ce qu'il faut pour l'affichage SDL </td></tr>
|
<tr><td class="paramname">display_user</td><td>La structure qui possede tous ce qu'il faut pour l'affichage SDL </td></tr>
|
||||||
|
<tr><td class="paramname">player_pos</td><td>la position du joueur </td></tr>
|
||||||
|
<tr><td class="paramname">fov</td><td>Le fov de la vision du joueur, -1 si desactiver. </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -386,12 +411,7 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<div class="dynheader">
|
<div class="dynheader">
|
||||||
Voici le graphe d'appel pour cette fonction :</div>
|
Voici le graphe d'appel pour cette fonction :</div>
|
||||||
<div class="dyncontent">
|
<div class="dyncontent">
|
||||||
<div class="center"><img src="display_8c_a6f451a9d0fd4d2325d9f03d7cda4a189_cgraph.png" border="0" usemap="#adisplay_8c_a6f451a9d0fd4d2325d9f03d7cda4a189_cgraph" alt=""/></div>
|
<div class="center"><img src="display_8c_a9ed2db696b902038cc72feee1d0c30f3_cgraph.png" border="0" usemap="#adisplay_8c_a9ed2db696b902038cc72feee1d0c30f3_cgraph" alt=""/></div>
|
||||||
<map name="adisplay_8c_a6f451a9d0fd4d2325d9f03d7cda4a189_cgraph" id="adisplay_8c_a6f451a9d0fd4d2325d9f03d7cda4a189_cgraph">
|
|
||||||
<area shape="rect" title="La fonction affiche a l'aide de SDL la zone de jeu." alt="" coords="5,5,169,31"/>
|
|
||||||
<area shape="rect" href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9" title="Cette fonction affiche l'image dans la fenetre de l'utilisateur." alt="" coords="217,5,314,31"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="169,16,201,16,201,21,169,21"/>
|
|
||||||
</map>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -399,7 +419,7 @@ Voici le graphe d'appel pour cette fonction :</div>
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "displayImage"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="displayImage",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Cette fonction affiche l'image dans la fenetre de l'utilisateur."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="screenDisplayGameSDL",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8c.html#a9ed2db696b902038cc72feee1d0c30f3",tooltip="La fonction affiche a l'aide de SDL la zone de jeu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "screenDisplayGameSDL"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="LR";
|
||||||
|
Node1 [id="Node000001",label="screenDisplayGameSDL",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction affiche a l'aide de SDL la zone de jeu."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="displayImage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8c.html#a81a2b2da875550c614a407ec735ff9d9",tooltip="Cette fonction affiche l'image dans la fenetre de l'utilisateur."];
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Fichier source de display.h</title>
|
<title>Sokoban: Fichier source de display.h</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -99,22 +99,20 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <SDL2/SDL.h></span></div>
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="preprocessor">#include <SDL2/SDL.h></span></div>
|
||||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <SDL2/SDL_ttf.h></span></div>
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include <SDL2/SDL_ttf.h></span></div>
|
||||||
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> </div>
|
||||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keywordtype">void</span> screenDisplay (<span class="keywordtype">char</span> **tab, <span class="keywordtype">int</span> size);</div>
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="keywordtype">void</span> screenDisplay (<span class="keywordtype">char</span> **tab, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y);</div>
|
||||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="keywordtype">int</span> getMaxSize (<a class="code hl_struct" href="structessential__sdl.html">dis</a> display_user);</div>
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="keywordtype">int</span> getMaxSize (dis display_user);</div>
|
||||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keywordtype">void</span> displayImage (SDL_Renderer *renderer, SDL_Texture *texture, <a class="code hl_struct" href="structVecteur.html">vect</a> pos,</div>
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keywordtype">void</span> displayImage (SDL_Renderer *renderer, SDL_Texture *texture, vect pos,</div>
|
||||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <span class="keywordtype">int</span> size);</div>
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <span class="keywordtype">int</span> size);</div>
|
||||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keywordtype">void</span> initSDL (<a class="code hl_struct" href="structessential__sdl.html">dis</a> *display_user);</div>
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keywordtype">void</span> initSDL (dis *display_user);</div>
|
||||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keywordtype">void</span> screenDisplayGameSDL (<span class="keywordtype">char</span> **tab, <a class="code hl_struct" href="structessential__sdl.html">dis</a> *display_user);</div>
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="keywordtype">void</span> displayTextSDL(dis *display_user,<span class="keywordtype">char</span> *text, vect coor, vect size, <span class="keywordtype">int</span> font_size);</div>
|
||||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keywordtype">void</span> displayTextSDL(<a class="code hl_struct" href="structessential__sdl.html">dis</a> *display_user,<span class="keywordtype">char</span> *text, <a class="code hl_struct" href="structVecteur.html">vect</a> coor, <a class="code hl_struct" href="structVecteur.html">vect</a> size, <span class="keywordtype">int</span> font_size);</div>
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keywordtype">void</span> screenDisplayGameSDL (<span class="keywordtype">char</span> **tab,vect dim_tab, dis *display_user, vect *player_pos, <span class="keywordtype">int</span> fov);</div>
|
||||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
|
||||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#endif </span><span class="comment">// !DISPLAY_H</span></div>
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#endif </span><span class="comment">// !DISPLAY_H</span></div>
|
||||||
<div class="ttc" id="astructVecteur_html"><div class="ttname"><a href="structVecteur.html">Vecteur</a></div><div class="ttdef"><b>Definition</b> function.h:20</div></div>
|
|
||||||
<div class="ttc" id="astructessential__sdl_html"><div class="ttname"><a href="structessential__sdl.html">essential_sdl</a></div><div class="ttdef"><b>Definition</b> function.h:34</div></div>
|
|
||||||
</div><!-- fragment --></div><!-- contents -->
|
</div><!-- fragment --></div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
/* The standard CSS for doxygen 1.12.0*/
|
/* The standard CSS for doxygen 1.13.1*/
|
||||||
|
|
||||||
html {
|
html {
|
||||||
/* page base colors */
|
/* page base colors */
|
||||||
@@ -1810,6 +1810,11 @@ dl.invariant dt, dl.pre dt, dl.post dt {
|
|||||||
padding: 2px 0px;
|
padding: 2px 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#side-nav #projectname
|
||||||
|
{
|
||||||
|
font-size: 130%;
|
||||||
|
}
|
||||||
|
|
||||||
#projectbrief
|
#projectbrief
|
||||||
{
|
{
|
||||||
font-size: 90%;
|
font-size: 90%;
|
||||||
@@ -2197,10 +2202,14 @@ th.markdownTableHeadCenter, td.markdownTableBodyCenter {
|
|||||||
text-align: center
|
text-align: center
|
||||||
}
|
}
|
||||||
|
|
||||||
tt, code, kbd, samp
|
tt, code, kbd
|
||||||
{
|
{
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
tt, code, kbd
|
||||||
|
{
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
/* @end */
|
/* @end */
|
||||||
|
|
||||||
u {
|
u {
|
||||||
|
|||||||
@@ -4,81 +4,48 @@
|
|||||||
<title>Validator / crawler helper</title>
|
<title>Validator / crawler helper</title>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="display_8h_source.html"/>
|
|
||||||
<a href="function_8h_source.html"/>
|
|
||||||
<a href="read_8h_source.html"/>
|
|
||||||
<a href="display_8c.html"/>
|
|
||||||
<a href="function_8c.html"/>
|
|
||||||
<a href="main_8c.html"/>
|
|
||||||
<a href="read_8c.html"/>
|
|
||||||
<a href="structessential__sdl.html"/>
|
|
||||||
<a href="structScore.html"/>
|
|
||||||
<a href="structVecteur.html"/>
|
|
||||||
<a href="graph_legend.html"/>
|
|
||||||
<a href="dir_d44c64559bbebec7f509842c48db8b23.html"/>
|
|
||||||
<a href="dir_6549bedf82156dc06df95cefb015444e.html"/>
|
|
||||||
<a href="index.html"/>
|
|
||||||
<a href="doxygen_crawl.html"/>
|
|
||||||
<a href="annotated.html"/>
|
|
||||||
<a href="classes.html"/>
|
|
||||||
<a href="files.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="globals_func.html"/>
|
|
||||||
<a href="annotated.html"/>
|
<a href="annotated.html"/>
|
||||||
<a href="classes.html"/>
|
<a href="classes.html"/>
|
||||||
<a href="dir_6549bedf82156dc06df95cefb015444e.html"/>
|
<a href="dir_6549bedf82156dc06df95cefb015444e.html"/>
|
||||||
<a href="dir_d44c64559bbebec7f509842c48db8b23.html"/>
|
<a href="dir_d44c64559bbebec7f509842c48db8b23.html"/>
|
||||||
<a href="display_8c.html"/>
|
<a href="display_8c.html"/>
|
||||||
<a href="display_8c.html#a46638b64faa8239921eab8c3817847f4"/>
|
<a href="display_8c.html#a46638b64faa8239921eab8c3817847f4"/>
|
||||||
<a href="display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189"/>
|
|
||||||
<a href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9"/>
|
<a href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9"/>
|
||||||
<a href="display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44"/>
|
<a href="display_8c.html#a9ed2db696b902038cc72feee1d0c30f3"/>
|
||||||
<a href="display_8c.html#ab9c0348d4cff3f20344d763945c96b40"/>
|
<a href="display_8c.html#ab9c0348d4cff3f20344d763945c96b40"/>
|
||||||
<a href="display_8c.html#af8c0265ee608800f8daba2540c65c5b0"/>
|
<a href="display_8c.html#af8c0265ee608800f8daba2540c65c5b0"/>
|
||||||
|
<a href="display_8c.html#affba8627c7c6c768268f64fa670207e5"/>
|
||||||
<a href="display_8h_source.html"/>
|
<a href="display_8h_source.html"/>
|
||||||
|
<a href="doxygen_crawl.html"/>
|
||||||
<a href="files.html"/>
|
<a href="files.html"/>
|
||||||
<a href="function_8c.html"/>
|
<a href="function_8c.html"/>
|
||||||
<a href="function_8c.html#a2387ddb7cde4f9d45198b0c131a60878"/>
|
<a href="function_8c.html#a1d06514900b90ce163ebe2d5aefc16db"/>
|
||||||
|
<a href="function_8c.html#a2dc9de2f6fd2bed3619d7ce8c1f05590"/>
|
||||||
|
<a href="function_8c.html#a4a66f9d998c95fde67d6f89fef1fded5"/>
|
||||||
<a href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5"/>
|
<a href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5"/>
|
||||||
<a href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d"/>
|
<a href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d"/>
|
||||||
<a href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a"/>
|
<a href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a"/>
|
||||||
<a href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c"/>
|
<a href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c"/>
|
||||||
<a href="function_8c.html#a76df2bc0c692d3397837706a6852ac36"/>
|
<a href="function_8c.html#a76df2bc0c692d3397837706a6852ac36"/>
|
||||||
|
<a href="function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f"/>
|
||||||
|
<a href="function_8c.html#a9011ea69a97e2101aa9bcc52cc60d4ce"/>
|
||||||
<a href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f"/>
|
<a href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f"/>
|
||||||
<a href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444"/>
|
<a href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444"/>
|
||||||
<a href="function_8c.html#ac93ca31d854d91eedf3babda7511407d"/>
|
<a href="function_8c.html#ac93ca31d854d91eedf3babda7511407d"/>
|
||||||
<a href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b"/>
|
|
||||||
<a href="function_8c.html#af81182d12b72ee349a71d6685217b097"/>
|
|
||||||
<a href="function_8h_source.html"/>
|
<a href="function_8h_source.html"/>
|
||||||
<a href="globals.html"/>
|
<a href="globals.html"/>
|
||||||
<a href="globals_func.html"/>
|
<a href="globals_func.html"/>
|
||||||
|
<a href="graph_legend.html"/>
|
||||||
|
<a href="index.html"/>
|
||||||
<a href="main_8c.html"/>
|
<a href="main_8c.html"/>
|
||||||
<a href="read_8c.html"/>
|
<a href="read_8c.html"/>
|
||||||
<a href="read_8c.html#a223592601b10fb9487363ff4bb417d5d"/>
|
<a href="read_8c.html#a223592601b10fb9487363ff4bb417d5d"/>
|
||||||
|
<a href="read_8c.html#a33f349fef5188584733f08c3a0eddbf2"/>
|
||||||
|
<a href="read_8c.html#aa77b744c6eb2919d8d69ae718210ce55"/>
|
||||||
<a href="read_8h_source.html"/>
|
<a href="read_8h_source.html"/>
|
||||||
<a href="structScore.html"/>
|
<a href="structScore.html"/>
|
||||||
<a href="structVecteur.html"/>
|
<a href="structVecteur.html"/>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Liste des fichiers</title>
|
<title>Sokoban: Liste des fichiers</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -104,7 +104,7 @@ $(function(){ initResizable(false); });
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence du fichier function.c</title>
|
<title>Sokoban: Référence du fichier function.c</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -97,7 +97,9 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="textblock"><code>#include "../include/function.h"</code><br />
|
<div class="textblock"><code>#include "../include/function.h"</code><br />
|
||||||
<code>#include "../include/display.h"</code><br />
|
<code>#include "../include/display.h"</code><br />
|
||||||
<code>#include <SDL2/SDL_events.h></code><br />
|
<code>#include <SDL2/SDL_events.h></code><br />
|
||||||
|
<code>#include <SDL2/SDL_image.h></code><br />
|
||||||
<code>#include <SDL2/SDL_keycode.h></code><br />
|
<code>#include <SDL2/SDL_keycode.h></code><br />
|
||||||
|
<code>#include <SDL2/SDL_rect.h></code><br />
|
||||||
<code>#include <SDL2/SDL_render.h></code><br />
|
<code>#include <SDL2/SDL_render.h></code><br />
|
||||||
<code>#include <SDL2/SDL_scancode.h></code><br />
|
<code>#include <SDL2/SDL_scancode.h></code><br />
|
||||||
<code>#include <SDL2/SDL_timer.h></code><br />
|
<code>#include <SDL2/SDL_timer.h></code><br />
|
||||||
@@ -150,21 +152,21 @@ Graphe des dépendances par inclusion de function.c:</div>
|
|||||||
</div><table class="memberdecls">
|
</div><table class="memberdecls">
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||||
Fonctions</h2></td></tr>
|
Fonctions</h2></td></tr>
|
||||||
<tr class="memitem:af81182d12b72ee349a71d6685217b097" id="r_af81182d12b72ee349a71d6685217b097"><td class="memItemLeft" align="right" valign="top">char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="#af81182d12b72ee349a71d6685217b097">creatArea2D</a> (const unsigned int N)</td></tr>
|
<tr class="memitem:a1d06514900b90ce163ebe2d5aefc16db" id="r_a1d06514900b90ce163ebe2d5aefc16db"><td class="memItemLeft" align="right" valign="top">char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="#a1d06514900b90ce163ebe2d5aefc16db">creatArea2D</a> (const int x, const int y)</td></tr>
|
||||||
<tr class="memdesc:af81182d12b72ee349a71d6685217b097"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction permet de creer une liste 2D carre. <br /></td></tr>
|
<tr class="memdesc:a1d06514900b90ce163ebe2d5aefc16db"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction permet de creer une liste 2D. <br /></td></tr>
|
||||||
<tr class="separator:af81182d12b72ee349a71d6685217b097"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a1d06514900b90ce163ebe2d5aefc16db"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:af19c482f0f97b30cbb0253356ed1724b" id="r_af19c482f0f97b30cbb0253356ed1724b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#af19c482f0f97b30cbb0253356ed1724b">free2D</a> (char **tab, int N)</td></tr>
|
<tr class="memitem:a9011ea69a97e2101aa9bcc52cc60d4ce" id="r_a9011ea69a97e2101aa9bcc52cc60d4ce"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a9011ea69a97e2101aa9bcc52cc60d4ce">free2D</a> (char **tab, int x)</td></tr>
|
||||||
<tr class="memdesc:af19c482f0f97b30cbb0253356ed1724b"><td class="mdescLeft"> </td><td class="mdescRight">Cette fontion permet de liberer l'espace tu tableau 2D de char. <br /></td></tr>
|
<tr class="memdesc:a9011ea69a97e2101aa9bcc52cc60d4ce"><td class="mdescLeft"> </td><td class="mdescRight">Cette fontion permet de liberer l'espace tu tableau 2D de char. <br /></td></tr>
|
||||||
<tr class="separator:af19c482f0f97b30cbb0253356ed1724b"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a9011ea69a97e2101aa9bcc52cc60d4ce"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a76df2bc0c692d3397837706a6852ac36" id="r_a76df2bc0c692d3397837706a6852ac36"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="#a76df2bc0c692d3397837706a6852ac36">canIGoDirection</a> (char valueOfNCase, char valueOfNPlusOneCase)</td></tr>
|
<tr class="memitem:a76df2bc0c692d3397837706a6852ac36" id="r_a76df2bc0c692d3397837706a6852ac36"><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="#a76df2bc0c692d3397837706a6852ac36">canIGoDirection</a> (char valueOfNCase, char valueOfNPlusOneCase)</td></tr>
|
||||||
<tr class="memdesc:a76df2bc0c692d3397837706a6852ac36"><td class="mdescLeft"> </td><td class="mdescRight">La fontction permet de savoir si le joueur peut ce deplacer dans une direction. <br /></td></tr>
|
<tr class="memdesc:a76df2bc0c692d3397837706a6852ac36"><td class="mdescLeft"> </td><td class="mdescRight">La fontction permet de savoir si le joueur peut ce deplacer dans une direction. <br /></td></tr>
|
||||||
<tr class="separator:a76df2bc0c692d3397837706a6852ac36"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a76df2bc0c692d3397837706a6852ac36"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:ac93ca31d854d91eedf3babda7511407d" id="r_ac93ca31d854d91eedf3babda7511407d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#ac93ca31d854d91eedf3babda7511407d">move</a> (char **tab, <a class="el" href="structVecteur.html">vect</a> *playerPos, <a class="el" href="structVecteur.html">vect</a> direction, <a class="el" href="structScore.html">score</a> *score_user)</td></tr>
|
<tr class="memitem:ac93ca31d854d91eedf3babda7511407d" id="r_ac93ca31d854d91eedf3babda7511407d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#ac93ca31d854d91eedf3babda7511407d">move</a> (char **tab, <a class="el" href="structVecteur.html">vect</a> *playerPos, <a class="el" href="structVecteur.html">vect</a> direction, <a class="el" href="structScore.html">score</a> *score_user)</td></tr>
|
||||||
<tr class="memdesc:ac93ca31d854d91eedf3babda7511407d"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation. <br /></td></tr>
|
<tr class="memdesc:ac93ca31d854d91eedf3babda7511407d"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation. <br /></td></tr>
|
||||||
<tr class="separator:ac93ca31d854d91eedf3babda7511407d"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:ac93ca31d854d91eedf3babda7511407d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a2387ddb7cde4f9d45198b0c131a60878" id="r_a2387ddb7cde4f9d45198b0c131a60878"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2387ddb7cde4f9d45198b0c131a60878">inGameLoop</a> (char **tab2d, int N, <a class="el" href="structVecteur.html">vect</a> *playerPos, <a class="el" href="structVecteur.html">vect</a> *targets, int nbr_targets, <a class="el" href="structessential__sdl.html">dis</a> *display_user, <a class="el" href="structScore.html">score</a> *score_user)</td></tr>
|
<tr class="memitem:a7f8e67bce9078c159778bbe2f57e9d2f" id="r_a7f8e67bce9078c159778bbe2f57e9d2f"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a7f8e67bce9078c159778bbe2f57e9d2f">inGameLoop</a> (char **tab2d, <a class="el" href="structVecteur.html">vect</a> *dim_tab, <a class="el" href="structVecteur.html">vect</a> *playerPos, <a class="el" href="structVecteur.html">vect</a> *targets, int nbr_targets, <a class="el" href="structessential__sdl.html">dis</a> *display_user, <a class="el" href="structScore.html">score</a> *score_user, bool menu)</td></tr>
|
||||||
<tr class="memdesc:a2387ddb7cde4f9d45198b0c131a60878"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet de faire la boucle de jeu. <br /></td></tr>
|
<tr class="memdesc:a7f8e67bce9078c159778bbe2f57e9d2f"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet de faire la boucle de jeu et le menu. <br /></td></tr>
|
||||||
<tr class="separator:a2387ddb7cde4f9d45198b0c131a60878"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a7f8e67bce9078c159778bbe2f57e9d2f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a618903fbb7302d98ef0f3e2e6b35b99a" id="r_a618903fbb7302d98ef0f3e2e6b35b99a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a618903fbb7302d98ef0f3e2e6b35b99a">isWin</a> (char **tab2d, <a class="el" href="structVecteur.html">vect</a> *targets, int nbr_targets)</td></tr>
|
<tr class="memitem:a618903fbb7302d98ef0f3e2e6b35b99a" id="r_a618903fbb7302d98ef0f3e2e6b35b99a"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="#a618903fbb7302d98ef0f3e2e6b35b99a">isWin</a> (char **tab2d, <a class="el" href="structVecteur.html">vect</a> *targets, int nbr_targets)</td></tr>
|
||||||
<tr class="memdesc:a618903fbb7302d98ef0f3e2e6b35b99a"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction verrifie si la partie est gagnante. <br /></td></tr>
|
<tr class="memdesc:a618903fbb7302d98ef0f3e2e6b35b99a"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction verrifie si la partie est gagnante. <br /></td></tr>
|
||||||
<tr class="separator:a618903fbb7302d98ef0f3e2e6b35b99a"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a618903fbb7302d98ef0f3e2e6b35b99a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
@@ -184,6 +186,15 @@ int </td><td class="memItemRight" valign="bottom"><b>lengthVect</b> (<a cla
|
|||||||
<tr class="memitem:a51c9ba7a24383f1b20dcedfcb570aab5" id="r_a51c9ba7a24383f1b20dcedfcb570aab5"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a51c9ba7a24383f1b20dcedfcb570aab5">timeToText</a> (time_t time)</td></tr>
|
<tr class="memitem:a51c9ba7a24383f1b20dcedfcb570aab5" id="r_a51c9ba7a24383f1b20dcedfcb570aab5"><td class="memItemLeft" align="right" valign="top">char * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a51c9ba7a24383f1b20dcedfcb570aab5">timeToText</a> (time_t time)</td></tr>
|
||||||
<tr class="memdesc:a51c9ba7a24383f1b20dcedfcb570aab5"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction renvois transforme le forma time en texte. (min:sec) <br /></td></tr>
|
<tr class="memdesc:a51c9ba7a24383f1b20dcedfcb570aab5"><td class="mdescLeft"> </td><td class="mdescRight">Cette fonction renvois transforme le forma time en texte. (min:sec) <br /></td></tr>
|
||||||
<tr class="separator:a51c9ba7a24383f1b20dcedfcb570aab5"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a51c9ba7a24383f1b20dcedfcb570aab5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a4a66f9d998c95fde67d6f89fef1fded5" id="r_a4a66f9d998c95fde67d6f89fef1fded5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a4a66f9d998c95fde67d6f89fef1fded5">nullScore</a> (<a class="el" href="structScore.html">score</a> *player_score)</td></tr>
|
||||||
|
<tr class="memdesc:a4a66f9d998c95fde67d6f89fef1fded5"><td class="mdescLeft"> </td><td class="mdescRight">Mets à 0 le score. <br /></td></tr>
|
||||||
|
<tr class="separator:a4a66f9d998c95fde67d6f89fef1fded5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2dc9de2f6fd2bed3619d7ce8c1f05590" id="r_a2dc9de2f6fd2bed3619d7ce8c1f05590"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="#a2dc9de2f6fd2bed3619d7ce8c1f05590">winOrLoseLoop</a> (<a class="el" href="structessential__sdl.html">dis</a> *display_user, <a class="el" href="structScore.html">score</a> *score_user, bool win)</td></tr>
|
||||||
|
<tr class="memdesc:a2dc9de2f6fd2bed3619d7ce8c1f05590"><td class="mdescLeft"> </td><td class="mdescRight">Fonction de loop pour la win ou la lose. <br /></td></tr>
|
||||||
|
<tr class="separator:a2dc9de2f6fd2bed3619d7ce8c1f05590"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aeac9c46be252cd970406e3a2391b8e8c" id="r_aeac9c46be252cd970406e3a2391b8e8c"><td class="memItemLeft" align="right" valign="top"><a id="aeac9c46be252cd970406e3a2391b8e8c" name="aeac9c46be252cd970406e3a2391b8e8c"></a>
|
||||||
|
unsigned int </td><td class="memItemRight" valign="bottom"><b>scoreCalculator</b> (<a class="el" href="structScore.html">score</a> *score_user, bool win)</td></tr>
|
||||||
|
<tr class="separator:aeac9c46be252cd970406e3a2391b8e8c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
</table>
|
</table>
|
||||||
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
||||||
<div class="textblock"><p>Ce fichier contient toute les fonction utile pour le jeu. Sauf pour l'affichage. </p>
|
<div class="textblock"><p>Ce fichier contient toute les fonction utile pour le jeu. Sauf pour l'affichage. </p>
|
||||||
@@ -270,7 +281,7 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="section return"><dt>Renvoie</dt><dd>0 Si c'est un mur devant le joueur, 1 si c'est vide devant le joueur, 2 si c'est une boite mais qu'on peux la pousser ,3 si le joueur pousse une boite sur un point d'interer, 4 si le joueur bouge sur un point d'interer, 5 si le joueur peux pousser une boite mais le joueur se place sur un point d'interer et 6 si le joeuur pousse une boite sur un point d'interer et que le joueu est aussi sur un point d'interer. </dd></dl>
|
<dl class="section return"><dt>Renvoie</dt><dd>0 Si c'est un mur devant le joueur, 1 si c'est vide devant le joueur, 2 si c'est une boite mais qu'on peux la pousser ,3 si le joueur pousse une boite sur un point d'interer, 4 si le joueur bouge sur un point d'interer, 5 si le joueur peux pousser une boite mais le joueur se place sur un point d'interer et 6 si le joueur pousse une boite sur un point d'interer et que le joueur est aussi sur un point d'interer. 7 si valueOfNCase est un bouton. </dd></dl>
|
||||||
<div class="dynheader">
|
<div class="dynheader">
|
||||||
Voici le graphe des appelants de cette fonction :</div>
|
Voici le graphe des appelants de cette fonction :</div>
|
||||||
<div class="dyncontent">
|
<div class="dyncontent">
|
||||||
@@ -286,8 +297,8 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="af81182d12b72ee349a71d6685217b097" name="af81182d12b72ee349a71d6685217b097"></a>
|
<a id="a1d06514900b90ce163ebe2d5aefc16db" name="a1d06514900b90ce163ebe2d5aefc16db"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#af81182d12b72ee349a71d6685217b097">◆ </a></span>creatArea2D()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#a1d06514900b90ce163ebe2d5aefc16db">◆ </a></span>creatArea2D()</h2>
|
||||||
|
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
@@ -295,25 +306,30 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="memname">char ** creatArea2D </td>
|
<td class="memname">char ** creatArea2D </td>
|
||||||
<td>(</td>
|
<td>(</td>
|
||||||
<td class="paramtype">const unsigned int</td> <td class="paramname"><span class="paramname"><em>N</em></span></td><td>)</td>
|
<td class="paramtype">const int</td> <td class="paramname"><span class="paramname"><em>x</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
|
<td class="paramtype">const int</td> <td class="paramname"><span class="paramname"><em>y</em></span> )</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
|
|
||||||
<p>Cette fonction permet de creer une liste 2D carre. </p>
|
<p>Cette fonction permet de creer une liste 2D. </p>
|
||||||
<dl class="params"><dt>Paramètres</dt><dd>
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
<table class="params">
|
<table class="params">
|
||||||
<tr><td class="paramname">N</td><td>La valeur N est le nombre d'élément dans le tableau. </td></tr>
|
<tr><td class="paramname">x</td><td>Nombre de ligne. </td></tr>
|
||||||
|
<tr><td class="paramname">y</td><td>Nombre de colonne. </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="section return"><dt>Renvoie</dt><dd>Le pointeur du tableau 2D carre de char (1 octet). </dd></dl>
|
<dl class="section return"><dt>Renvoie</dt><dd>Le pointeur du tableau 2D de char (1 octet). </dd></dl>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="af19c482f0f97b30cbb0253356ed1724b" name="af19c482f0f97b30cbb0253356ed1724b"></a>
|
<a id="a9011ea69a97e2101aa9bcc52cc60d4ce" name="a9011ea69a97e2101aa9bcc52cc60d4ce"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#af19c482f0f97b30cbb0253356ed1724b">◆ </a></span>free2D()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#a9011ea69a97e2101aa9bcc52cc60d4ce">◆ </a></span>free2D()</h2>
|
||||||
|
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
@@ -326,7 +342,7 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>N</em></span> )</td>
|
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>x</em></span> )</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
@@ -335,7 +351,7 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<dl class="params"><dt>Paramètres</dt><dd>
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
<table class="params">
|
<table class="params">
|
||||||
<tr><td class="paramname">tab</td><td>Le tableau 2D. </td></tr>
|
<tr><td class="paramname">tab</td><td>Le tableau 2D. </td></tr>
|
||||||
<tr><td class="paramname">N</td><td>Le nombre d'éléments. </td></tr>
|
<tr><td class="paramname">x</td><td>Le nombre de ligne. </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -343,21 +359,21 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="a2387ddb7cde4f9d45198b0c131a60878" name="a2387ddb7cde4f9d45198b0c131a60878"></a>
|
<a id="a7f8e67bce9078c159778bbe2f57e9d2f" name="a7f8e67bce9078c159778bbe2f57e9d2f"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a2387ddb7cde4f9d45198b0c131a60878">◆ </a></span>inGameLoop()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#a7f8e67bce9078c159778bbe2f57e9d2f">◆ </a></span>inGameLoop()</h2>
|
||||||
|
|
||||||
<div class="memitem">
|
<div class="memitem">
|
||||||
<div class="memproto">
|
<div class="memproto">
|
||||||
<table class="memname">
|
<table class="memname">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="memname">void inGameLoop </td>
|
<td class="memname">int inGameLoop </td>
|
||||||
<td>(</td>
|
<td>(</td>
|
||||||
<td class="paramtype">char **</td> <td class="paramname"><span class="paramname"><em>tab2d</em></span>, </td>
|
<td class="paramtype">char **</td> <td class="paramname"><span class="paramname"><em>tab2d</em></span>, </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="paramtype">int</td> <td class="paramname"><span class="paramname"><em>N</em></span>, </td>
|
<td class="paramtype"><a class="el" href="structVecteur.html">vect</a> *</td> <td class="paramname"><span class="paramname"><em>dim_tab</em></span>, </td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
@@ -382,12 +398,17 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<tr>
|
<tr>
|
||||||
<td class="paramkey"></td>
|
<td class="paramkey"></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td class="paramtype"><a class="el" href="structScore.html">score</a> *</td> <td class="paramname"><span class="paramname"><em>score_user</em></span> )</td>
|
<td class="paramtype"><a class="el" href="structScore.html">score</a> *</td> <td class="paramname"><span class="paramname"><em>score_user</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">bool</td> <td class="paramname"><span class="paramname"><em>menu</em></span> )</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div><div class="memdoc">
|
</div><div class="memdoc">
|
||||||
|
|
||||||
<p>La fonction permet de faire la boucle de jeu. </p>
|
<p>La fonction permet de faire la boucle de jeu et le menu. </p>
|
||||||
<dl class="params"><dt>Paramètres</dt><dd>
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
<table class="params">
|
<table class="params">
|
||||||
<tr><td class="paramname">tab2d</td><td>Le tableau 2d carre. </td></tr>
|
<tr><td class="paramname">tab2d</td><td>Le tableau 2d carre. </td></tr>
|
||||||
@@ -397,34 +418,15 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
<tr><td class="paramname">int</td><td>nbr_targets Le nombre de point d'interer. </td></tr>
|
<tr><td class="paramname">int</td><td>nbr_targets Le nombre de point d'interer. </td></tr>
|
||||||
<tr><td class="paramname">display_user</td><td>Tout les information SDL pour afficher le jeu. </td></tr>
|
<tr><td class="paramname">display_user</td><td>Tout les information SDL pour afficher le jeu. </td></tr>
|
||||||
<tr><td class="paramname">score_user</td><td>Toute les données nécessaire pour calculer le score fini du joueur. </td></tr>
|
<tr><td class="paramname">score_user</td><td>Toute les données nécessaire pour calculer le score fini du joueur. </td></tr>
|
||||||
|
<tr><td class="paramname">menu</td><td>True si c'est la loop du menu. </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="section return"><dt>Renvoie</dt><dd>Void </dd></dl>
|
<dl class="section return"><dt>Renvoie</dt><dd>L'indice de la map si c'est un menu, sinon renvoie -1 </dd></dl>
|
||||||
<div class="dynheader">
|
<div class="dynheader">
|
||||||
Voici le graphe d'appel pour cette fonction :</div>
|
Voici le graphe d'appel pour cette fonction :</div>
|
||||||
<div class="dyncontent">
|
<div class="dyncontent">
|
||||||
<div class="center"><img src="function_8c_a2387ddb7cde4f9d45198b0c131a60878_cgraph.png" border="0" usemap="#afunction_8c_a2387ddb7cde4f9d45198b0c131a60878_cgraph" alt=""/></div>
|
<div class="center"><img src="function_8c_a7f8e67bce9078c159778bbe2f57e9d2f_cgraph.png" border="0" usemap="#afunction_8c_a7f8e67bce9078c159778bbe2f57e9d2f_cgraph" alt=""/></div>
|
||||||
<map name="afunction_8c_a2387ddb7cde4f9d45198b0c131a60878_cgraph" id="afunction_8c_a2387ddb7cde4f9d45198b0c131a60878_cgraph">
|
|
||||||
<area shape="rect" title="La fonction permet de faire la boucle de jeu." alt="" coords="5,80,101,106"/>
|
|
||||||
<area shape="rect" href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f" title="La fonction renvois si la partie est perdante." alt="" coords="164,5,220,31"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="77,77,152,37,154,41,80,82"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a" title="Cette fonction verrifie si la partie est gagnante." alt="" coords="165,55,218,80"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="101,81,149,72,150,78,102,87"/>
|
|
||||||
<area shape="rect" href="function_8c.html#ac93ca31d854d91eedf3babda7511407d" title="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation." alt="" coords="165,104,218,130"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="102,98,150,107,149,112,101,104"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5" title="Cette fonction renvois transforme le forma time en texte. (min:sec)" alt="" coords="149,153,235,179"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="81,104,154,143,151,148,78,109"/>
|
|
||||||
<area shape="rect" href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444" title="La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqu..." alt="" coords="303,5,377,31"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="220,16,287,16,287,21,220,21"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c" title="Renvois la longeur Manhattan." alt="" coords="445,5,529,31"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="378,16,430,16,430,21,378,21"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d" title="La fonction fait une addition de vecteur, (x1+x2, y1+y2)." alt="" coords="451,55,523,80"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="379,28,437,48,435,53,377,33"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="218,107,283,92,435,70,436,75,283,97,220,112"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a76df2bc0c692d3397837706a6852ac36" title="La fontction permet de savoir si le joueur peut ce deplacer dans une direction." alt="" coords="283,107,397,132"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="219,115,267,116,267,121,219,120"/>
|
|
||||||
</map>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -452,7 +454,7 @@ Voici le graphe d'appel pour cette fonction :</div>
|
|||||||
<dl class="params"><dt>Paramètres</dt><dd>
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
<table class="params">
|
<table class="params">
|
||||||
<tr><td class="paramname">tab2d</td><td>Le tableau 2d carre du plateau de jeu. </td></tr>
|
<tr><td class="paramname">tab2d</td><td>Le tableau 2d carre du plateau de jeu. </td></tr>
|
||||||
<tr><td class="paramname">N</td><td>Le nombre d'éléments dans le tab2d. </td></tr>
|
<tr><td class="paramname">N</td><td>Le nombre d'éléments dans le tab2d. (zone de jeu est carré) </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -471,16 +473,6 @@ Voici le graphe d'appel pour cette fonction :</div>
|
|||||||
<area shape="poly" title=" " alt="" coords="184,48,221,55,220,60,183,53"/>
|
<area shape="poly" title=" " alt="" coords="184,48,221,55,220,60,183,53"/>
|
||||||
</map>
|
</map>
|
||||||
</div>
|
</div>
|
||||||
<div class="dynheader">
|
|
||||||
Voici le graphe des appelants de cette fonction :</div>
|
|
||||||
<div class="dyncontent">
|
|
||||||
<div class="center"><img src="function_8c_ac155bb183b0c26d19758d8d065baf14f_icgraph.png" border="0" usemap="#afunction_8c_ac155bb183b0c26d19758d8d065baf14f_icgraph" alt=""/></div>
|
|
||||||
<map name="afunction_8c_ac155bb183b0c26d19758d8d065baf14f_icgraph" id="afunction_8c_ac155bb183b0c26d19758d8d065baf14f_icgraph">
|
|
||||||
<area shape="rect" title="La fonction renvois si la partie est perdante." alt="" coords="149,5,204,31"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a2387ddb7cde4f9d45198b0c131a60878" title="La fonction permet de faire la boucle de jeu." alt="" coords="5,5,101,31"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="133,21,101,21,101,16,133,16"/>
|
|
||||||
</map>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -518,16 +510,6 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="section return"><dt>Renvoie</dt><dd>True si le joueur a remplis tout les points d'interer, false si ce n'est pas le cas . </dd></dl>
|
<dl class="section return"><dt>Renvoie</dt><dd>True si le joueur a remplis tout les points d'interer, false si ce n'est pas le cas . </dd></dl>
|
||||||
<div class="dynheader">
|
|
||||||
Voici le graphe des appelants de cette fonction :</div>
|
|
||||||
<div class="dyncontent">
|
|
||||||
<div class="center"><img src="function_8c_a618903fbb7302d98ef0f3e2e6b35b99a_icgraph.png" border="0" usemap="#afunction_8c_a618903fbb7302d98ef0f3e2e6b35b99a_icgraph" alt=""/></div>
|
|
||||||
<map name="afunction_8c_a618903fbb7302d98ef0f3e2e6b35b99a_icgraph" id="afunction_8c_a618903fbb7302d98ef0f3e2e6b35b99a_icgraph">
|
|
||||||
<area shape="rect" title="Cette fonction verrifie si la partie est gagnante." alt="" coords="149,5,202,31"/>
|
|
||||||
<area shape="rect" href="function_8c.html#a2387ddb7cde4f9d45198b0c131a60878" title="La fonction permet de faire la boucle de jeu." alt="" coords="5,5,101,31"/>
|
|
||||||
<area shape="poly" title=" " alt="" coords="133,21,101,21,101,16,133,16"/>
|
|
||||||
</map>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -594,6 +576,32 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
</map>
|
</map>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a4a66f9d998c95fde67d6f89fef1fded5" name="a4a66f9d998c95fde67d6f89fef1fded5"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a4a66f9d998c95fde67d6f89fef1fded5">◆ </a></span>nullScore()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void nullScore </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structScore.html">score</a> *</td> <td class="paramname"><span class="paramname"><em>player_score</em></span></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Mets à 0 le score. </p>
|
||||||
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">player_score</td><td>Le score a mettre à 0. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="section return"><dt>Renvoie</dt><dd>void </dd></dl>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<a id="a5b10e69716d92eadf2ed0b3942cb9d4d" name="a5b10e69716d92eadf2ed0b3942cb9d4d"></a>
|
<a id="a5b10e69716d92eadf2ed0b3942cb9d4d" name="a5b10e69716d92eadf2ed0b3942cb9d4d"></a>
|
||||||
@@ -678,12 +686,47 @@ Voici le graphe des appelants de cette fonction :</div>
|
|||||||
</map>
|
</map>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="a2dc9de2f6fd2bed3619d7ce8c1f05590" name="a2dc9de2f6fd2bed3619d7ce8c1f05590"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a2dc9de2f6fd2bed3619d7ce8c1f05590">◆ </a></span>winOrLoseLoop()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">void winOrLoseLoop </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype"><a class="el" href="structessential__sdl.html">dis</a> *</td> <td class="paramname"><span class="paramname"><em>display_user</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="structScore.html">score</a> *</td> <td class="paramname"><span class="paramname"><em>score_user</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">bool</td> <td class="paramname"><span class="paramname"><em>win</em></span> )</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>Fonction de loop pour la win ou la lose. </p>
|
||||||
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">display_user</td><td>Tout les information du display de l'utilisateur utile. </td></tr>
|
||||||
|
<tr><td class="paramname">win</td><td>Si on veut un affichage de victoire ou non. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
46
rapport/html/function_8c__incl.dot
Normal file
46
rapport/html/function_8c__incl.dot
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
digraph "function.c"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
Node1 [id="Node000001",label="function.c",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="../include/function.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8h_source.html",tooltip=" "];
|
||||||
|
Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="SDL2/SDL.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="SDL2/SDL_render.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="SDL2/SDL_video.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node6 [id="Node000006",label="stdbool.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node7 [id="edge6_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node7 [id="Node000007",label="stdlib.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node8 [id="edge7_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node8 [id="Node000008",label="time.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node9 [id="edge8_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 [id="Node000009",label="../include/display.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8h_source.html",tooltip=" "];
|
||||||
|
Node9 -> Node2 [id="edge9_Node000009_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 -> Node3 [id="edge10_Node000009_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 -> Node10 [id="edge11_Node000009_Node000010",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node10 [id="Node000010",label="SDL2/SDL_ttf.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node11 [id="edge12_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node11 [id="Node000011",label="SDL2/SDL_events.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node12 [id="edge13_Node000001_Node000012",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node12 [id="Node000012",label="SDL2/SDL_image.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node13 [id="edge14_Node000001_Node000013",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node13 [id="Node000013",label="SDL2/SDL_keycode.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node14 [id="edge15_Node000001_Node000014",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node14 [id="Node000014",label="SDL2/SDL_rect.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node4 [id="edge16_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node15 [id="edge17_Node000001_Node000015",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node15 [id="Node000015",label="SDL2/SDL_scancode.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node16 [id="edge18_Node000001_Node000016",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node16 [id="Node000016",label="SDL2/SDL_timer.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node6 [id="edge19_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node17 [id="edge20_Node000001_Node000017",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node17 [id="Node000017",label="stdio.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node7 [id="edge21_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node8 [id="edge22_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "timeToText"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="timeToText",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Cette fonction renvois transforme le forma time en texte. (min:sec)"];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
digraph "plusVect"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="plusVect",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction fait une addition de vecteur, (x1+x2, y1+y2)."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="blockBox",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac51249b2f7941ca06e6a614e071dd444",tooltip="La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqu..."];
|
||||||
|
Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="islose",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac155bb183b0c26d19758d8d065baf14f",tooltip="La fonction renvois si la partie est perdante."];
|
||||||
|
Node1 -> Node4 [id="edge3_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="move",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac93ca31d854d91eedf3babda7511407d",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node4 -> Node5 [id="edge4_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
digraph "canIGoDirection"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="canIGoDirection",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fontction permet de savoir si le joueur peut ce deplacer dans une direction."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="move",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac93ca31d854d91eedf3babda7511407d",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node2 -> Node3 [id="edge2_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
digraph "inGameLoop"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="LR";
|
||||||
|
Node1 [id="Node000001",label="inGameLoop",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="move",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac93ca31d854d91eedf3babda7511407d",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="canIGoDirection",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a76df2bc0c692d3397837706a6852ac36",tooltip="La fontction permet de savoir si le joueur peut ce deplacer dans une direction."];
|
||||||
|
Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="plusVect",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d",tooltip="La fonction fait une addition de vecteur, (x1+x2, y1+y2)."];
|
||||||
|
Node1 -> Node5 [id="edge4_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="timeToText",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5",tooltip="Cette fonction renvois transforme le forma time en texte. (min:sec)"];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "blockBox"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="blockBox",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqu..."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="islose",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac155bb183b0c26d19758d8d065baf14f",tooltip="La fonction renvois si la partie est perdante."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "move"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="move",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Fichier source de function.h</title>
|
<title>Sokoban: Fichier source de function.h</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -102,62 +102,67 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <stdlib.h></span></div>
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include <stdlib.h></span></div>
|
||||||
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <time.h></span></div>
|
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include <time.h></span></div>
|
||||||
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
|
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
|
||||||
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#define EMPTY 0</span></div>
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#define EMPTY 1</span></div>
|
||||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#define WALL 1</span></div>
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#define WALL 0</span></div>
|
||||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define BOX 2</span></div>
|
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define BOX 2</span></div>
|
||||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#define TARGET 3</span></div>
|
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="preprocessor">#define TARGET 3</span></div>
|
||||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define BOX_ON_TARGET 4</span></div>
|
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define BOX_ON_TARGET 4</span></div>
|
||||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#define PLAYER 5</span></div>
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#define PLAYER 5</span></div>
|
||||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#define PLAYER_ON_TARGET 6</span></div>
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#define PLAYER_ON_TARGET 6</span></div>
|
||||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#define BUTTON 7</span></div>
|
||||||
<div class="foldopen" id="foldopen00019" data-start="{" data-end="};">
|
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#define PLAYER_ON_BUTTON 8</span></div>
|
||||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="structVecteur.html"> 19</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structVecteur.html">Vecteur</a></div>
|
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
|
||||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span>{</div>
|
<div class="foldopen" id="foldopen00021" data-start="{" data-end="};">
|
||||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <span class="keywordtype">int</span> x;</div>
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="structVecteur.html"> 21</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structVecteur.html">Vecteur</a></div>
|
||||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <span class="keywordtype">int</span> y;</div>
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span>{</div>
|
||||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span>} <a class="code hl_struct" href="structVecteur.html">vect</a>;</div>
|
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <span class="keywordtype">int</span> x;</div>
|
||||||
|
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">int</span> y;</div>
|
||||||
|
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>} vect;</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||||
<div class="foldopen" id="foldopen00025" data-start="{" data-end="};">
|
<div class="foldopen" id="foldopen00027" data-start="{" data-end="};">
|
||||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="structScore.html"> 25</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structScore.html">Score</a></div>
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="structScore.html"> 27</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structScore.html">Score</a></div>
|
||||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span>{</div>
|
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span>{</div>
|
||||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> time_t before;</div>
|
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> time_t before;</div>
|
||||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> time_t after;</div>
|
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> time_t after;</div>
|
||||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> move_player;</div>
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> move_player;</div>
|
||||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> move_box;</div>
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> move_box;</div>
|
||||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>} <a class="code hl_struct" href="structScore.html">score</a>;</div>
|
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>} score;</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||||
<div class="foldopen" id="foldopen00033" data-start="{" data-end="};">
|
<div class="foldopen" id="foldopen00035" data-start="{" data-end="};">
|
||||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="structessential__sdl.html"> 33</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structessential__sdl.html">essential_sdl</a></div>
|
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="structessential__sdl.html"> 35</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code hl_struct" href="structessential__sdl.html">essential_sdl</a></div>
|
||||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span>{</div>
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
|
||||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> SDL_Window *window;</div>
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> SDL_Window *window;</div>
|
||||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> SDL_Renderer *renderer;</div>
|
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> SDL_Renderer *renderer;</div>
|
||||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size_window;</div>
|
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size_window;</div>
|
||||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size_box;</div>
|
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size_box;</div>
|
||||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size_menu;</div>
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> size_menu;</div>
|
||||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>} <a class="code hl_struct" href="structessential__sdl.html">dis</a>;</div>
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>} dis;</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> </div>
|
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="keywordtype">char</span> **creatArea2D (<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> N);</div>
|
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="keywordtype">char</span> **creatArea2D (<span class="keyword">const</span> <span class="keywordtype">int</span> x, <span class="keyword">const</span> <span class="keywordtype">int</span> y);</div>
|
||||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="keywordtype">void</span> free2D (<span class="keywordtype">char</span> **tab, <span class="keywordtype">int</span> N);</div>
|
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keywordtype">void</span> free2D (<span class="keywordtype">char</span> **tab, <span class="keywordtype">int</span> x);</div>
|
||||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="keywordtype">void</span> screenDisplay (<span class="keywordtype">char</span> **tab, <span class="keywordtype">int</span> size);</div>
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keywordtype">bool</span> isWin (<span class="keywordtype">char</span> **tab2d, vect *targets, <span class="keywordtype">int</span> nbr_targets);</div>
|
||||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keywordtype">bool</span> isWin (<span class="keywordtype">char</span> **tab2d, <a class="code hl_struct" href="structVecteur.html">vect</a> *targets, <span class="keywordtype">int</span> nbr_targets);</div>
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keywordtype">bool</span> islose (<span class="keywordtype">char</span> **tab2d, <span class="keyword">const</span> <span class="keywordtype">int</span> N);</div>
|
||||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keywordtype">bool</span> islose (<span class="keywordtype">char</span> **tab2d, <span class="keyword">const</span> <span class="keywordtype">int</span> N);</div>
|
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><span class="keywordtype">bool</span> blockBox (<span class="keywordtype">char</span> **tab2d, vect box_coor);</div>
|
||||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keywordtype">bool</span> blockBox (<span class="keywordtype">char</span> **tab2d, <a class="code hl_struct" href="structVecteur.html">vect</a> box_coor);</div>
|
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span>vect plusVect (vect one, vect two);</div>
|
||||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span><a class="code hl_struct" href="structVecteur.html">vect</a> plusVect (<a class="code hl_struct" href="structVecteur.html">vect</a> one, <a class="code hl_struct" href="structVecteur.html">vect</a> two);</div>
|
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="keywordtype">void</span> inGameLoop (<span class="keywordtype">char</span> **tab2d, <span class="keywordtype">int</span> N, <a class="code hl_struct" href="structVecteur.html">vect</a> *playerPos,</div>
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keywordtype">int</span> inGameLoop (<span class="keywordtype">char</span> **tab2d, vect *dim_tab, vect *playerPos, vect *targets,</div>
|
||||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> <a class="code hl_struct" href="structVecteur.html">vect</a> *targets, <span class="keywordtype">int</span> nbr_targets, <a class="code hl_struct" href="structessential__sdl.html">dis</a> *display_user, <a class="code hl_struct" href="structScore.html">score</a> *score_user);</div>
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> <span class="keywordtype">int</span> nbr_targets, dis *display_user, score *score_user, <span class="keywordtype">bool</span> menu);</div>
|
||||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keywordtype">char</span> *timeToText(time_t time);</div>
|
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="keywordtype">char</span> *timeToText(time_t time);</div>
|
||||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="keywordtype">void</span> nullScore(score *player_score);</div>
|
||||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="preprocessor">#endif </span><span class="comment">// FONCTION_H</span></div>
|
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="keywordtype">void</span> winOrLoseLoop(dis *display_user,score *score_user, <span class="keywordtype">bool</span> win);</div>
|
||||||
<div class="ttc" id="astructScore_html"><div class="ttname"><a href="structScore.html">Score</a></div><div class="ttdef"><b>Definition</b> function.h:26</div></div>
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> scoreCalculator(score *score_user, <span class="keywordtype">bool</span> win);</div>
|
||||||
<div class="ttc" id="astructVecteur_html"><div class="ttname"><a href="structVecteur.html">Vecteur</a></div><div class="ttdef"><b>Definition</b> function.h:20</div></div>
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
||||||
<div class="ttc" id="astructessential__sdl_html"><div class="ttname"><a href="structessential__sdl.html">essential_sdl</a></div><div class="ttdef"><b>Definition</b> function.h:34</div></div>
|
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span><span class="preprocessor">#endif </span><span class="comment">// FONCTION_H</span></div>
|
||||||
|
<div class="ttc" id="astructScore_html"><div class="ttname"><a href="structScore.html">Score</a></div><div class="ttdef"><b>Definition</b> function.h:28</div></div>
|
||||||
|
<div class="ttc" id="astructVecteur_html"><div class="ttname"><a href="structVecteur.html">Vecteur</a></div><div class="ttdef"><b>Definition</b> function.h:22</div></div>
|
||||||
|
<div class="ttc" id="astructessential__sdl_html"><div class="ttname"><a href="structessential__sdl.html">essential_sdl</a></div><div class="ttdef"><b>Definition</b> function.h:36</div></div>
|
||||||
</div><!-- fragment --></div><!-- contents -->
|
</div><!-- fragment --></div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Variables globale</title>
|
<title>Sokoban: Variables globale</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -88,27 +88,31 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="textblock">Liste de toutes les fonctions, variables, macros, enumérations, et définitions de type documentés avec des liens vers la documentation :</div><ul>
|
<div class="textblock">Liste de toutes les fonctions, variables, macros, enumérations, et définitions de type documentés avec des liens vers la documentation :</div><ul>
|
||||||
<li>blockBox() : <a class="el" href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444">function.c</a></li>
|
<li>blockBox() : <a class="el" href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444">function.c</a></li>
|
||||||
<li>canIGoDirection() : <a class="el" href="function_8c.html#a76df2bc0c692d3397837706a6852ac36">function.c</a></li>
|
<li>canIGoDirection() : <a class="el" href="function_8c.html#a76df2bc0c692d3397837706a6852ac36">function.c</a></li>
|
||||||
<li>creatArea2D() : <a class="el" href="function_8c.html#af81182d12b72ee349a71d6685217b097">function.c</a></li>
|
<li>countCustomMaps() : <a class="el" href="read_8c.html#a33f349fef5188584733f08c3a0eddbf2">read.c</a></li>
|
||||||
|
<li>creatArea2D() : <a class="el" href="function_8c.html#a1d06514900b90ce163ebe2d5aefc16db">function.c</a></li>
|
||||||
<li>displayImage() : <a class="el" href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9">display.c</a></li>
|
<li>displayImage() : <a class="el" href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9">display.c</a></li>
|
||||||
<li>displayTextSDL() : <a class="el" href="display_8c.html#af8c0265ee608800f8daba2540c65c5b0">display.c</a></li>
|
<li>displayTextSDL() : <a class="el" href="display_8c.html#af8c0265ee608800f8daba2540c65c5b0">display.c</a></li>
|
||||||
<li>fileToTab2D() : <a class="el" href="read_8c.html#a223592601b10fb9487363ff4bb417d5d">read.c</a></li>
|
<li>fileToTab2D() : <a class="el" href="read_8c.html#a223592601b10fb9487363ff4bb417d5d">read.c</a></li>
|
||||||
<li>free2D() : <a class="el" href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b">function.c</a></li>
|
<li>free2D() : <a class="el" href="function_8c.html#a9011ea69a97e2101aa9bcc52cc60d4ce">function.c</a></li>
|
||||||
|
<li>generatorMenu() : <a class="el" href="read_8c.html#aa77b744c6eb2919d8d69ae718210ce55">read.c</a></li>
|
||||||
<li>getMaxSize() : <a class="el" href="display_8c.html#ab9c0348d4cff3f20344d763945c96b40">display.c</a></li>
|
<li>getMaxSize() : <a class="el" href="display_8c.html#ab9c0348d4cff3f20344d763945c96b40">display.c</a></li>
|
||||||
<li>inGameLoop() : <a class="el" href="function_8c.html#a2387ddb7cde4f9d45198b0c131a60878">function.c</a></li>
|
<li>inGameLoop() : <a class="el" href="function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f">function.c</a></li>
|
||||||
<li>initSDL() : <a class="el" href="display_8c.html#a46638b64faa8239921eab8c3817847f4">display.c</a></li>
|
<li>initSDL() : <a class="el" href="display_8c.html#a46638b64faa8239921eab8c3817847f4">display.c</a></li>
|
||||||
<li>islose() : <a class="el" href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f">function.c</a></li>
|
<li>islose() : <a class="el" href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f">function.c</a></li>
|
||||||
<li>isWin() : <a class="el" href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a">function.c</a></li>
|
<li>isWin() : <a class="el" href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a">function.c</a></li>
|
||||||
<li>lengthVect() : <a class="el" href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c">function.c</a></li>
|
<li>lengthVect() : <a class="el" href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c">function.c</a></li>
|
||||||
<li>move() : <a class="el" href="function_8c.html#ac93ca31d854d91eedf3babda7511407d">function.c</a></li>
|
<li>move() : <a class="el" href="function_8c.html#ac93ca31d854d91eedf3babda7511407d">function.c</a></li>
|
||||||
|
<li>nullScore() : <a class="el" href="function_8c.html#a4a66f9d998c95fde67d6f89fef1fded5">function.c</a></li>
|
||||||
<li>plusVect() : <a class="el" href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d">function.c</a></li>
|
<li>plusVect() : <a class="el" href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d">function.c</a></li>
|
||||||
<li>screenDisplay() : <a class="el" href="display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44">display.c</a></li>
|
<li>screenDisplay() : <a class="el" href="display_8c.html#affba8627c7c6c768268f64fa670207e5">display.c</a></li>
|
||||||
<li>screenDisplayGameSDL() : <a class="el" href="display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189">display.c</a></li>
|
<li>screenDisplayGameSDL() : <a class="el" href="display_8c.html#a9ed2db696b902038cc72feee1d0c30f3">display.c</a></li>
|
||||||
<li>timeToText() : <a class="el" href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5">function.c</a></li>
|
<li>timeToText() : <a class="el" href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5">function.c</a></li>
|
||||||
|
<li>winOrLoseLoop() : <a class="el" href="function_8c.html#a2dc9de2f6fd2bed3619d7ce8c1f05590">function.c</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Variables globale</title>
|
<title>Sokoban: Variables globale</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -88,27 +88,31 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="textblock"> </div><ul>
|
<div class="textblock"> </div><ul>
|
||||||
<li>blockBox() : <a class="el" href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444">function.c</a></li>
|
<li>blockBox() : <a class="el" href="function_8c.html#ac51249b2f7941ca06e6a614e071dd444">function.c</a></li>
|
||||||
<li>canIGoDirection() : <a class="el" href="function_8c.html#a76df2bc0c692d3397837706a6852ac36">function.c</a></li>
|
<li>canIGoDirection() : <a class="el" href="function_8c.html#a76df2bc0c692d3397837706a6852ac36">function.c</a></li>
|
||||||
<li>creatArea2D() : <a class="el" href="function_8c.html#af81182d12b72ee349a71d6685217b097">function.c</a></li>
|
<li>countCustomMaps() : <a class="el" href="read_8c.html#a33f349fef5188584733f08c3a0eddbf2">read.c</a></li>
|
||||||
|
<li>creatArea2D() : <a class="el" href="function_8c.html#a1d06514900b90ce163ebe2d5aefc16db">function.c</a></li>
|
||||||
<li>displayImage() : <a class="el" href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9">display.c</a></li>
|
<li>displayImage() : <a class="el" href="display_8c.html#a81a2b2da875550c614a407ec735ff9d9">display.c</a></li>
|
||||||
<li>displayTextSDL() : <a class="el" href="display_8c.html#af8c0265ee608800f8daba2540c65c5b0">display.c</a></li>
|
<li>displayTextSDL() : <a class="el" href="display_8c.html#af8c0265ee608800f8daba2540c65c5b0">display.c</a></li>
|
||||||
<li>fileToTab2D() : <a class="el" href="read_8c.html#a223592601b10fb9487363ff4bb417d5d">read.c</a></li>
|
<li>fileToTab2D() : <a class="el" href="read_8c.html#a223592601b10fb9487363ff4bb417d5d">read.c</a></li>
|
||||||
<li>free2D() : <a class="el" href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b">function.c</a></li>
|
<li>free2D() : <a class="el" href="function_8c.html#a9011ea69a97e2101aa9bcc52cc60d4ce">function.c</a></li>
|
||||||
|
<li>generatorMenu() : <a class="el" href="read_8c.html#aa77b744c6eb2919d8d69ae718210ce55">read.c</a></li>
|
||||||
<li>getMaxSize() : <a class="el" href="display_8c.html#ab9c0348d4cff3f20344d763945c96b40">display.c</a></li>
|
<li>getMaxSize() : <a class="el" href="display_8c.html#ab9c0348d4cff3f20344d763945c96b40">display.c</a></li>
|
||||||
<li>inGameLoop() : <a class="el" href="function_8c.html#a2387ddb7cde4f9d45198b0c131a60878">function.c</a></li>
|
<li>inGameLoop() : <a class="el" href="function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f">function.c</a></li>
|
||||||
<li>initSDL() : <a class="el" href="display_8c.html#a46638b64faa8239921eab8c3817847f4">display.c</a></li>
|
<li>initSDL() : <a class="el" href="display_8c.html#a46638b64faa8239921eab8c3817847f4">display.c</a></li>
|
||||||
<li>islose() : <a class="el" href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f">function.c</a></li>
|
<li>islose() : <a class="el" href="function_8c.html#ac155bb183b0c26d19758d8d065baf14f">function.c</a></li>
|
||||||
<li>isWin() : <a class="el" href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a">function.c</a></li>
|
<li>isWin() : <a class="el" href="function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a">function.c</a></li>
|
||||||
<li>lengthVect() : <a class="el" href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c">function.c</a></li>
|
<li>lengthVect() : <a class="el" href="function_8c.html#a74650c59d33ff53d62ca3a3f8f56a68c">function.c</a></li>
|
||||||
<li>move() : <a class="el" href="function_8c.html#ac93ca31d854d91eedf3babda7511407d">function.c</a></li>
|
<li>move() : <a class="el" href="function_8c.html#ac93ca31d854d91eedf3babda7511407d">function.c</a></li>
|
||||||
|
<li>nullScore() : <a class="el" href="function_8c.html#a4a66f9d998c95fde67d6f89fef1fded5">function.c</a></li>
|
||||||
<li>plusVect() : <a class="el" href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d">function.c</a></li>
|
<li>plusVect() : <a class="el" href="function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d">function.c</a></li>
|
||||||
<li>screenDisplay() : <a class="el" href="display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44">display.c</a></li>
|
<li>screenDisplay() : <a class="el" href="display_8c.html#affba8627c7c6c768268f64fa670207e5">display.c</a></li>
|
||||||
<li>screenDisplayGameSDL() : <a class="el" href="display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189">display.c</a></li>
|
<li>screenDisplayGameSDL() : <a class="el" href="display_8c.html#a9ed2db696b902038cc72feee1d0c30f3">display.c</a></li>
|
||||||
<li>timeToText() : <a class="el" href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5">function.c</a></li>
|
<li>timeToText() : <a class="el" href="function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5">function.c</a></li>
|
||||||
|
<li>winOrLoseLoop() : <a class="el" href="function_8c.html#a2dc9de2f6fd2bed3619d7ce8c1f05590">function.c</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Légende du graphe</title>
|
<title>Sokoban: Légende du graphe</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -151,7 +151,7 @@ Une flèche jaune en pointillés indique une relation entre un modèle d'instanc
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Page principale</title>
|
<title>Sokoban: Page principale</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -92,7 +92,7 @@ $(function(){ initResizable(false); });
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence du fichier main.c</title>
|
<title>Sokoban: Référence du fichier main.c</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -102,6 +102,7 @@ $(function(){ initResizable(false); });
|
|||||||
<code>#include <SDL2/SDL_image.h></code><br />
|
<code>#include <SDL2/SDL_image.h></code><br />
|
||||||
<code>#include <SDL2/SDL_render.h></code><br />
|
<code>#include <SDL2/SDL_render.h></code><br />
|
||||||
<code>#include <stdio.h></code><br />
|
<code>#include <stdio.h></code><br />
|
||||||
|
<code>#include <string.h></code><br />
|
||||||
</div><div class="textblock"><div class="dynheader">
|
</div><div class="textblock"><div class="dynheader">
|
||||||
Graphe des dépendances par inclusion de main.c:</div>
|
Graphe des dépendances par inclusion de main.c:</div>
|
||||||
<div class="dyncontent">
|
<div class="dyncontent">
|
||||||
@@ -143,10 +144,10 @@ Graphe des dépendances par inclusion de main.c:</div>
|
|||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||||
Macros</h2></td></tr>
|
Macros</h2></td></tr>
|
||||||
<tr class="memitem:aa7f4c4d31124c28a9336ac84241cb2a0" id="r_aa7f4c4d31124c28a9336ac84241cb2a0"><td class="memItemLeft" align="right" valign="top"><a id="aa7f4c4d31124c28a9336ac84241cb2a0" name="aa7f4c4d31124c28a9336ac84241cb2a0"></a>
|
<tr class="memitem:aa7f4c4d31124c28a9336ac84241cb2a0" id="r_aa7f4c4d31124c28a9336ac84241cb2a0"><td class="memItemLeft" align="right" valign="top"><a id="aa7f4c4d31124c28a9336ac84241cb2a0" name="aa7f4c4d31124c28a9336ac84241cb2a0"></a>
|
||||||
#define </td><td class="memItemRight" valign="bottom"><b>SIZE_PLAY</b>   19</td></tr>
|
#define </td><td class="memItemRight" valign="bottom"><b>SIZE_PLAY</b>   20</td></tr>
|
||||||
<tr class="separator:aa7f4c4d31124c28a9336ac84241cb2a0"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:aa7f4c4d31124c28a9336ac84241cb2a0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:a3e022139041191876c2fa02a3c51549f" id="r_a3e022139041191876c2fa02a3c51549f"><td class="memItemLeft" align="right" valign="top"><a id="a3e022139041191876c2fa02a3c51549f" name="a3e022139041191876c2fa02a3c51549f"></a>
|
<tr class="memitem:a3e022139041191876c2fa02a3c51549f" id="r_a3e022139041191876c2fa02a3c51549f"><td class="memItemLeft" align="right" valign="top"><a id="a3e022139041191876c2fa02a3c51549f" name="a3e022139041191876c2fa02a3c51549f"></a>
|
||||||
#define </td><td class="memItemRight" valign="bottom"><b>SIZE_MENU</b>   200;</td></tr>
|
#define </td><td class="memItemRight" valign="bottom"><b>SIZE_MENU</b>   200</td></tr>
|
||||||
<tr class="separator:a3e022139041191876c2fa02a3c51549f"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a3e022139041191876c2fa02a3c51549f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
</table><table class="memberdecls">
|
</table><table class="memberdecls">
|
||||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||||
@@ -160,7 +161,7 @@ int </td><td class="memItemRight" valign="bottom"><b>main</b> ()</td></tr>
|
|||||||
</div></div><!-- contents -->
|
</div></div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
39
rapport/html/main_8c__incl.dot
Normal file
39
rapport/html/main_8c__incl.dot
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
digraph "main.c"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
Node1 [id="Node000001",label="main.c",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="../include/display.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8h_source.html",tooltip=" "];
|
||||||
|
Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="../include/function.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8h_source.html",tooltip=" "];
|
||||||
|
Node3 -> Node4 [id="edge3_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="SDL2/SDL.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node5 [id="edge4_Node000003_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="SDL2/SDL_render.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node6 [id="edge5_Node000003_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node6 [id="Node000006",label="SDL2/SDL_video.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node7 [id="edge6_Node000003_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node7 [id="Node000007",label="stdbool.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node8 [id="edge7_Node000003_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node8 [id="Node000008",label="stdlib.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node9 [id="edge8_Node000003_Node000009",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 [id="Node000009",label="time.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node4 [id="edge9_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 -> Node10 [id="edge10_Node000002_Node000010",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node10 [id="Node000010",label="SDL2/SDL_ttf.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node3 [id="edge11_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node11 [id="edge12_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node11 [id="Node000011",label="../include/read.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$read_8h_source.html",tooltip=" "];
|
||||||
|
Node11 -> Node3 [id="edge13_Node000011_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node4 [id="edge14_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node12 [id="edge15_Node000001_Node000012",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node12 [id="Node000012",label="SDL2/SDL_image.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node5 [id="edge16_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node13 [id="edge17_Node000001_Node000013",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node13 [id="Node000013",label="stdio.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node14 [id="edge18_Node000001_Node000014",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node14 [id="Node000014",label="string.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence du fichier read.c</title>
|
<title>Sokoban: Référence du fichier read.c</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -97,6 +97,7 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="textblock"><code>#include "../include/function.h"</code><br />
|
<div class="textblock"><code>#include "../include/function.h"</code><br />
|
||||||
<code>#include <stdio.h></code><br />
|
<code>#include <stdio.h></code><br />
|
||||||
<code>#include <stdlib.h></code><br />
|
<code>#include <stdlib.h></code><br />
|
||||||
|
<code>#include <string.h></code><br />
|
||||||
</div><div class="textblock"><div class="dynheader">
|
</div><div class="textblock"><div class="dynheader">
|
||||||
Graphe des dépendances par inclusion de read.c:</div>
|
Graphe des dépendances par inclusion de read.c:</div>
|
||||||
<div class="dyncontent">
|
<div class="dyncontent">
|
||||||
@@ -128,10 +129,46 @@ Fonctions</h2></td></tr>
|
|||||||
<tr class="memitem:a223592601b10fb9487363ff4bb417d5d" id="r_a223592601b10fb9487363ff4bb417d5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structVecteur.html">vect</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a223592601b10fb9487363ff4bb417d5d">fileToTab2D</a> (const char *name_file, char **tab, const unsigned N, <a class="el" href="structVecteur.html">vect</a> *player, int *nbr_targets)</td></tr>
|
<tr class="memitem:a223592601b10fb9487363ff4bb417d5d" id="r_a223592601b10fb9487363ff4bb417d5d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structVecteur.html">vect</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="#a223592601b10fb9487363ff4bb417d5d">fileToTab2D</a> (const char *name_file, char **tab, const unsigned N, <a class="el" href="structVecteur.html">vect</a> *player, int *nbr_targets)</td></tr>
|
||||||
<tr class="memdesc:a223592601b10fb9487363ff4bb417d5d"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier. <br /></td></tr>
|
<tr class="memdesc:a223592601b10fb9487363ff4bb417d5d"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier. <br /></td></tr>
|
||||||
<tr class="separator:a223592601b10fb9487363ff4bb417d5d"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:a223592601b10fb9487363ff4bb417d5d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a33f349fef5188584733f08c3a0eddbf2" id="r_a33f349fef5188584733f08c3a0eddbf2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="#a33f349fef5188584733f08c3a0eddbf2">countCustomMaps</a> (char *name_directory)</td></tr>
|
||||||
|
<tr class="memdesc:a33f349fef5188584733f08c3a0eddbf2"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet de compter le nombre de maps custom dans le fichier des maps. <br /></td></tr>
|
||||||
|
<tr class="separator:a33f349fef5188584733f08c3a0eddbf2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:aa77b744c6eb2919d8d69ae718210ce55" id="r_aa77b744c6eb2919d8d69ae718210ce55"><td class="memItemLeft" align="right" valign="top">char ** </td><td class="memItemRight" valign="bottom"><a class="el" href="#aa77b744c6eb2919d8d69ae718210ce55">generatorMenu</a> (char *name_directory, <a class="el" href="structVecteur.html">vect</a> *size, <a class="el" href="structVecteur.html">vect</a> *pos_player)</td></tr>
|
||||||
|
<tr class="memdesc:aa77b744c6eb2919d8d69ae718210ce55"><td class="mdescLeft"> </td><td class="mdescRight">La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom. <br /></td></tr>
|
||||||
|
<tr class="separator:aa77b744c6eb2919d8d69ae718210ce55"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
</table>
|
</table>
|
||||||
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
||||||
<div class="textblock"><p>Ce fichier est le programe qui lit d'autre fichier, nottament les maps. </p>
|
<div class="textblock"><p>Ce fichier est le programe qui lit d'autre fichier, nottament les maps. </p>
|
||||||
</div><h2 class="groupheader">Documentation des fonctions</h2>
|
</div><h2 class="groupheader">Documentation des fonctions</h2>
|
||||||
|
<a id="a33f349fef5188584733f08c3a0eddbf2" name="a33f349fef5188584733f08c3a0eddbf2"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a33f349fef5188584733f08c3a0eddbf2">◆ </a></span>countCustomMaps()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">int countCustomMaps </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">char *</td> <td class="paramname"><span class="paramname"><em>name_directory</em></span></td><td>)</td>
|
||||||
|
<td></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>La fonction permet de compter le nombre de maps custom dans le fichier des maps. </p>
|
||||||
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">name_directory</td><td>Le nom du dossier contenant les maps. return Le nombre de maps custom. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<div class="dynheader">
|
||||||
|
Voici le graphe des appelants de cette fonction :</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="read_8c_a33f349fef5188584733f08c3a0eddbf2_icgraph.png" border="0" usemap="#aread_8c_a33f349fef5188584733f08c3a0eddbf2_icgraph" alt=""/></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<a id="a223592601b10fb9487363ff4bb417d5d" name="a223592601b10fb9487363ff4bb417d5d"></a>
|
<a id="a223592601b10fb9487363ff4bb417d5d" name="a223592601b10fb9487363ff4bb417d5d"></a>
|
||||||
<h2 class="memtitle"><span class="permalink"><a href="#a223592601b10fb9487363ff4bb417d5d">◆ </a></span>fileToTab2D()</h2>
|
<h2 class="memtitle"><span class="permalink"><a href="#a223592601b10fb9487363ff4bb417d5d">◆ </a></span>fileToTab2D()</h2>
|
||||||
|
|
||||||
@@ -179,12 +216,53 @@ Fonctions</h2></td></tr>
|
|||||||
</dl>
|
</dl>
|
||||||
<dl class="section return"><dt>Renvoie</dt><dd>Vect La fonction renvoie le tableau des coordonnée des points d'interer. </dd></dl>
|
<dl class="section return"><dt>Renvoie</dt><dd>Vect La fonction renvoie le tableau des coordonnée des points d'interer. </dd></dl>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<a id="aa77b744c6eb2919d8d69ae718210ce55" name="aa77b744c6eb2919d8d69ae718210ce55"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#aa77b744c6eb2919d8d69ae718210ce55">◆ </a></span>generatorMenu()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">char ** generatorMenu </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">char *</td> <td class="paramname"><span class="paramname"><em>name_directory</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="structVecteur.html">vect</a> *</td> <td class="paramname"><span class="paramname"><em>size</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype"><a class="el" href="structVecteur.html">vect</a> *</td> <td class="paramname"><span class="paramname"><em>pos_player</em></span> )</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom. </p>
|
||||||
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">name_directory</td><td>Le nom du dossier contenant les maps. </td></tr>
|
||||||
|
<tr><td class="paramname">size</td><td>La taille de la zone de jeu. </td></tr>
|
||||||
|
<tr><td class="paramname">pos_player</td><td>La position du joueur dans le menu. </td></tr>
|
||||||
|
</table>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<div class="dynheader">
|
||||||
|
Voici le graphe d'appel pour cette fonction :</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="read_8c_aa77b744c6eb2919d8d69ae718210ce55_cgraph.png" border="0" usemap="#aread_8c_aa77b744c6eb2919d8d69ae718210ce55_cgraph" alt=""/></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
27
rapport/html/read_8c__incl.dot
Normal file
27
rapport/html/read_8c__incl.dot
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
digraph "read.c"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
Node1 [id="Node000001",label="read.c",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="../include/function.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8h_source.html",tooltip=" "];
|
||||||
|
Node2 -> Node3 [id="edge2_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="SDL2/SDL.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node4 [id="edge3_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="SDL2/SDL_render.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node5 [id="edge4_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="SDL2/SDL_video.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node6 [id="edge5_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node6 [id="Node000006",label="stdbool.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node7 [id="edge6_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node7 [id="Node000007",label="stdlib.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node8 [id="edge7_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node8 [id="Node000008",label="time.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node9 [id="edge8_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 [id="Node000009",label="stdio.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node7 [id="edge9_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node10 [id="edge10_Node000001_Node000010",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node10 [id="Node000010",label="string.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "countCustomMaps"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="countCustomMaps",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de compter le nombre de maps custom dans le fichier des maps."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="generatorMenu",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$read_8c.html#aa77b744c6eb2919d8d69ae718210ce55",tooltip="La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "generatorMenu"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="LR";
|
||||||
|
Node1 [id="Node000001",label="generatorMenu",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom."];
|
||||||
|
Node1 -> Node2 [id="edge1_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="countCustomMaps",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$read_8c.html#a33f349fef5188584733f08c3a0eddbf2",tooltip="La fonction permet de compter le nombre de maps custom dans le fichier des maps."];
|
||||||
|
}
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Fichier source de read.h</title>
|
<title>Sokoban: Fichier source de read.h</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -95,14 +95,15 @@ $(function(){ initResizable(false); });
|
|||||||
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef READ_H</span></div>
|
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef READ_H</span></div>
|
||||||
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define READ_H</span></div>
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define READ_H</span></div>
|
||||||
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include "function.h"</span></div>
|
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="preprocessor">#include "function.h"</span></div>
|
||||||
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><a class="code hl_struct" href="structVecteur.html">vect</a> *fileToTab2D (<span class="keyword">const</span> <span class="keywordtype">char</span> *name_file, <span class="keywordtype">char</span> **tab,</div>
|
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span>vect *fileToTab2D (<span class="keyword">const</span> <span class="keywordtype">char</span> *name_file, <span class="keywordtype">char</span> **tab,</div>
|
||||||
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> N, <a class="code hl_struct" href="structVecteur.html">vect</a> *player, <span class="keywordtype">int</span> *nbr_targets);</div>
|
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">const</span> <span class="keywordtype">unsigned</span> N, vect *player, <span class="keywordtype">int</span> *nbr_targets);</div>
|
||||||
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#endif </span><span class="comment">// !READ_H</span></div>
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="keywordtype">int</span> countCustomMaps(<span class="keywordtype">char</span> *name_directory);</div>
|
||||||
<div class="ttc" id="astructVecteur_html"><div class="ttname"><a href="structVecteur.html">Vecteur</a></div><div class="ttdef"><b>Definition</b> function.h:20</div></div>
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="keywordtype">char</span> ** generatorMenu(<span class="keywordtype">char</span> *name_directory, vect *size, vect *pos_player);</div>
|
||||||
|
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#endif </span><span class="comment">// !READ_H</span></div>
|
||||||
</div><!-- fragment --></div><!-- contents -->
|
</div><!-- fragment --></div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['canigodirection_0',['canIGoDirection',['../function_8c.html#a76df2bc0c692d3397837706a6852ac36',1,'function.c']]],
|
['canigodirection_0',['canIGoDirection',['../function_8c.html#a76df2bc0c692d3397837706a6852ac36',1,'function.c']]],
|
||||||
['creatarea2d_1',['creatArea2D',['../function_8c.html#af81182d12b72ee349a71d6685217b097',1,'function.c']]]
|
['countcustommaps_1',['countCustomMaps',['../read_8c.html#a33f349fef5188584733f08c3a0eddbf2',1,'read.c']]],
|
||||||
|
['creatarea2d_2',['creatArea2D',['../function_8c.html#a1d06514900b90ce163ebe2d5aefc16db',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]],
|
['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]],
|
||||||
['free2d_1',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]],
|
['free2d_1',['free2D',['../function_8c.html#a9011ea69a97e2101aa9bcc52cc60d4ce',1,'function.c']]],
|
||||||
['function_2ec_2',['function.c',['../function_8c.html',1,'']]]
|
['function_2ec_2',['function.c',['../function_8c.html',1,'']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['getmaxsize_0',['getMaxSize',['../display_8c.html#ab9c0348d4cff3f20344d763945c96b40',1,'display.c']]]
|
['generatormenu_0',['generatorMenu',['../read_8c.html#aa77b744c6eb2919d8d69ae718210ce55',1,'read.c']]],
|
||||||
|
['getmaxsize_1',['getMaxSize',['../display_8c.html#ab9c0348d4cff3f20344d763945c96b40',1,'display.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['ingameloop_0',['inGameLoop',['../function_8c.html#a2387ddb7cde4f9d45198b0c131a60878',1,'function.c']]],
|
['ingameloop_0',['inGameLoop',['../function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f',1,'function.c']]],
|
||||||
['initsdl_1',['initSDL',['../display_8c.html#a46638b64faa8239921eab8c3817847f4',1,'display.c']]],
|
['initsdl_1',['initSDL',['../display_8c.html#a46638b64faa8239921eab8c3817847f4',1,'display.c']]],
|
||||||
['islose_2',['islose',['../function_8c.html#ac155bb183b0c26d19758d8d065baf14f',1,'function.c']]],
|
['islose_2',['islose',['../function_8c.html#ac155bb183b0c26d19758d8d065baf14f',1,'function.c']]],
|
||||||
['iswin_3',['isWin',['../function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a',1,'function.c']]]
|
['iswin_3',['isWin',['../function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a',1,'function.c']]]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['plusvect_0',['plusVect',['../function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d',1,'function.c']]]
|
['nullscore_0',['nullScore',['../function_8c.html#a4a66f9d998c95fde67d6f89fef1fded5',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['read_2ec_0',['read.c',['../read_8c.html',1,'']]]
|
['plusvect_0',['plusVect',['../function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['score_0',['Score',['../structScore.html',1,'']]],
|
['read_2ec_0',['read.c',['../read_8c.html',1,'']]]
|
||||||
['screendisplay_1',['screenDisplay',['../display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44',1,'display.c']]],
|
|
||||||
['screendisplaygamesdl_2',['screenDisplayGameSDL',['../display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189',1,'display.c']]]
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['timetotext_0',['timeToText',['../function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5',1,'function.c']]]
|
['score_0',['Score',['../structScore.html',1,'']]],
|
||||||
|
['screendisplay_1',['screenDisplay',['../display_8c.html#affba8627c7c6c768268f64fa670207e5',1,'display.c']]],
|
||||||
|
['screendisplaygamesdl_2',['screenDisplayGameSDL',['../display_8c.html#a9ed2db696b902038cc72feee1d0c30f3',1,'display.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['vecteur_0',['Vecteur',['../structVecteur.html',1,'']]]
|
['timetotext_0',['timeToText',['../function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
4
rapport/html/search/all_e.js
Normal file
4
rapport/html/search/all_e.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['vecteur_0',['Vecteur',['../structVecteur.html',1,'']]]
|
||||||
|
];
|
||||||
4
rapport/html/search/all_f.js
Normal file
4
rapport/html/search/all_f.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['winorloseloop_0',['winOrLoseLoop',['../function_8c.html#a2dc9de2f6fd2bed3619d7ce8c1f05590',1,'function.c']]]
|
||||||
|
];
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['canigodirection_0',['canIGoDirection',['../function_8c.html#a76df2bc0c692d3397837706a6852ac36',1,'function.c']]],
|
['canigodirection_0',['canIGoDirection',['../function_8c.html#a76df2bc0c692d3397837706a6852ac36',1,'function.c']]],
|
||||||
['creatarea2d_1',['creatArea2D',['../function_8c.html#af81182d12b72ee349a71d6685217b097',1,'function.c']]]
|
['countcustommaps_1',['countCustomMaps',['../read_8c.html#a33f349fef5188584733f08c3a0eddbf2',1,'read.c']]],
|
||||||
|
['creatarea2d_2',['creatArea2D',['../function_8c.html#a1d06514900b90ce163ebe2d5aefc16db',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]],
|
['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]],
|
||||||
['free2d_1',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]]
|
['free2d_1',['free2D',['../function_8c.html#a9011ea69a97e2101aa9bcc52cc60d4ce',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['getmaxsize_0',['getMaxSize',['../display_8c.html#ab9c0348d4cff3f20344d763945c96b40',1,'display.c']]]
|
['generatormenu_0',['generatorMenu',['../read_8c.html#aa77b744c6eb2919d8d69ae718210ce55',1,'read.c']]],
|
||||||
|
['getmaxsize_1',['getMaxSize',['../display_8c.html#ab9c0348d4cff3f20344d763945c96b40',1,'display.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['ingameloop_0',['inGameLoop',['../function_8c.html#a2387ddb7cde4f9d45198b0c131a60878',1,'function.c']]],
|
['ingameloop_0',['inGameLoop',['../function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f',1,'function.c']]],
|
||||||
['initsdl_1',['initSDL',['../display_8c.html#a46638b64faa8239921eab8c3817847f4',1,'display.c']]],
|
['initsdl_1',['initSDL',['../display_8c.html#a46638b64faa8239921eab8c3817847f4',1,'display.c']]],
|
||||||
['islose_2',['islose',['../function_8c.html#ac155bb183b0c26d19758d8d065baf14f',1,'function.c']]],
|
['islose_2',['islose',['../function_8c.html#ac155bb183b0c26d19758d8d065baf14f',1,'function.c']]],
|
||||||
['iswin_3',['isWin',['../function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a',1,'function.c']]]
|
['iswin_3',['isWin',['../function_8c.html#a618903fbb7302d98ef0f3e2e6b35b99a',1,'function.c']]]
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['plusvect_0',['plusVect',['../function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d',1,'function.c']]]
|
['nullscore_0',['nullScore',['../function_8c.html#a4a66f9d998c95fde67d6f89fef1fded5',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['screendisplay_0',['screenDisplay',['../display_8c.html#a99b9f82dcee1c08efb2101826d2f6b44',1,'display.c']]],
|
['plusvect_0',['plusVect',['../function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d',1,'function.c']]]
|
||||||
['screendisplaygamesdl_1',['screenDisplayGameSDL',['../display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189',1,'display.c']]]
|
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['timetotext_0',['timeToText',['../function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5',1,'function.c']]]
|
['screendisplay_0',['screenDisplay',['../display_8c.html#affba8627c7c6c768268f64fa670207e5',1,'display.c']]],
|
||||||
|
['screendisplaygamesdl_1',['screenDisplayGameSDL',['../display_8c.html#a9ed2db696b902038cc72feee1d0c30f3',1,'display.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
4
rapport/html/search/functions_b.js
Normal file
4
rapport/html/search/functions_b.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['timetotext_0',['timeToText',['../function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5',1,'function.c']]]
|
||||||
|
];
|
||||||
4
rapport/html/search/functions_c.js
Normal file
4
rapport/html/search/functions_c.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['winorloseloop_0',['winOrLoseLoop',['../function_8c.html#a2dc9de2f6fd2bed3619d7ce8c1f05590',1,'function.c']]]
|
||||||
|
];
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
var indexSectionsWithContent =
|
var indexSectionsWithContent =
|
||||||
{
|
{
|
||||||
0: "bcdefgilmprstv",
|
0: "bcdefgilmnprstvw",
|
||||||
1: "esv",
|
1: "esv",
|
||||||
2: "dfmr",
|
2: "dfmr",
|
||||||
3: "bcdfgilmpst"
|
3: "bcdfgilmnpstw"
|
||||||
};
|
};
|
||||||
|
|
||||||
var indexSectionNames =
|
var indexSectionNames =
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence de la structure Score</title>
|
<title>Sokoban: Référence de la structure Score</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -112,7 +112,7 @@ unsigned int </td><td class="memItemRight" valign="bottom"><b>move_box</b><
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence de la structure Vecteur</title>
|
<title>Sokoban: Référence de la structure Vecteur</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -106,7 +106,7 @@ int </td><td class="memItemRight" valign="bottom"><b>y</b></td></tr>
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
<meta name="generator" content="Doxygen 1.12.0"/>
|
<meta name="generator" content="Doxygen 1.13.1"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
<title>Sokoban: Référence de la structure essential_sdl</title>
|
<title>Sokoban: Référence de la structure essential_sdl</title>
|
||||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
@@ -34,7 +34,7 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<!-- end header part -->
|
<!-- end header part -->
|
||||||
<!-- Généré par Doxygen 1.12.0 -->
|
<!-- Généré par Doxygen 1.13.1 -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
@@ -115,7 +115,7 @@ unsigned int </td><td class="memItemRight" valign="bottom"><b>size_menu</b>
|
|||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
<hr class="footer"/><address class="footer"><small>
|
<hr class="footer"/><address class="footer"><small>
|
||||||
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
|
Généré par <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.1
|
||||||
</small></address>
|
</small></address>
|
||||||
</div><!-- doc-content -->
|
</div><!-- doc-content -->
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -11,8 +11,7 @@
|
|||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+ttf.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+ttf.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
||||||
Graphe des dépendances par inclusion de display.\+c\+:
|
Graphe des dépendances par inclusion de display.\+c\+:\nopagebreak
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\leavevmode
|
\leavevmode
|
||||||
@@ -22,9 +21,9 @@ Graphe des dépendances par inclusion de display.\+c\+:
|
|||||||
\doxysubsubsection*{Fonctions}
|
\doxysubsubsection*{Fonctions}
|
||||||
\begin{DoxyCompactItemize}
|
\begin{DoxyCompactItemize}
|
||||||
\item
|
\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
|
\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
|
\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)
|
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
|
\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}
|
\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}
|
\doxysubsection{Documentation des fonctions}
|
||||||
\index{display.c@{display.c}!displayImage@{displayImage}}
|
\index{display.c@{display.c}!displayImage@{displayImage}}
|
||||||
\index{displayImage@{displayImage}!display.c@{display.c}}
|
\index{displayImage@{displayImage}!display.c@{display.c}}
|
||||||
@@ -134,8 +136,8 @@ Void
|
|||||||
\index{display.c@{display.c}!screenDisplay@{screenDisplay}}
|
\index{display.c@{display.c}!screenDisplay@{screenDisplay}}
|
||||||
\index{screenDisplay@{screenDisplay}!display.c@{display.c}}
|
\index{screenDisplay@{screenDisplay}!display.c@{display.c}}
|
||||||
\doxysubsubsection{screenDisplay()}
|
\doxysubsubsection{screenDisplay()}
|
||||||
{\footnotesize\ttfamily \label{display_8c_a99b9f82dcee1c08efb2101826d2f6b44}
|
{\footnotesize\ttfamily \label{display_8c_affba8627c7c6c768268f64fa670207e5}
|
||||||
void screen\+Display (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{int}]{size}{}\end{DoxyParamCaption})}
|
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}
|
\begin{DoxyParams}{Paramètres}
|
||||||
{\em tab} & Le tableau 2d carre du plateau. \\
|
{\em tab} & Le tableau 2d du plateau. \\
|
||||||
\hline
|
\hline
|
||||||
{\em size} & La taille du plateau. \\
|
{\em x} & Le mombre de ligne. \\
|
||||||
|
\hline
|
||||||
|
{\em y} & Le nombre de colonnes. \\
|
||||||
\hline
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
@@ -154,8 +158,8 @@ Void
|
|||||||
\index{display.c@{display.c}!screenDisplayGameSDL@{screenDisplayGameSDL}}
|
\index{display.c@{display.c}!screenDisplayGameSDL@{screenDisplayGameSDL}}
|
||||||
\index{screenDisplayGameSDL@{screenDisplayGameSDL}!display.c@{display.c}}
|
\index{screenDisplayGameSDL@{screenDisplayGameSDL}!display.c@{display.c}}
|
||||||
\doxysubsubsection{screenDisplayGameSDL()}
|
\doxysubsubsection{screenDisplayGameSDL()}
|
||||||
{\footnotesize\ttfamily \label{display_8c_a6f451a9d0fd4d2325d9f03d7cda4a189}
|
{\footnotesize\ttfamily \label{display_8c_a9ed2db696b902038cc72feee1d0c30f3}
|
||||||
void screen\+Display\+Game\+SDL (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{}\end{DoxyParamCaption})}
|
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
|
\hline
|
||||||
{\em display\+\_\+user} & La structure qui possede tous ce qu\textquotesingle{}il faut pour l\textquotesingle{}affichage SDL \\
|
{\em display\+\_\+user} & La structure qui possede tous ce qu\textquotesingle{}il faut pour l\textquotesingle{}affichage SDL \\
|
||||||
\hline
|
\hline
|
||||||
|
{\em player\+\_\+pos} & la position du joueur \\
|
||||||
|
\hline
|
||||||
|
{\em fov} & Le fov de la vision du joueur, -\/1 si desactiver. \\
|
||||||
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
Void
|
Void
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
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}
|
|
||||||
|
|||||||
177
rapport/latex/display_8c.tex.tmp
Normal file
177
rapport/latex/display_8c.tex.tmp
Normal file
@@ -0,0 +1,177 @@
|
|||||||
|
\doxysection{Référence du fichier display.\+c}
|
||||||
|
\label{display_8c}\index{display.c@{display.c}}
|
||||||
|
{\ttfamily \#include "{}../include/display.\+h"{}}\newline
|
||||||
|
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+image.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+mutex.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+rect.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+surface.\+h$>$}\newline
|
||||||
|
{\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
|
||||||
|
\begin{figure}[H]
|
||||||
|
\begin{center}
|
||||||
|
\leavevmode
|
||||||
|
\includegraphics[width=350pt]{display_8c__incl}
|
||||||
|
\end{center}
|
||||||
|
\end{figure}
|
||||||
|
\doxysubsubsection*{Fonctions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
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{ 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
|
||||||
|
void \textbf{ init\+SDL} (\textbf{ dis} $\ast$display\+\_\+user)
|
||||||
|
\begin{DoxyCompactList}\small\item\em Initialise SDL. \end{DoxyCompactList}\item
|
||||||
|
void \textbf{ display\+Image} (SDL\+\_\+\+Renderer $\ast$renderer, SDL\+\_\+\+Texture $\ast$texture, \textbf{ vect} pos, int size)
|
||||||
|
\begin{DoxyCompactList}\small\item\em Cette fonction affiche l\textquotesingle{}image dans la fenetre de l\textquotesingle{}utilisateur. \end{DoxyCompactList}\item
|
||||||
|
void \textbf{ display\+Text\+SDL} (\textbf{ dis} $\ast$display\+\_\+user, char $\ast$text, \textbf{ vect} coor, \textbf{ vect} size, int font\+\_\+size)
|
||||||
|
\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}}
|
||||||
|
\doxysubsubsection{displayImage()}
|
||||||
|
{\footnotesize\ttfamily \label{display_8c_a81a2b2da875550c614a407ec735ff9d9}
|
||||||
|
void display\+Image (\begin{DoxyParamCaption}\item[{SDL\+\_\+\+Renderer $\ast$}]{renderer}{, }\item[{SDL\+\_\+\+Texture $\ast$}]{texture}{, }\item[{\textbf{ vect}}]{pos}{, }\item[{int}]{size}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Cette fonction affiche l\textquotesingle{}image dans la fenetre de l\textquotesingle{}utilisateur.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em renderer} & Le renderer de l\textquotesingle{}utilisateur. \\
|
||||||
|
\hline
|
||||||
|
{\em texture} & La texture de l\textquotesingle{}image à appliquer. \\
|
||||||
|
\hline
|
||||||
|
{\em pos} & La position de l\textquotesingle{}image à afficher. \\
|
||||||
|
\hline
|
||||||
|
{\em size} & La taile de l\textquotesingle{}image. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
Void
|
||||||
|
\end{DoxyReturn}
|
||||||
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
|
% FIG 0
|
||||||
|
\index{display.c@{display.c}!displayTextSDL@{displayTextSDL}}
|
||||||
|
\index{displayTextSDL@{displayTextSDL}!display.c@{display.c}}
|
||||||
|
\doxysubsubsection{displayTextSDL()}
|
||||||
|
{\footnotesize\ttfamily \label{display_8c_af8c0265ee608800f8daba2540c65c5b0}
|
||||||
|
void display\+Text\+SDL (\begin{DoxyParamCaption}\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{, }\item[{char $\ast$}]{text}{, }\item[{\textbf{ vect}}]{coor}{, }\item[{\textbf{ vect}}]{size}{, }\item[{int}]{font\+\_\+size}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Cette fonction affiche du texte dans la fenetre de l\textquotesingle{}utilisateur.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em display\+\_\+user} & Tous les éléments SDL de l\textquotesingle{}utilisateur. \\
|
||||||
|
\hline
|
||||||
|
{\em text} & Le string à afficher. \\
|
||||||
|
\hline
|
||||||
|
{\em coor} & Les coordonnée du texte. \\
|
||||||
|
\hline
|
||||||
|
{\em size} & La taille du texte. \\
|
||||||
|
\hline
|
||||||
|
{\em font\+\_\+size} & La taille de la font. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
Void
|
||||||
|
\end{DoxyReturn}
|
||||||
|
\index{display.c@{display.c}!getMaxSize@{getMaxSize}}
|
||||||
|
\index{getMaxSize@{getMaxSize}!display.c@{display.c}}
|
||||||
|
\doxysubsubsection{getMaxSize()}
|
||||||
|
{\footnotesize\ttfamily \label{display_8c_ab9c0348d4cff3f20344d763945c96b40}
|
||||||
|
int get\+Max\+Size (\begin{DoxyParamCaption}\item[{\textbf{ dis}}]{display\+\_\+user}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Taille de l\textquotesingle{}ecrant carre en fonction de l\textquotesingle{}ecrant du joueur avec une marge.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em display\+\_\+user} & Qui serra modifier pour stoquer les information. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
La taille max pour la fenetre de l\textquotesingle{}utilisateur.
|
||||||
|
\end{DoxyReturn}
|
||||||
|
\index{display.c@{display.c}!initSDL@{initSDL}}
|
||||||
|
\index{initSDL@{initSDL}!display.c@{display.c}}
|
||||||
|
\doxysubsubsection{initSDL()}
|
||||||
|
{\footnotesize\ttfamily \label{display_8c_a46638b64faa8239921eab8c3817847f4}
|
||||||
|
void init\+SDL (\begin{DoxyParamCaption}\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Initialise SDL.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em display\+\_\+user} & Stockage d\textquotesingle{}éléments SDL. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
Void
|
||||||
|
\end{DoxyReturn}
|
||||||
|
\index{display.c@{display.c}!screenDisplay@{screenDisplay}}
|
||||||
|
\index{screenDisplay@{screenDisplay}!display.c@{display.c}}
|
||||||
|
\doxysubsubsection{screenDisplay()}
|
||||||
|
{\footnotesize\ttfamily \label{display_8c_affba8627c7c6c768268f64fa670207e5}
|
||||||
|
void screen\+Display (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{int}]{x}{, }\item[{int}]{y}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
La fonction permet d\textquotesingle{}afficher simplement le plateau de jeu dans le terminal.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em tab} & Le tableau 2d du plateau. \\
|
||||||
|
\hline
|
||||||
|
{\em x} & Le mombre de ligne. \\
|
||||||
|
\hline
|
||||||
|
{\em y} & Le nombre de colonnes. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
Void
|
||||||
|
\end{DoxyReturn}
|
||||||
|
\index{display.c@{display.c}!screenDisplayGameSDL@{screenDisplayGameSDL}}
|
||||||
|
\index{screenDisplayGameSDL@{screenDisplayGameSDL}!display.c@{display.c}}
|
||||||
|
\doxysubsubsection{screenDisplayGameSDL()}
|
||||||
|
{\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})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
La fonction affiche a l\textquotesingle{}aide de SDL la zone de jeu.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em tab} & Le tableau 2d de 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 \+:
|
||||||
|
% FIG 1
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "displayImage"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="displayImage",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Cette fonction affiche l'image dans la fenetre de l'utilisateur."];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="screenDisplayGameSDL",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8c.html#a9ed2db696b902038cc72feee1d0c30f3",tooltip="La fonction affiche a l'aide de SDL la zone de jeu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "screenDisplayGameSDL"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="LR";
|
||||||
|
Node1 [id="Node000001",label="screenDisplayGameSDL",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction affiche a l'aide de SDL la zone de jeu."];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="displayImage",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8c.html#a81a2b2da875550c614a407ec735ff9d9",tooltip="Cette fonction affiche l'image dans la fenetre de l'utilisateur."];
|
||||||
|
}
|
||||||
@@ -9,13 +9,13 @@
|
|||||||
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <SDL2/SDL.h>}}
|
\DoxyCodeLine{00005\ \textcolor{preprocessor}{\#include\ <SDL2/SDL.h>}}
|
||||||
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <SDL2/SDL\_ttf.h>}}
|
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#include\ <SDL2/SDL\_ttf.h>}}
|
||||||
\DoxyCodeLine{00007\ }
|
\DoxyCodeLine{00007\ }
|
||||||
\DoxyCodeLine{00008\ \textcolor{keywordtype}{void}\ screenDisplay\ (\textcolor{keywordtype}{char}\ **tab,\ \textcolor{keywordtype}{int}\ size);}
|
\DoxyCodeLine{00008\ \textcolor{keywordtype}{void}\ screenDisplay\ (\textcolor{keywordtype}{char}\ **tab,\ \textcolor{keywordtype}{int}\ x,\ \textcolor{keywordtype}{int}\ y);}
|
||||||
\DoxyCodeLine{00009\ \textcolor{keywordtype}{int}\ getMaxSize\ (dis\ display\_user);}
|
\DoxyCodeLine{00009\ \textcolor{keywordtype}{int}\ getMaxSize\ (dis\ display\_user);}
|
||||||
\DoxyCodeLine{00010\ \textcolor{keywordtype}{void}\ displayImage\ (SDL\_Renderer\ *renderer,\ SDL\_Texture\ *texture,\ vect\ pos,}
|
\DoxyCodeLine{00010\ \textcolor{keywordtype}{void}\ displayImage\ (SDL\_Renderer\ *renderer,\ SDL\_Texture\ *texture,\ vect\ pos,}
|
||||||
\DoxyCodeLine{00011\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ size);}
|
\DoxyCodeLine{00011\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ size);}
|
||||||
\DoxyCodeLine{00012\ \textcolor{keywordtype}{void}\ initSDL\ (dis\ *display\_user);}
|
\DoxyCodeLine{00012\ \textcolor{keywordtype}{void}\ initSDL\ (dis\ *display\_user);}
|
||||||
\DoxyCodeLine{00013\ \textcolor{keywordtype}{void}\ screenDisplayGameSDL\ (\textcolor{keywordtype}{char}\ **tab,\ dis\ *display\_user);}
|
\DoxyCodeLine{00013\ \textcolor{keywordtype}{void}\ displayTextSDL(dis\ *display\_user,\textcolor{keywordtype}{char}\ *text,\ vect\ coor,\ vect\ size,\ \textcolor{keywordtype}{int}\ font\_size);}
|
||||||
\DoxyCodeLine{00014\ \textcolor{keywordtype}{void}\ displayTextSDL(dis\ *display\_user,\textcolor{keywordtype}{char}\ *text,\ vect\ coor,\ vect\ size,\ \textcolor{keywordtype}{int}\ font\_size);}
|
\DoxyCodeLine{00014\ \textcolor{keywordtype}{void}\ screenDisplayGameSDL\ (\textcolor{keywordtype}{char}\ **tab,vect\ dim\_tab,\ dis\ *display\_user,\ vect\ *player\_pos,\ \textcolor{keywordtype}{int}\ fov);}
|
||||||
\DoxyCodeLine{00015\ }
|
\DoxyCodeLine{00015\ }
|
||||||
\DoxyCodeLine{00016\ }
|
\DoxyCodeLine{00016\ }
|
||||||
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ !DISPLAY\_H}}
|
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ !DISPLAY\_H}}
|
||||||
|
|||||||
@@ -122,6 +122,7 @@
|
|||||||
% Used by @code ... @endcode
|
% Used by @code ... @endcode
|
||||||
\newenvironment{DoxyCode}[1]{%
|
\newenvironment{DoxyCode}[1]{%
|
||||||
\par%
|
\par%
|
||||||
|
\vspace{2pt}%
|
||||||
\scriptsize%
|
\scriptsize%
|
||||||
\normalfont\ttfamily%
|
\normalfont\ttfamily%
|
||||||
\rightskip0pt plus 1fil%
|
\rightskip0pt plus 1fil%
|
||||||
@@ -129,14 +130,14 @@
|
|||||||
\settowidth{\CodeWidthChar}{?}%
|
\settowidth{\CodeWidthChar}{?}%
|
||||||
\settoheight{\CodeHeightChar}{?}%
|
\settoheight{\CodeHeightChar}{?}%
|
||||||
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
||||||
\ifthenelse{\equal{#1}{0}}
|
\ifthenelse{\equal{#1}{0}}%
|
||||||
{
|
{%
|
||||||
{\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces%
|
{\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces%
|
||||||
}
|
}%
|
||||||
{
|
{%
|
||||||
{\lccode`~32 \lowercase{\global\let~}}\obeyspaces%
|
{\lccode`~32 \lowercase{\global\let~}}\obeyspaces%
|
||||||
}
|
}%
|
||||||
|
\vspace{2pt}%
|
||||||
}{%
|
}{%
|
||||||
\normalfont%
|
\normalfont%
|
||||||
\normalsize%
|
\normalsize%
|
||||||
|
|||||||
@@ -3,7 +3,9 @@
|
|||||||
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
||||||
{\ttfamily \#include "{}../include/display.\+h"{}}\newline
|
{\ttfamily \#include "{}../include/display.\+h"{}}\newline
|
||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+events.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+events.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+image.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+keycode.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+keycode.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+rect.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+scancode.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+scancode.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+timer.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+timer.\+h$>$}\newline
|
||||||
@@ -12,26 +14,20 @@
|
|||||||
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$time.\+h$>$}\newline
|
{\ttfamily \#include $<$time.\+h$>$}\newline
|
||||||
Graphe des dépendances par inclusion de function.\+c\+:
|
Graphe des dépendances par inclusion de function.\+c\+:
|
||||||
\nopagebreak
|
% FIG 0
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=350pt]{function_8c__incl}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\doxysubsubsection*{Fonctions}
|
\doxysubsubsection*{Fonctions}
|
||||||
\begin{DoxyCompactItemize}
|
\begin{DoxyCompactItemize}
|
||||||
\item
|
\item
|
||||||
char $\ast$$\ast$ \textbf{ creat\+Area2D} (const unsigned int N)
|
char $\ast$$\ast$ \textbf{ creat\+Area2D} (const int x, const int y)
|
||||||
\begin{DoxyCompactList}\small\item\em Cette fonction permet de creer une liste 2D carre. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em Cette fonction permet de creer une liste 2D. \end{DoxyCompactList}\item
|
||||||
void \textbf{ free2D} (char $\ast$$\ast$tab, int N)
|
void \textbf{ free2D} (char $\ast$$\ast$tab, int x)
|
||||||
\begin{DoxyCompactList}\small\item\em Cette fontion permet de liberer l\textquotesingle{}espace tu tableau 2D de char. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em Cette fontion permet de liberer l\textquotesingle{}espace tu tableau 2D de char. \end{DoxyCompactList}\item
|
||||||
char \textbf{ can\+IGo\+Direction} (char value\+Of\+NCase, char value\+Of\+NPlus\+One\+Case)
|
char \textbf{ can\+IGo\+Direction} (char value\+Of\+NCase, char value\+Of\+NPlus\+One\+Case)
|
||||||
\begin{DoxyCompactList}\small\item\em La fontction permet de savoir si le joueur peut ce deplacer dans une direction. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em La fontction permet de savoir si le joueur peut ce deplacer dans une direction. \end{DoxyCompactList}\item
|
||||||
void \textbf{ move} (char $\ast$$\ast$tab, \textbf{ vect} $\ast$player\+Pos, \textbf{ vect} direction, \textbf{ score} $\ast$score\+\_\+user)
|
void \textbf{ move} (char $\ast$$\ast$tab, \textbf{ vect} $\ast$player\+Pos, \textbf{ vect} direction, \textbf{ score} $\ast$score\+\_\+user)
|
||||||
\begin{DoxyCompactList}\small\item\em Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation. \end{DoxyCompactList}\item
|
||||||
void \textbf{ in\+Game\+Loop} (char $\ast$$\ast$tab2d, int N, \textbf{ vect} $\ast$player\+Pos, \textbf{ vect} $\ast$targets, int nbr\+\_\+targets, \textbf{ dis} $\ast$display\+\_\+user, \textbf{ score} $\ast$score\+\_\+user)
|
int \textbf{ in\+Game\+Loop} (char $\ast$$\ast$tab2d, \textbf{ vect} $\ast$dim\+\_\+tab, \textbf{ vect} $\ast$player\+Pos, \textbf{ vect} $\ast$targets, int nbr\+\_\+targets, \textbf{ dis} $\ast$display\+\_\+user, \textbf{ score} $\ast$score\+\_\+user, bool menu)
|
||||||
\begin{DoxyCompactList}\small\item\em La fonction permet de faire la boucle de jeu. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em La fonction permet de faire la boucle de jeu et le menu. \end{DoxyCompactList}\item
|
||||||
bool \textbf{ is\+Win} (char $\ast$$\ast$tab2d, \textbf{ vect} $\ast$targets, int nbr\+\_\+targets)
|
bool \textbf{ is\+Win} (char $\ast$$\ast$tab2d, \textbf{ vect} $\ast$targets, int nbr\+\_\+targets)
|
||||||
\begin{DoxyCompactList}\small\item\em Cette fonction verrifie si la partie est gagnante. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em Cette fonction verrifie si la partie est gagnante. \end{DoxyCompactList}\item
|
||||||
bool \textbf{ islose} (char $\ast$$\ast$tab2d, const int N)
|
bool \textbf{ islose} (char $\ast$$\ast$tab2d, const int N)
|
||||||
@@ -44,7 +40,14 @@ int {\bfseries length\+Vect} (\textbf{ vect} vector)
|
|||||||
bool \textbf{ block\+Box} (char $\ast$$\ast$tab2d, \textbf{ vect} box\+\_\+coor)
|
bool \textbf{ block\+Box} (char $\ast$$\ast$tab2d, \textbf{ vect} box\+\_\+coor)
|
||||||
\begin{DoxyCompactList}\small\item\em La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqué. \end{DoxyCompactList}\item
|
\begin{DoxyCompactList}\small\item\em La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqué. \end{DoxyCompactList}\item
|
||||||
char $\ast$ \textbf{ time\+To\+Text} (time\+\_\+t time)
|
char $\ast$ \textbf{ time\+To\+Text} (time\+\_\+t time)
|
||||||
\begin{DoxyCompactList}\small\item\em Cette fonction renvois transforme le forma time en texte. (min\+:sec) \end{DoxyCompactList}\end{DoxyCompactItemize}
|
\begin{DoxyCompactList}\small\item\em Cette fonction renvois transforme le forma time en texte. (min\+:sec) \end{DoxyCompactList}\item
|
||||||
|
void \textbf{ null\+Score} (\textbf{ score} $\ast$player\+\_\+score)
|
||||||
|
\begin{DoxyCompactList}\small\item\em Mets à 0 le score. \end{DoxyCompactList}\item
|
||||||
|
void \textbf{ win\+Or\+Lose\+Loop} (\textbf{ dis} $\ast$display\+\_\+user, \textbf{ score} $\ast$score\+\_\+user, bool win)
|
||||||
|
\begin{DoxyCompactList}\small\item\em Fonction de loop pour la win ou la lose. \end{DoxyCompactList}\item
|
||||||
|
\label{function_8c_aeac9c46be252cd970406e3a2391b8e8c}
|
||||||
|
unsigned int {\bfseries score\+Calculator} (\textbf{ score} $\ast$score\+\_\+user, bool win)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
\doxysubsection{Description détaillée}
|
\doxysubsection{Description détaillée}
|
||||||
@@ -71,8 +74,7 @@ La fonction permet de savoir si une boite est dans une situation ou le joueur ne
|
|||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
True si la la boite est bloquer, sinon false.
|
True si la la boite est bloquer, sinon false.
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:\nopagebreak
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\leavevmode
|
\leavevmode
|
||||||
@@ -80,13 +82,7 @@ Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
|||||||
\end{center}
|
\end{center}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
\nopagebreak
|
% FIG 1
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=321pt]{function_8c_ac51249b2f7941ca06e6a614e071dd444_icgraph}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\index{function.c@{function.c}!canIGoDirection@{canIGoDirection}}
|
\index{function.c@{function.c}!canIGoDirection@{canIGoDirection}}
|
||||||
\index{canIGoDirection@{canIGoDirection}!function.c@{function.c}}
|
\index{canIGoDirection@{canIGoDirection}!function.c@{function.c}}
|
||||||
\doxysubsubsection{canIGoDirection()}
|
\doxysubsubsection{canIGoDirection()}
|
||||||
@@ -105,39 +101,35 @@ La fontction permet de savoir si le joueur peut ce deplacer dans une direction.
|
|||||||
\hline
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
0 Si c\textquotesingle{}est un mur devant le joueur, 1 si c\textquotesingle{}est vide devant le joueur, 2 si c\textquotesingle{}est une boite mais qu\textquotesingle{}on peux la pousser ,3 si le joueur pousse une boite sur un point d\textquotesingle{}interer, 4 si le joueur bouge sur un point d\textquotesingle{}interer, 5 si le joueur peux pousser une boite mais le joueur se place sur un point d\textquotesingle{}interer et 6 si le joeuur pousse une boite sur un point d\textquotesingle{}interer et que le joueu est aussi sur un point d\textquotesingle{}interer.
|
0 Si c\textquotesingle{}est un mur devant le joueur, 1 si c\textquotesingle{}est vide devant le joueur, 2 si c\textquotesingle{}est une boite mais qu\textquotesingle{}on peux la pousser ,3 si le joueur pousse une boite sur un point d\textquotesingle{}interer, 4 si le joueur bouge sur un point d\textquotesingle{}interer, 5 si le joueur peux pousser une boite mais le joueur se place sur un point d\textquotesingle{}interer et 6 si le joueur pousse une boite sur un point d\textquotesingle{}interer et que le joueur est aussi sur un point d\textquotesingle{}interer. 7 si value\+Of\+NCase est un bouton.
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
\nopagebreak
|
% FIG 2
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=349pt]{function_8c_a76df2bc0c692d3397837706a6852ac36_icgraph}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\index{function.c@{function.c}!creatArea2D@{creatArea2D}}
|
\index{function.c@{function.c}!creatArea2D@{creatArea2D}}
|
||||||
\index{creatArea2D@{creatArea2D}!function.c@{function.c}}
|
\index{creatArea2D@{creatArea2D}!function.c@{function.c}}
|
||||||
\doxysubsubsection{creatArea2D()}
|
\doxysubsubsection{creatArea2D()}
|
||||||
{\footnotesize\ttfamily \label{function_8c_af81182d12b72ee349a71d6685217b097}
|
{\footnotesize\ttfamily \label{function_8c_a1d06514900b90ce163ebe2d5aefc16db}
|
||||||
char $\ast$$\ast$ creat\+Area2D (\begin{DoxyParamCaption}\item[{const unsigned int}]{N}{}\end{DoxyParamCaption})}
|
char $\ast$$\ast$ creat\+Area2D (\begin{DoxyParamCaption}\item[{const int}]{x}{, }\item[{const int}]{y}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Cette fonction permet de creer une liste 2D carre.
|
Cette fonction permet de creer une liste 2D.
|
||||||
|
|
||||||
|
|
||||||
\begin{DoxyParams}{Paramètres}
|
\begin{DoxyParams}{Paramètres}
|
||||||
{\em N} & La valeur N est le nombre d\textquotesingle{}élément dans le tableau. \\
|
{\em x} & Nombre de ligne. \\
|
||||||
|
\hline
|
||||||
|
{\em y} & Nombre de colonne. \\
|
||||||
\hline
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
Le pointeur du tableau 2D carre de char (1 octet).
|
Le pointeur du tableau 2D de char (1 octet).
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
\index{function.c@{function.c}!free2D@{free2D}}
|
\index{function.c@{function.c}!free2D@{free2D}}
|
||||||
\index{free2D@{free2D}!function.c@{function.c}}
|
\index{free2D@{free2D}!function.c@{function.c}}
|
||||||
\doxysubsubsection{free2D()}
|
\doxysubsubsection{free2D()}
|
||||||
{\footnotesize\ttfamily \label{function_8c_af19c482f0f97b30cbb0253356ed1724b}
|
{\footnotesize\ttfamily \label{function_8c_a9011ea69a97e2101aa9bcc52cc60d4ce}
|
||||||
void free2D (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{int}]{N}{}\end{DoxyParamCaption})}
|
void free2D (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab}{, }\item[{int}]{x}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -147,7 +139,7 @@ Cette fontion permet de liberer l\textquotesingle{}espace tu tableau 2D de char.
|
|||||||
\begin{DoxyParams}{Paramètres}
|
\begin{DoxyParams}{Paramètres}
|
||||||
{\em tab} & Le tableau 2D. \\
|
{\em tab} & Le tableau 2D. \\
|
||||||
\hline
|
\hline
|
||||||
{\em N} & Le nombre d\textquotesingle{}éléments. \\
|
{\em x} & Le nombre de ligne. \\
|
||||||
\hline
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
@@ -156,12 +148,12 @@ Void.
|
|||||||
\index{function.c@{function.c}!inGameLoop@{inGameLoop}}
|
\index{function.c@{function.c}!inGameLoop@{inGameLoop}}
|
||||||
\index{inGameLoop@{inGameLoop}!function.c@{function.c}}
|
\index{inGameLoop@{inGameLoop}!function.c@{function.c}}
|
||||||
\doxysubsubsection{inGameLoop()}
|
\doxysubsubsection{inGameLoop()}
|
||||||
{\footnotesize\ttfamily \label{function_8c_a2387ddb7cde4f9d45198b0c131a60878}
|
{\footnotesize\ttfamily \label{function_8c_a7f8e67bce9078c159778bbe2f57e9d2f}
|
||||||
void in\+Game\+Loop (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab2d}{, }\item[{int}]{N}{, }\item[{\textbf{ vect} $\ast$}]{player\+Pos}{, }\item[{\textbf{ vect} $\ast$}]{targets}{, }\item[{int}]{nbr\+\_\+targets}{, }\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{, }\item[{\textbf{ score} $\ast$}]{score\+\_\+user}{}\end{DoxyParamCaption})}
|
int in\+Game\+Loop (\begin{DoxyParamCaption}\item[{char $\ast$$\ast$}]{tab2d}{, }\item[{\textbf{ vect} $\ast$}]{dim\+\_\+tab}{, }\item[{\textbf{ vect} $\ast$}]{player\+Pos}{, }\item[{\textbf{ vect} $\ast$}]{targets}{, }\item[{int}]{nbr\+\_\+targets}{, }\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{, }\item[{\textbf{ score} $\ast$}]{score\+\_\+user}{, }\item[{bool}]{menu}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
La fonction permet de faire la boucle de jeu.
|
La fonction permet de faire la boucle de jeu et le menu.
|
||||||
|
|
||||||
|
|
||||||
\begin{DoxyParams}{Paramètres}
|
\begin{DoxyParams}{Paramètres}
|
||||||
@@ -179,18 +171,14 @@ La fonction permet de faire la boucle de jeu.
|
|||||||
\hline
|
\hline
|
||||||
{\em score\+\_\+user} & Toute les données nécessaire pour calculer le score fini du joueur. \\
|
{\em score\+\_\+user} & Toute les données nécessaire pour calculer le score fini du joueur. \\
|
||||||
\hline
|
\hline
|
||||||
|
{\em menu} & True si c\textquotesingle{}est la loop du menu. \\
|
||||||
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
Void
|
L\textquotesingle{}indice de la map si c\textquotesingle{}est un menu, sinon renvoie -\/1
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
||||||
\nopagebreak
|
% FIG 3
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=350pt]{function_8c_a2387ddb7cde4f9d45198b0c131a60878_cgraph}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\index{function.c@{function.c}!islose@{islose}}
|
\index{function.c@{function.c}!islose@{islose}}
|
||||||
\index{islose@{islose}!function.c@{function.c}}
|
\index{islose@{islose}!function.c@{function.c}}
|
||||||
\doxysubsubsection{islose()}
|
\doxysubsubsection{islose()}
|
||||||
@@ -205,28 +193,19 @@ La fonction renvois si la partie est perdante.
|
|||||||
\begin{DoxyParams}{Paramètres}
|
\begin{DoxyParams}{Paramètres}
|
||||||
{\em tab2d} & Le tableau 2d carre du plateau de jeu. \\
|
{\em tab2d} & Le tableau 2d carre du plateau de jeu. \\
|
||||||
\hline
|
\hline
|
||||||
{\em N} & Le nombre d\textquotesingle{}éléments dans le tab2d. \\
|
{\em N} & Le nombre d\textquotesingle{}éléments dans le tab2d. (zone de jeu est carré) \\
|
||||||
\hline
|
\hline
|
||||||
\end{DoxyParams}
|
\end{DoxyParams}
|
||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
True si c\textquotesingle{}est perdu, false si c\textquotesingle{}est pas perdu a cette instant.
|
True si c\textquotesingle{}est perdu, false si c\textquotesingle{}est pas perdu a cette instant.
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:\nopagebreak
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\leavevmode
|
\leavevmode
|
||||||
\includegraphics[width=312pt]{function_8c_ac155bb183b0c26d19758d8d065baf14f_cgraph}
|
\includegraphics[width=312pt]{function_8c_ac155bb183b0c26d19758d8d065baf14f_cgraph}
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=229pt]{function_8c_ac155bb183b0c26d19758d8d065baf14f_icgraph}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\index{function.c@{function.c}!isWin@{isWin}}
|
\index{function.c@{function.c}!isWin@{isWin}}
|
||||||
\index{isWin@{isWin}!function.c@{function.c}}
|
\index{isWin@{isWin}!function.c@{function.c}}
|
||||||
\doxysubsubsection{isWin()}
|
\doxysubsubsection{isWin()}
|
||||||
@@ -249,14 +228,6 @@ Cette fonction verrifie si la partie est gagnante.
|
|||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
True si le joueur a remplis tout les points d\textquotesingle{}interer, false si ce n\textquotesingle{}est pas le cas .
|
True si le joueur a remplis tout les points d\textquotesingle{}interer, false si ce n\textquotesingle{}est pas le cas .
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=228pt]{function_8c_a618903fbb7302d98ef0f3e2e6b35b99a_icgraph}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\index{function.c@{function.c}!move@{move}}
|
\index{function.c@{function.c}!move@{move}}
|
||||||
\index{move@{move}!function.c@{function.c}}
|
\index{move@{move}!function.c@{function.c}}
|
||||||
\doxysubsubsection{move()}
|
\doxysubsubsection{move()}
|
||||||
@@ -281,8 +252,7 @@ Cette fonction effectue les deplacements du joueur et des boites en fonction de
|
|||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
Void
|
Void
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:\nopagebreak
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\leavevmode
|
\leavevmode
|
||||||
@@ -290,13 +260,25 @@ Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
|||||||
\end{center}
|
\end{center}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
\nopagebreak
|
% FIG 4
|
||||||
\begin{figure}[H]
|
\index{function.c@{function.c}!nullScore@{nullScore}}
|
||||||
\begin{center}
|
\index{nullScore@{nullScore}!function.c@{function.c}}
|
||||||
\leavevmode
|
\doxysubsubsection{nullScore()}
|
||||||
\includegraphics[width=228pt]{function_8c_ac93ca31d854d91eedf3babda7511407d_icgraph}
|
{\footnotesize\ttfamily \label{function_8c_a4a66f9d998c95fde67d6f89fef1fded5}
|
||||||
\end{center}
|
void null\+Score (\begin{DoxyParamCaption}\item[{\textbf{ score} $\ast$}]{player\+\_\+score}{}\end{DoxyParamCaption})}
|
||||||
\end{figure}
|
|
||||||
|
|
||||||
|
|
||||||
|
Mets à 0 le score.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em player\+\_\+score} & Le score a mettre à 0. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
void
|
||||||
|
\end{DoxyReturn}
|
||||||
\index{function.c@{function.c}!plusVect@{plusVect}}
|
\index{function.c@{function.c}!plusVect@{plusVect}}
|
||||||
\index{plusVect@{plusVect}!function.c@{function.c}}
|
\index{plusVect@{plusVect}!function.c@{function.c}}
|
||||||
\doxysubsubsection{plusVect()}
|
\doxysubsubsection{plusVect()}
|
||||||
@@ -318,13 +300,7 @@ La fonction fait une addition de vecteur, (x1+x2, y1+y2).
|
|||||||
vect Un vecteur de l\textquotesingle{}addition de one et two.
|
vect Un vecteur de l\textquotesingle{}addition de one et two.
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
\nopagebreak
|
% FIG 5
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=350pt]{function_8c_a5b10e69716d92eadf2ed0b3942cb9d4d_icgraph}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\index{function.c@{function.c}!timeToText@{timeToText}}
|
\index{function.c@{function.c}!timeToText@{timeToText}}
|
||||||
\index{timeToText@{timeToText}!function.c@{function.c}}
|
\index{timeToText@{timeToText}!function.c@{function.c}}
|
||||||
\doxysubsubsection{timeToText()}
|
\doxysubsubsection{timeToText()}
|
||||||
@@ -344,10 +320,21 @@ Cette fonction renvois transforme le forma time en texte. (min\+:sec)
|
|||||||
char Le string du texte.
|
char Le string du texte.
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
Voici le graphe des appelants de cette fonction \+:
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
\nopagebreak
|
% FIG 6
|
||||||
\begin{figure}[H]
|
\index{function.c@{function.c}!winOrLoseLoop@{winOrLoseLoop}}
|
||||||
\begin{center}
|
\index{winOrLoseLoop@{winOrLoseLoop}!function.c@{function.c}}
|
||||||
\leavevmode
|
\doxysubsubsection{winOrLoseLoop()}
|
||||||
\includegraphics[width=252pt]{function_8c_a51c9ba7a24383f1b20dcedfcb570aab5_icgraph}
|
{\footnotesize\ttfamily \label{function_8c_a2dc9de2f6fd2bed3619d7ce8c1f05590}
|
||||||
\end{center}
|
void win\+Or\+Lose\+Loop (\begin{DoxyParamCaption}\item[{\textbf{ dis} $\ast$}]{display\+\_\+user}{, }\item[{\textbf{ score} $\ast$}]{score\+\_\+user}{, }\item[{bool}]{win}{}\end{DoxyParamCaption})}
|
||||||
\end{figure}
|
|
||||||
|
|
||||||
|
|
||||||
|
Fonction de loop pour la win ou la lose.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em display\+\_\+user} & Tout les information du display de l\textquotesingle{}utilisateur utile. \\
|
||||||
|
\hline
|
||||||
|
{\em win} & Si on veut un affichage de victoire ou non. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
|||||||
46
rapport/latex/function_8c__incl.dot
Normal file
46
rapport/latex/function_8c__incl.dot
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
digraph "function.c"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
Node1 [id="Node000001",label="function.c",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "];
|
||||||
|
Node1 -> Node2 [id="edge23_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="../include/function.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8h_source.html",tooltip=" "];
|
||||||
|
Node2 -> Node3 [id="edge24_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="SDL2/SDL.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node4 [id="edge25_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="SDL2/SDL_render.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node5 [id="edge26_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="SDL2/SDL_video.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node6 [id="edge27_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node6 [id="Node000006",label="stdbool.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node7 [id="edge28_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node7 [id="Node000007",label="stdlib.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node8 [id="edge29_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node8 [id="Node000008",label="time.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node9 [id="edge30_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 [id="Node000009",label="../include/display.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8h_source.html",tooltip=" "];
|
||||||
|
Node9 -> Node2 [id="edge31_Node000009_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 -> Node3 [id="edge32_Node000009_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 -> Node10 [id="edge33_Node000009_Node000010",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node10 [id="Node000010",label="SDL2/SDL_ttf.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node11 [id="edge34_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node11 [id="Node000011",label="SDL2/SDL_events.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node12 [id="edge35_Node000001_Node000012",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node12 [id="Node000012",label="SDL2/SDL_image.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node13 [id="edge36_Node000001_Node000013",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node13 [id="Node000013",label="SDL2/SDL_keycode.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node14 [id="edge37_Node000001_Node000014",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node14 [id="Node000014",label="SDL2/SDL_rect.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node4 [id="edge38_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node15 [id="edge39_Node000001_Node000015",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node15 [id="Node000015",label="SDL2/SDL_scancode.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node16 [id="edge40_Node000001_Node000016",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node16 [id="Node000016",label="SDL2/SDL_timer.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node6 [id="edge41_Node000001_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node17 [id="edge42_Node000001_Node000017",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node17 [id="Node000017",label="stdio.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node7 [id="edge43_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node8 [id="edge44_Node000001_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "timeToText"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="timeToText",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Cette fonction renvois transforme le forma time en texte. (min:sec)"];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
digraph "plusVect"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="plusVect",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction fait une addition de vecteur, (x1+x2, y1+y2)."];
|
||||||
|
Node1 -> Node2 [id="edge5_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="blockBox",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac51249b2f7941ca06e6a614e071dd444",tooltip="La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqu..."];
|
||||||
|
Node2 -> Node3 [id="edge6_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="islose",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac155bb183b0c26d19758d8d065baf14f",tooltip="La fonction renvois si la partie est perdante."];
|
||||||
|
Node1 -> Node4 [id="edge7_Node000001_Node000004",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="move",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac93ca31d854d91eedf3babda7511407d",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node4 -> Node5 [id="edge8_Node000004_Node000005",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
digraph "canIGoDirection"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="canIGoDirection",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fontction permet de savoir si le joueur peut ce deplacer dans une direction."];
|
||||||
|
Node1 -> Node2 [id="edge3_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="move",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac93ca31d854d91eedf3babda7511407d",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node2 -> Node3 [id="edge4_Node000002_Node000003",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
digraph "inGameLoop"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="LR";
|
||||||
|
Node1 [id="Node000001",label="inGameLoop",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
Node1 -> Node2 [id="edge5_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="move",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac93ca31d854d91eedf3babda7511407d",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node2 -> Node3 [id="edge6_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="canIGoDirection",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a76df2bc0c692d3397837706a6852ac36",tooltip="La fontction permet de savoir si le joueur peut ce deplacer dans une direction."];
|
||||||
|
Node2 -> Node4 [id="edge7_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="plusVect",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d",tooltip="La fonction fait une addition de vecteur, (x1+x2, y1+y2)."];
|
||||||
|
Node1 -> Node5 [id="edge8_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="timeToText",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a51c9ba7a24383f1b20dcedfcb570aab5",tooltip="Cette fonction renvois transforme le forma time en texte. (min:sec)"];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "blockBox"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="blockBox",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de savoir si une boite est dans une situation ou le joueur ne poura pas la debloqu..."];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="islose",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#ac155bb183b0c26d19758d8d065baf14f",tooltip="La fonction renvois si la partie est perdante."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "move"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="move",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="Cette fonction effectue les deplacements du joueur et des boites en fonction de la situation."];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="inGameLoop",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8c.html#a7f8e67bce9078c159778bbe2f57e9d2f",tooltip="La fonction permet de faire la boucle de jeu et le menu."];
|
||||||
|
}
|
||||||
@@ -12,48 +12,53 @@
|
|||||||
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <stdlib.h>}}
|
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#include\ <stdlib.h>}}
|
||||||
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <time.h>}}
|
\DoxyCodeLine{00009\ \textcolor{preprocessor}{\#include\ <time.h>}}
|
||||||
\DoxyCodeLine{00010\ }
|
\DoxyCodeLine{00010\ }
|
||||||
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ EMPTY\ 0}}
|
\DoxyCodeLine{00011\ \textcolor{preprocessor}{\#define\ EMPTY\ 1}}
|
||||||
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#define\ WALL\ 1}}
|
\DoxyCodeLine{00012\ \textcolor{preprocessor}{\#define\ WALL\ 0}}
|
||||||
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#define\ BOX\ 2}}
|
\DoxyCodeLine{00013\ \textcolor{preprocessor}{\#define\ BOX\ 2}}
|
||||||
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#define\ TARGET\ 3}}
|
\DoxyCodeLine{00014\ \textcolor{preprocessor}{\#define\ TARGET\ 3}}
|
||||||
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#define\ BOX\_ON\_TARGET\ 4}}
|
\DoxyCodeLine{00015\ \textcolor{preprocessor}{\#define\ BOX\_ON\_TARGET\ 4}}
|
||||||
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#define\ PLAYER\ 5}}
|
\DoxyCodeLine{00016\ \textcolor{preprocessor}{\#define\ PLAYER\ 5}}
|
||||||
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#define\ PLAYER\_ON\_TARGET\ 6}}
|
\DoxyCodeLine{00017\ \textcolor{preprocessor}{\#define\ PLAYER\_ON\_TARGET\ 6}}
|
||||||
\DoxyCodeLine{00018\ }
|
\DoxyCodeLine{00018\ \textcolor{preprocessor}{\#define\ BUTTON\ 7}}
|
||||||
\DoxyCodeLine{00019\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }Vecteur}
|
\DoxyCodeLine{00019\ \textcolor{preprocessor}{\#define\ PLAYER\_ON\_BUTTON\ 8}}
|
||||||
\DoxyCodeLine{00020\ \{}
|
\DoxyCodeLine{00020\ }
|
||||||
\DoxyCodeLine{00021\ \ \ \ \ \textcolor{keywordtype}{int}\ x;}
|
\DoxyCodeLine{00021\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }Vecteur}
|
||||||
\DoxyCodeLine{00022\ \ \ \ \ \textcolor{keywordtype}{int}\ y;}
|
\DoxyCodeLine{00022\ \{}
|
||||||
\DoxyCodeLine{00023\ \}\ vect;}
|
\DoxyCodeLine{00023\ \ \ \ \ \textcolor{keywordtype}{int}\ x;}
|
||||||
\DoxyCodeLine{00024\ }
|
\DoxyCodeLine{00024\ \ \ \ \ \textcolor{keywordtype}{int}\ y;}
|
||||||
\DoxyCodeLine{00025\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }Score}
|
\DoxyCodeLine{00025\ \}\ vect;}
|
||||||
\DoxyCodeLine{00026\ \{}
|
\DoxyCodeLine{00026\ }
|
||||||
\DoxyCodeLine{00027\ \ \ \ \ time\_t\ before;}
|
\DoxyCodeLine{00027\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }Score}
|
||||||
\DoxyCodeLine{00028\ \ \ \ \ time\_t\ after;}
|
\DoxyCodeLine{00028\ \{}
|
||||||
\DoxyCodeLine{00029\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ move\_player;}
|
\DoxyCodeLine{00029\ \ \ \ \ time\_t\ before;}
|
||||||
\DoxyCodeLine{00030\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ move\_box;}
|
\DoxyCodeLine{00030\ \ \ \ \ time\_t\ after;}
|
||||||
\DoxyCodeLine{00031\ \}\ score;}
|
\DoxyCodeLine{00031\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ move\_player;}
|
||||||
\DoxyCodeLine{00032\ }
|
\DoxyCodeLine{00032\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ move\_box;}
|
||||||
\DoxyCodeLine{00033\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }essential\_sdl}
|
\DoxyCodeLine{00033\ \}\ score;}
|
||||||
\DoxyCodeLine{00034\ \{}
|
\DoxyCodeLine{00034\ }
|
||||||
\DoxyCodeLine{00035\ \ \ \ \ SDL\_Window\ *window;}
|
\DoxyCodeLine{00035\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct\ }essential\_sdl}
|
||||||
\DoxyCodeLine{00036\ \ \ \ \ SDL\_Renderer\ *renderer;}
|
\DoxyCodeLine{00036\ \{}
|
||||||
\DoxyCodeLine{00037\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ size\_window;}
|
\DoxyCodeLine{00037\ \ \ \ \ SDL\_Window\ *window;}
|
||||||
\DoxyCodeLine{00038\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ size\_box;}
|
\DoxyCodeLine{00038\ \ \ \ \ SDL\_Renderer\ *renderer;}
|
||||||
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ size\_menu;}
|
\DoxyCodeLine{00039\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ size\_window;}
|
||||||
\DoxyCodeLine{00040\ \}\ dis;}
|
\DoxyCodeLine{00040\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ size\_box;}
|
||||||
\DoxyCodeLine{00041\ }
|
\DoxyCodeLine{00041\ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ size\_menu;}
|
||||||
\DoxyCodeLine{00042\ \textcolor{keywordtype}{char}\ **creatArea2D\ (\textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ N);}
|
\DoxyCodeLine{00042\ \}\ dis;}
|
||||||
\DoxyCodeLine{00043\ \textcolor{keywordtype}{void}\ free2D\ (\textcolor{keywordtype}{char}\ **tab,\ \textcolor{keywordtype}{int}\ N);}
|
\DoxyCodeLine{00043\ }
|
||||||
\DoxyCodeLine{00044\ \textcolor{keywordtype}{void}\ screenDisplay\ (\textcolor{keywordtype}{char}\ **tab,\ \textcolor{keywordtype}{int}\ size);}
|
\DoxyCodeLine{00044\ \textcolor{keywordtype}{char}\ **creatArea2D\ (\textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ x,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ y);}
|
||||||
\DoxyCodeLine{00045\ \textcolor{keywordtype}{bool}\ isWin\ (\textcolor{keywordtype}{char}\ **tab2d,\ vect\ *targets,\ \textcolor{keywordtype}{int}\ nbr\_targets);}
|
\DoxyCodeLine{00045\ \textcolor{keywordtype}{void}\ free2D\ (\textcolor{keywordtype}{char}\ **tab,\ \textcolor{keywordtype}{int}\ x);}
|
||||||
\DoxyCodeLine{00046\ \textcolor{keywordtype}{bool}\ islose\ (\textcolor{keywordtype}{char}\ **tab2d,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ N);}
|
\DoxyCodeLine{00046\ \textcolor{keywordtype}{bool}\ isWin\ (\textcolor{keywordtype}{char}\ **tab2d,\ vect\ *targets,\ \textcolor{keywordtype}{int}\ nbr\_targets);}
|
||||||
\DoxyCodeLine{00047\ \textcolor{keywordtype}{bool}\ blockBox\ (\textcolor{keywordtype}{char}\ **tab2d,\ vect\ box\_coor);}
|
\DoxyCodeLine{00047\ \textcolor{keywordtype}{bool}\ islose\ (\textcolor{keywordtype}{char}\ **tab2d,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{int}\ N);}
|
||||||
\DoxyCodeLine{00048\ vect\ plusVect\ (vect\ one,\ vect\ two);}
|
\DoxyCodeLine{00048\ \textcolor{keywordtype}{bool}\ blockBox\ (\textcolor{keywordtype}{char}\ **tab2d,\ vect\ box\_coor);}
|
||||||
\DoxyCodeLine{00049\ \textcolor{keywordtype}{void}\ inGameLoop\ (\textcolor{keywordtype}{char}\ **tab2d,\ \textcolor{keywordtype}{int}\ N,\ vect\ *playerPos,}
|
\DoxyCodeLine{00049\ vect\ plusVect\ (vect\ one,\ vect\ two);}
|
||||||
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ vect\ *targets,\ \textcolor{keywordtype}{int}\ nbr\_targets,\ dis\ *display\_user,\ score\ *score\_user);}
|
\DoxyCodeLine{00050\ }
|
||||||
\DoxyCodeLine{00051\ \textcolor{keywordtype}{char}\ *timeToText(time\_t\ time);}
|
\DoxyCodeLine{00051\ \textcolor{keywordtype}{int}\ inGameLoop\ (\textcolor{keywordtype}{char}\ **tab2d,\ vect\ *dim\_tab,\ vect\ *playerPos,\ vect\ *targets,}
|
||||||
\DoxyCodeLine{00052\ }
|
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{int}\ nbr\_targets,\ dis\ *display\_user,\ score\ *score\_user,\ \textcolor{keywordtype}{bool}\ menu);}
|
||||||
\DoxyCodeLine{00053\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ FONCTION\_H}}
|
\DoxyCodeLine{00053\ \textcolor{keywordtype}{char}\ *timeToText(time\_t\ time);}
|
||||||
|
\DoxyCodeLine{00054\ \textcolor{keywordtype}{void}\ nullScore(score\ *player\_score);}
|
||||||
|
\DoxyCodeLine{00055\ \textcolor{keywordtype}{void}\ winOrLoseLoop(dis\ *display\_user,score\ *score\_user,\ \textcolor{keywordtype}{bool}\ win);}
|
||||||
|
\DoxyCodeLine{00056\ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ scoreCalculator(score\ *score\_user,\ \textcolor{keywordtype}{bool}\ win);}
|
||||||
|
\DoxyCodeLine{00057\ }
|
||||||
|
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ FONCTION\_H}}
|
||||||
|
|
||||||
\end{DoxyCode}
|
\end{DoxyCode}
|
||||||
|
|||||||
@@ -7,22 +7,17 @@
|
|||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+image.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+image.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$string.\+h$>$}\newline
|
||||||
Graphe des dépendances par inclusion de main.\+c\+:
|
Graphe des dépendances par inclusion de main.\+c\+:
|
||||||
\nopagebreak
|
% FIG 0
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=350pt]{main_8c__incl}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\doxysubsubsection*{Macros}
|
\doxysubsubsection*{Macros}
|
||||||
\begin{DoxyCompactItemize}
|
\begin{DoxyCompactItemize}
|
||||||
\item
|
\item
|
||||||
\label{main_8c_aa7f4c4d31124c28a9336ac84241cb2a0}
|
\label{main_8c_aa7f4c4d31124c28a9336ac84241cb2a0}
|
||||||
\#define {\bfseries SIZE\+\_\+\+PLAY}~19
|
\#define {\bfseries SIZE\+\_\+\+PLAY}~20
|
||||||
\item
|
\item
|
||||||
\label{main_8c_a3e022139041191876c2fa02a3c51549f}
|
\label{main_8c_a3e022139041191876c2fa02a3c51549f}
|
||||||
\#define {\bfseries SIZE\+\_\+\+MENU}~200;
|
\#define {\bfseries SIZE\+\_\+\+MENU}~200
|
||||||
\end{DoxyCompactItemize}
|
\end{DoxyCompactItemize}
|
||||||
\doxysubsubsection*{Fonctions}
|
\doxysubsubsection*{Fonctions}
|
||||||
\begin{DoxyCompactItemize}
|
\begin{DoxyCompactItemize}
|
||||||
@@ -33,4 +28,4 @@ int {\bfseries main} ()
|
|||||||
|
|
||||||
|
|
||||||
\doxysubsection{Description détaillée}
|
\doxysubsection{Description détaillée}
|
||||||
Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu.
|
Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu.
|
||||||
39
rapport/latex/main_8c__incl.dot
Normal file
39
rapport/latex/main_8c__incl.dot
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
digraph "main.c"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
Node1 [id="Node000001",label="main.c",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "];
|
||||||
|
Node1 -> Node2 [id="edge19_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="../include/display.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$display_8h_source.html",tooltip=" "];
|
||||||
|
Node2 -> Node3 [id="edge20_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="../include/function.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8h_source.html",tooltip=" "];
|
||||||
|
Node3 -> Node4 [id="edge21_Node000003_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="SDL2/SDL.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node5 [id="edge22_Node000003_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="SDL2/SDL_render.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node6 [id="edge23_Node000003_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node6 [id="Node000006",label="SDL2/SDL_video.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node7 [id="edge24_Node000003_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node7 [id="Node000007",label="stdbool.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node8 [id="edge25_Node000003_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node8 [id="Node000008",label="stdlib.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node3 -> Node9 [id="edge26_Node000003_Node000009",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 [id="Node000009",label="time.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node4 [id="edge27_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 -> Node10 [id="edge28_Node000002_Node000010",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node10 [id="Node000010",label="SDL2/SDL_ttf.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node3 [id="edge29_Node000001_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node11 [id="edge30_Node000001_Node000011",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node11 [id="Node000011",label="../include/read.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$read_8h_source.html",tooltip=" "];
|
||||||
|
Node11 -> Node3 [id="edge31_Node000011_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node4 [id="edge32_Node000001_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node12 [id="edge33_Node000001_Node000012",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node12 [id="Node000012",label="SDL2/SDL_image.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node5 [id="edge34_Node000001_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node13 [id="edge35_Node000001_Node000013",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node13 [id="Node000013",label="stdio.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node14 [id="edge36_Node000001_Node000014",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node14 [id="Node000014",label="string.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
}
|
||||||
@@ -3,25 +3,41 @@
|
|||||||
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
||||||
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||||
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$string.\+h$>$}\newline
|
||||||
Graphe des dépendances par inclusion de read.\+c\+:
|
Graphe des dépendances par inclusion de read.\+c\+:
|
||||||
\nopagebreak
|
% FIG 0
|
||||||
\begin{figure}[H]
|
|
||||||
\begin{center}
|
|
||||||
\leavevmode
|
|
||||||
\includegraphics[width=350pt]{read_8c__incl}
|
|
||||||
\end{center}
|
|
||||||
\end{figure}
|
|
||||||
\doxysubsubsection*{Fonctions}
|
\doxysubsubsection*{Fonctions}
|
||||||
\begin{DoxyCompactItemize}
|
\begin{DoxyCompactItemize}
|
||||||
\item
|
\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)
|
\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}
|
\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}\item
|
||||||
|
int \textbf{ count\+Custom\+Maps} (char $\ast$name\+\_\+directory)
|
||||||
|
\begin{DoxyCompactList}\small\item\em La fonction permet de compter le nombre de maps custom dans le fichier des maps. \end{DoxyCompactList}\item
|
||||||
|
char $\ast$$\ast$ \textbf{ generator\+Menu} (char $\ast$name\+\_\+directory, \textbf{ vect} $\ast$size, \textbf{ vect} $\ast$pos\+\_\+player)
|
||||||
|
\begin{DoxyCompactList}\small\item\em La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
\doxysubsection{Description détaillée}
|
\doxysubsection{Description détaillée}
|
||||||
Ce fichier est le programe qui lit d\textquotesingle{}autre fichier, nottament les maps.
|
Ce fichier est le programe qui lit d\textquotesingle{}autre fichier, nottament les maps.
|
||||||
|
|
||||||
\doxysubsection{Documentation des fonctions}
|
\doxysubsection{Documentation des fonctions}
|
||||||
|
\index{read.c@{read.c}!countCustomMaps@{countCustomMaps}}
|
||||||
|
\index{countCustomMaps@{countCustomMaps}!read.c@{read.c}}
|
||||||
|
\doxysubsubsection{countCustomMaps()}
|
||||||
|
{\footnotesize\ttfamily \label{read_8c_a33f349fef5188584733f08c3a0eddbf2}
|
||||||
|
int count\+Custom\+Maps (\begin{DoxyParamCaption}\item[{char $\ast$}]{name\+\_\+directory}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
La fonction permet de compter le nombre de maps custom dans le fichier des maps.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em name\+\_\+directory} & Le nom du dossier contenant les maps. return Le nombre de maps custom. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
Voici le graphe des appelants de cette fonction \+:
|
||||||
|
% FIG 1
|
||||||
\index{read.c@{read.c}!fileToTab2D@{fileToTab2D}}
|
\index{read.c@{read.c}!fileToTab2D@{fileToTab2D}}
|
||||||
\index{fileToTab2D@{fileToTab2D}!read.c@{read.c}}
|
\index{fileToTab2D@{fileToTab2D}!read.c@{read.c}}
|
||||||
\doxysubsubsection{fileToTab2D()}
|
\doxysubsubsection{fileToTab2D()}
|
||||||
@@ -48,3 +64,24 @@ La fonction permet de stocker la zone de jeu en fonction de la lecture d\textquo
|
|||||||
\begin{DoxyReturn}{Renvoie}
|
\begin{DoxyReturn}{Renvoie}
|
||||||
Vect La fonction renvoie le tableau des coordonnée des points d\textquotesingle{}interer.
|
Vect La fonction renvoie le tableau des coordonnée des points d\textquotesingle{}interer.
|
||||||
\end{DoxyReturn}
|
\end{DoxyReturn}
|
||||||
|
\index{read.c@{read.c}!generatorMenu@{generatorMenu}}
|
||||||
|
\index{generatorMenu@{generatorMenu}!read.c@{read.c}}
|
||||||
|
\doxysubsubsection{generatorMenu()}
|
||||||
|
{\footnotesize\ttfamily \label{read_8c_aa77b744c6eb2919d8d69ae718210ce55}
|
||||||
|
char $\ast$$\ast$ generator\+Menu (\begin{DoxyParamCaption}\item[{char $\ast$}]{name\+\_\+directory}{, }\item[{\textbf{ vect} $\ast$}]{size}{, }\item[{\textbf{ vect} $\ast$}]{pos\+\_\+player}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em name\+\_\+directory} & Le nom du dossier contenant les maps. \\
|
||||||
|
\hline
|
||||||
|
{\em size} & La taille de la zone de jeu. \\
|
||||||
|
\hline
|
||||||
|
{\em pos\+\_\+player} & La position du joueur dans le menu. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
Voici le graphe d\textquotesingle{}appel pour cette fonction \+:
|
||||||
|
% FIG 2
|
||||||
|
|||||||
27
rapport/latex/read_8c__incl.dot
Normal file
27
rapport/latex/read_8c__incl.dot
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
digraph "read.c"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
Node1 [id="Node000001",label="read.c",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip=" "];
|
||||||
|
Node1 -> Node2 [id="edge11_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="../include/function.h",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$function_8h_source.html",tooltip=" "];
|
||||||
|
Node2 -> Node3 [id="edge12_Node000002_Node000003",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node3 [id="Node000003",label="SDL2/SDL.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node4 [id="edge13_Node000002_Node000004",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node4 [id="Node000004",label="SDL2/SDL_render.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node5 [id="edge14_Node000002_Node000005",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node5 [id="Node000005",label="SDL2/SDL_video.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node6 [id="edge15_Node000002_Node000006",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node6 [id="Node000006",label="stdbool.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node7 [id="edge16_Node000002_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node7 [id="Node000007",label="stdlib.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node2 -> Node8 [id="edge17_Node000002_Node000008",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node8 [id="Node000008",label="time.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node9 [id="edge18_Node000001_Node000009",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node9 [id="Node000009",label="stdio.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
Node1 -> Node7 [id="edge19_Node000001_Node000007",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node1 -> Node10 [id="edge20_Node000001_Node000010",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node10 [id="Node000010",label="string.h",height=0.2,width=0.4,color="grey60", fillcolor="#E0E0E0", style="filled",tooltip=" "];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "countCustomMaps"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="RL";
|
||||||
|
Node1 [id="Node000001",label="countCustomMaps",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de compter le nombre de maps custom dans le fichier des maps."];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",dir="back",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="generatorMenu",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$read_8c.html#aa77b744c6eb2919d8d69ae718210ce55",tooltip="La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom."];
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
digraph "generatorMenu"
|
||||||
|
{
|
||||||
|
// LATEX_PDF_SIZE
|
||||||
|
bgcolor="transparent";
|
||||||
|
edge [fontname=Helvetica,fontsize=10,labelfontname=Helvetica,labelfontsize=10];
|
||||||
|
node [fontname=Helvetica,fontsize=10,shape=box,height=0.2,width=0.4];
|
||||||
|
rankdir="LR";
|
||||||
|
Node1 [id="Node000001",label="generatorMenu",height=0.2,width=0.4,color="gray40", fillcolor="grey60", style="filled", fontcolor="black",tooltip="La fonction permet de creer la zone de jeu du menu en fonction du nombre de maps custom."];
|
||||||
|
Node1 -> Node2 [id="edge2_Node000001_Node000002",color="steelblue1",style="solid",tooltip=" "];
|
||||||
|
Node2 [id="Node000002",label="countCustomMaps",height=0.2,width=0.4,color="grey40", fillcolor="white", style="filled",URL="$read_8c.html#a33f349fef5188584733f08c3a0eddbf2",tooltip="La fonction permet de compter le nombre de maps custom dans le fichier des maps."];
|
||||||
|
}
|
||||||
@@ -7,6 +7,8 @@
|
|||||||
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}function.h"{}}}
|
\DoxyCodeLine{00003\ \textcolor{preprocessor}{\#include\ "{}function.h"{}}}
|
||||||
\DoxyCodeLine{00004\ vect\ *fileToTab2D\ (\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *name\_file,\ \textcolor{keywordtype}{char}\ **tab,}
|
\DoxyCodeLine{00004\ vect\ *fileToTab2D\ (\textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *name\_file,\ \textcolor{keywordtype}{char}\ **tab,}
|
||||||
\DoxyCodeLine{00005\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ N,\ vect\ *player,\ \textcolor{keywordtype}{int}\ *nbr\_targets);}
|
\DoxyCodeLine{00005\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{unsigned}\ N,\ vect\ *player,\ \textcolor{keywordtype}{int}\ *nbr\_targets);}
|
||||||
\DoxyCodeLine{00006\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ !READ\_H}}
|
\DoxyCodeLine{00006\ \textcolor{keywordtype}{int}\ countCustomMaps(\textcolor{keywordtype}{char}\ *name\_directory);}
|
||||||
|
\DoxyCodeLine{00007\ \textcolor{keywordtype}{char}\ **\ generatorMenu(\textcolor{keywordtype}{char}\ *name\_directory,\ vect\ *size,\ vect\ *pos\_player);}
|
||||||
|
\DoxyCodeLine{00008\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{//\ !READ\_H}}
|
||||||
|
|
||||||
\end{DoxyCode}
|
\end{DoxyCode}
|
||||||
|
|||||||
@@ -137,7 +137,7 @@
|
|||||||
}
|
}
|
||||||
% ToC, LoF, LoT, bibliography, and index
|
% ToC, LoF, LoT, bibliography, and index
|
||||||
% Indices & bibliography
|
% Indices & bibliography
|
||||||
\usepackage{natbib}
|
\usepackage[numbers]{natbib}
|
||||||
\usepackage[titles]{tocloft}
|
\usepackage[titles]{tocloft}
|
||||||
\setcounter{tocdepth}{3}
|
\setcounter{tocdepth}{3}
|
||||||
\setcounter{secnumdepth}{5}
|
\setcounter{secnumdepth}{5}
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
\begin{center}%
|
\begin{center}%
|
||||||
{\Large Sokoban}\\
|
{\Large Sokoban}\\
|
||||||
\vspace*{1cm}
|
\vspace*{1cm}
|
||||||
{\large Généré par Doxygen 1.12.0}\\
|
{\large Généré par Doxygen 1.13.1}\\
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{titlepage}
|
\end{titlepage}
|
||||||
\clearemptydoublepage
|
\clearemptydoublepage
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
/**
|
/**
|
||||||
* \file display.c
|
* \file display.c
|
||||||
*
|
* Fichier contient tout les fonctions pour l'affichage.
|
||||||
*/
|
*/
|
||||||
#include "../include/display.h"
|
#include "../include/display.h"
|
||||||
#include "../include/function.h"
|
#include "../include/function.h"
|
||||||
|
|||||||
@@ -21,9 +21,10 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Cette fonction permet de creer une liste 2D carre
|
* \brief Cette fonction permet de creer une liste 2D
|
||||||
* \param N La valeur N est le nombre d'élément dans le tableau.
|
* \param x Nombre de ligne.
|
||||||
* \return Le pointeur du tableau 2D carre de char (1 octet).
|
* \param y Nombre de colonne.
|
||||||
|
* \return Le pointeur du tableau 2D de char (1 octet).
|
||||||
*/
|
*/
|
||||||
char **creatArea2D (const int x, const int y)
|
char **creatArea2D (const int x, const int y)
|
||||||
{
|
{
|
||||||
@@ -61,7 +62,7 @@ char **creatArea2D (const int x, const int y)
|
|||||||
/**
|
/**
|
||||||
* \brief Cette fontion permet de liberer l'espace tu tableau 2D de char.
|
* \brief Cette fontion permet de liberer l'espace tu tableau 2D de char.
|
||||||
* \param tab Le tableau 2D.
|
* \param tab Le tableau 2D.
|
||||||
* \param N Le nombre d'éléments.
|
* \param x Le nombre de ligne.
|
||||||
* \return Void.
|
* \return Void.
|
||||||
*/
|
*/
|
||||||
void free2D (char **tab, int x)
|
void free2D (char **tab, int x)
|
||||||
@@ -86,8 +87,8 @@ void free2D (char **tab, int x)
|
|||||||
* joueur, 2 si c'est une boite mais qu'on peux la pousser ,3 si le joueur
|
* joueur, 2 si c'est une boite mais qu'on peux la pousser ,3 si le joueur
|
||||||
* pousse une boite sur un point d'interer, 4 si le joueur bouge sur un point
|
* pousse une boite sur un point d'interer, 4 si le joueur bouge sur un point
|
||||||
* d'interer, 5 si le joueur peux pousser une boite mais le joueur se place sur
|
* d'interer, 5 si le joueur peux pousser une boite mais le joueur se place sur
|
||||||
* un point d'interer et 6 si le joeuur pousse une boite sur un point d'interer
|
* un point d'interer et 6 si le joueur pousse une boite sur un point d'interer
|
||||||
* et que le joueu est aussi sur un point d'interer.
|
* et que le joueur est aussi sur un point d'interer. 7 si valueOfNCase est un bouton.
|
||||||
*/
|
*/
|
||||||
char canIGoDirection (char valueOfNCase, char valueOfNPlusOneCase)
|
char canIGoDirection (char valueOfNCase, char valueOfNPlusOneCase)
|
||||||
{
|
{
|
||||||
@@ -448,7 +449,7 @@ bool isWin (char **tab2d, vect *targets, int nbr_targets)
|
|||||||
/**
|
/**
|
||||||
* \brief La fonction renvois si la partie est perdante.
|
* \brief La fonction renvois si la partie est perdante.
|
||||||
* \param tab2d Le tableau 2d carre du plateau de jeu.
|
* \param tab2d Le tableau 2d carre du plateau de jeu.
|
||||||
* \param N Le nombre d'éléments dans le tab2d.
|
* \param N Le nombre d'éléments dans le tab2d. (zone de jeu est carré)
|
||||||
* \return True si c'est perdu, false si c'est pas perdu a cette instant.
|
* \return True si c'est perdu, false si c'est pas perdu a cette instant.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ int main ()
|
|||||||
nullScore(&score_user);
|
nullScore(&score_user);
|
||||||
SDL_RenderClear(display_user.renderer);
|
SDL_RenderClear(display_user.renderer);
|
||||||
|
|
||||||
|
// Loop pour le jeu entier menu et les jeux.
|
||||||
while(output != 0)
|
while(output != 0)
|
||||||
{
|
{
|
||||||
SDL_RenderClear(display_user.renderer);
|
SDL_RenderClear(display_user.renderer);
|
||||||
|
|||||||
@@ -70,6 +70,11 @@ vect *fileToTab2D (const char *name_file, char **tab,
|
|||||||
return targets;
|
return targets;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief La fonction permet de compter le nombre de maps custom dans le fichier des maps.
|
||||||
|
* \param name_directory Le nom du dossier contenant les maps.
|
||||||
|
* return Le nombre de maps custom.
|
||||||
|
*/
|
||||||
int countCustomMaps(char *name_directory)
|
int countCustomMaps(char *name_directory)
|
||||||
{
|
{
|
||||||
int nbr = 0;
|
int nbr = 0;
|
||||||
@@ -80,13 +85,20 @@ int countCustomMaps(char *name_directory)
|
|||||||
{
|
{
|
||||||
nbr++;
|
nbr++;
|
||||||
sprintf(name_map, "%s/custom_%d.txt",name_directory ,nbr);
|
sprintf(name_map, "%s/custom_%d.txt",name_directory ,nbr);
|
||||||
|
if(file != NULL) fclose(file);
|
||||||
file = fopen(name_map, "r");
|
file = fopen(name_map, "r");
|
||||||
}
|
}
|
||||||
|
|
||||||
return nbr;
|
return nbr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief La fonction permet de creer la zone de jeu du menu en fonction
|
||||||
|
* du nombre de maps custom.
|
||||||
|
* \param name_directory Le nom du dossier contenant les maps.
|
||||||
|
* \param size La taille de la zone de jeu.
|
||||||
|
* \param pos_player La position du joueur dans le menu.
|
||||||
|
*/
|
||||||
char ** generatorMenu(char *name_directory, vect *size, vect *pos_player)
|
char ** generatorMenu(char *name_directory, vect *size, vect *pos_player)
|
||||||
{
|
{
|
||||||
pos_player->x = 4;
|
pos_player->x = 4;
|
||||||
|
|||||||
Reference in New Issue
Block a user