+ de doxy
This commit is contained in:
@@ -99,6 +99,10 @@ Fichiers</h2></td></tr>
|
|||||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><span class="icondoc"></span> </td><td class="memItemRight" valign="bottom"><a class="el" href="function_8c.html">function.c</a></td></tr>
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><span class="icondoc"></span> </td><td class="memItemRight" valign="bottom"><a class="el" href="function_8c.html">function.c</a></td></tr>
|
||||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><span class="icondoc"></span> </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8c.html">main.c</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><span class="icondoc"></span> </td><td class="memItemRight" valign="bottom"><a class="el" href="read_8c.html">read.c</a></td></tr>
|
||||||
|
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
</table>
|
</table>
|
||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
<!-- start footer part -->
|
<!-- start footer part -->
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
<a href="read_8h_source.html"/>
|
<a href="read_8h_source.html"/>
|
||||||
<a href="display_8c.html"/>
|
<a href="display_8c.html"/>
|
||||||
<a href="function_8c.html"/>
|
<a href="function_8c.html"/>
|
||||||
|
<a href="main_8c.html"/>
|
||||||
|
<a href="read_8c.html"/>
|
||||||
<a href="structessential__sdl.html"/>
|
<a href="structessential__sdl.html"/>
|
||||||
<a href="structScore.html"/>
|
<a href="structScore.html"/>
|
||||||
<a href="structVecteur.html"/>
|
<a href="structVecteur.html"/>
|
||||||
@@ -74,6 +76,9 @@
|
|||||||
<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="main_8c.html"/>
|
||||||
|
<a href="read_8c.html"/>
|
||||||
|
<a href="read_8c.html#a223592601b10fb9487363ff4bb417d5d"/>
|
||||||
<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"/>
|
||||||
|
|||||||
@@ -97,6 +97,8 @@ $(function(){ initResizable(false); });
|
|||||||
<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_1_" class="arrow" onclick="dynsection.toggleFolder('1_')">▼</span><span id="img_1_" class="iconfopen" onclick="dynsection.toggleFolder('1_')"> </span><a class="el" href="dir_6549bedf82156dc06df95cefb015444e.html" target="_self">script</a></td><td class="desc"></td></tr>
|
<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_1_" class="arrow" onclick="dynsection.toggleFolder('1_')">▼</span><span id="img_1_" class="iconfopen" onclick="dynsection.toggleFolder('1_')"> </span><a class="el" href="dir_6549bedf82156dc06df95cefb015444e.html" target="_self">script</a></td><td class="desc"></td></tr>
|
||||||
<tr id="row_1_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="display_8c.html" target="_self">display.c</a></td><td class="desc"></td></tr>
|
<tr id="row_1_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="display_8c.html" target="_self">display.c</a></td><td class="desc"></td></tr>
|
||||||
<tr id="row_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="function_8c.html" target="_self">function.c</a></td><td class="desc"></td></tr>
|
<tr id="row_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="function_8c.html" target="_self">function.c</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="main_8c.html" target="_self">main.c</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><span class="icondoc"></span><a class="el" href="read_8c.html" target="_self">read.c</a></td><td class="desc"></td></tr>
|
||||||
</table>
|
</table>
|
||||||
</div><!-- directory -->
|
</div><!-- directory -->
|
||||||
</div><!-- contents -->
|
</div><!-- contents -->
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ $(function(){ initResizable(false); });
|
|||||||
<li>creatArea2D() : <a class="el" href="function_8c.html#af81182d12b72ee349a71d6685217b097">function.c</a></li>
|
<li>creatArea2D() : <a class="el" href="function_8c.html#af81182d12b72ee349a71d6685217b097">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>free2D() : <a class="el" href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b">function.c</a></li>
|
<li>free2D() : <a class="el" href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b">function.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#a2387ddb7cde4f9d45198b0c131a60878">function.c</a></li>
|
||||||
|
|||||||
@@ -91,6 +91,7 @@ $(function(){ initResizable(false); });
|
|||||||
<li>creatArea2D() : <a class="el" href="function_8c.html#af81182d12b72ee349a71d6685217b097">function.c</a></li>
|
<li>creatArea2D() : <a class="el" href="function_8c.html#af81182d12b72ee349a71d6685217b097">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>free2D() : <a class="el" href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b">function.c</a></li>
|
<li>free2D() : <a class="el" href="function_8c.html#af19c482f0f97b30cbb0253356ed1724b">function.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#a2387ddb7cde4f9d45198b0c131a60878">function.c</a></li>
|
||||||
|
|||||||
167
rapport/rapport/html/main_8c.html
Normal file
167
rapport/rapport/html/main_8c.html
Normal file
@@ -0,0 +1,167 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
|
<title>Sokoban: Référence du fichier main.c</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<script type="text/javascript" src="clipboard.js"></script>
|
||||||
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="resize.js"></script>
|
||||||
|
<script type="text/javascript" src="cookie.js"></script>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="doxygen-style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr id="projectrow">
|
||||||
|
<td id="projectalign">
|
||||||
|
<div id="projectname">Sokoban
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Généré par Doxygen 1.12.0 -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
$(function() { codefold.init(0); });
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="menudata.js"></script>
|
||||||
|
<script type="text/javascript" src="menu.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
$(function() {
|
||||||
|
initMenu('',true,false,'search.php','Recherche',false);
|
||||||
|
$(function() { init_search(); });
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div id="main-nav"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
$(function(){ initResizable(false); });
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- iframe showing the search results (closed by default) -->
|
||||||
|
<div id="MSearchResultsWindow">
|
||||||
|
<div id="MSearchResults">
|
||||||
|
<div class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<div class="SRStatus" id="Loading">Chargement...</div>
|
||||||
|
<div class="SRStatus" id="Searching">Recherche...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">Aucune correspondance</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_6549bedf82156dc06df95cefb015444e.html">script</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div id="doc-content">
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#define-members">Macros</a> |
|
||||||
|
<a href="#func-members">Fonctions</a> </div>
|
||||||
|
<div class="headertitle"><div class="title">Référence du fichier main.c</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><code>#include "../include/display.h"</code><br />
|
||||||
|
<code>#include "../include/function.h"</code><br />
|
||||||
|
<code>#include "../include/read.h"</code><br />
|
||||||
|
<code>#include <SDL2/SDL.h></code><br />
|
||||||
|
<code>#include <SDL2/SDL_image.h></code><br />
|
||||||
|
<code>#include <SDL2/SDL_render.h></code><br />
|
||||||
|
<code>#include <stdio.h></code><br />
|
||||||
|
</div><div class="textblock"><div class="dynheader">
|
||||||
|
Graphe des dépendances par inclusion de main.c:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="main_8c__incl.png" border="0" usemap="#amain_8c" alt=""/></div>
|
||||||
|
<map name="amain_8c" id="amain_8c">
|
||||||
|
<area shape="rect" title=" " alt="" coords="362,5,421,31"/>
|
||||||
|
<area shape="rect" href="display_8h_source.html" title=" " alt="" coords="135,79,261,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="362,33,245,76,244,71,360,28"/>
|
||||||
|
<area shape="rect" href="function_8h_source.html" title=" " alt="" coords="278,153,411,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="371,34,346,53,326,80,322,94,323,109,332,138,327,139,317,110,317,94,321,78,342,49,368,29"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="5,226,100,252"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="362,25,233,45,168,61,142,71,125,81,99,110,80,146,67,181,59,212,54,211,62,180,75,143,94,107,121,77,140,66,166,56,232,40,361,20"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="545,226,682,252"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="407,29,461,77,595,213,591,217,457,81,404,33"/>
|
||||||
|
<area shape="rect" href="read_8h_source.html" title=" " alt="" coords="336,79,447,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="394,31,394,63,388,63,388,31"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="522,79,658,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="422,28,543,71,541,76,420,33"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="682,79,741,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="422,23,667,76,666,81,421,28"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="224,103,307,143,305,148,222,108"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="185,107,132,155,74,216,70,213,128,151,182,103"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="141,153,254,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="200,105,200,137,195,137,195,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="296,181,115,225,114,220,294,176"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="391,176,554,219,553,224,390,181"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="124,226,256,252"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="319,181,231,222,229,217,317,176"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="280,226,353,252"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="342,180,329,213,324,211,337,178"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="377,226,440,252"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="357,177,390,213,386,217,353,180"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="464,226,521,252"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="371,176,455,217,452,222,368,181"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="386,106,363,141,358,138,381,103"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
</div><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||||
|
Macros</h2></td></tr>
|
||||||
|
<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>
|
||||||
|
<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>
|
||||||
|
#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>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||||
|
Fonctions</h2></td></tr>
|
||||||
|
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4" id="r_ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top"><a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
|
||||||
|
int </td><td class="memItemRight" valign="bottom"><b>main</b> ()</td></tr>
|
||||||
|
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<a name="details" id="details"></a><h2 class="groupheader">Description détaillée</h2>
|
||||||
|
<div class="textblock"><p>Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu. </p>
|
||||||
|
</div></div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<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
|
||||||
|
</small></address>
|
||||||
|
</div><!-- doc-content -->
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
32
rapport/rapport/html/main_8c__incl.map
Normal file
32
rapport/rapport/html/main_8c__incl.map
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
<map id="main.c" name="main.c">
|
||||||
|
<area shape="rect" id="Node000001" title=" " alt="" coords="362,5,421,31"/>
|
||||||
|
<area shape="rect" id="Node000002" href="$display_8h_source.html" title=" " alt="" coords="135,79,261,105"/>
|
||||||
|
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="362,33,245,76,244,71,360,28"/>
|
||||||
|
<area shape="rect" id="Node000003" href="$function_8h_source.html" title=" " alt="" coords="278,153,411,178"/>
|
||||||
|
<area shape="poly" id="edge11_Node000001_Node000003" title=" " alt="" coords="371,34,346,53,326,80,322,94,323,109,332,138,327,139,317,110,317,94,321,78,342,49,368,29"/>
|
||||||
|
<area shape="rect" id="Node000004" title=" " alt="" coords="5,226,100,252"/>
|
||||||
|
<area shape="poly" id="edge14_Node000001_Node000004" title=" " alt="" coords="362,25,233,45,168,61,142,71,125,81,99,110,80,146,67,181,59,212,54,211,62,180,75,143,94,107,121,77,140,66,166,56,232,40,361,20"/>
|
||||||
|
<area shape="rect" id="Node000005" title=" " alt="" coords="545,226,682,252"/>
|
||||||
|
<area shape="poly" id="edge16_Node000001_Node000005" title=" " alt="" coords="407,29,461,77,595,213,591,217,457,81,404,33"/>
|
||||||
|
<area shape="rect" id="Node000011" href="$read_8h_source.html" title=" " alt="" coords="336,79,447,105"/>
|
||||||
|
<area shape="poly" id="edge12_Node000001_Node000011" title=" " alt="" coords="394,31,394,63,388,63,388,31"/>
|
||||||
|
<area shape="rect" id="Node000012" title=" " alt="" coords="522,79,658,105"/>
|
||||||
|
<area shape="poly" id="edge15_Node000001_Node000012" title=" " alt="" coords="422,28,543,71,541,76,420,33"/>
|
||||||
|
<area shape="rect" id="Node000013" title=" " alt="" coords="682,79,741,105"/>
|
||||||
|
<area shape="poly" id="edge17_Node000001_Node000013" title=" " alt="" coords="422,23,667,76,666,81,421,28"/>
|
||||||
|
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="224,103,307,143,305,148,222,108"/>
|
||||||
|
<area shape="poly" id="edge9_Node000002_Node000004" title=" " alt="" coords="185,107,132,155,74,216,70,213,128,151,182,103"/>
|
||||||
|
<area shape="rect" id="Node000010" title=" " alt="" coords="141,153,254,178"/>
|
||||||
|
<area shape="poly" id="edge10_Node000002_Node000010" title=" " alt="" coords="200,105,200,137,195,137,195,105"/>
|
||||||
|
<area shape="poly" id="edge3_Node000003_Node000004" title=" " alt="" coords="296,181,115,225,114,220,294,176"/>
|
||||||
|
<area shape="poly" id="edge4_Node000003_Node000005" title=" " alt="" coords="391,176,554,219,553,224,390,181"/>
|
||||||
|
<area shape="rect" id="Node000006" title=" " alt="" coords="124,226,256,252"/>
|
||||||
|
<area shape="poly" id="edge5_Node000003_Node000006" title=" " alt="" coords="319,181,231,222,229,217,317,176"/>
|
||||||
|
<area shape="rect" id="Node000007" title=" " alt="" coords="280,226,353,252"/>
|
||||||
|
<area shape="poly" id="edge6_Node000003_Node000007" title=" " alt="" coords="342,180,329,213,324,211,337,178"/>
|
||||||
|
<area shape="rect" id="Node000008" title=" " alt="" coords="377,226,440,252"/>
|
||||||
|
<area shape="poly" id="edge7_Node000003_Node000008" title=" " alt="" coords="357,177,390,213,386,217,353,180"/>
|
||||||
|
<area shape="rect" id="Node000009" title=" " alt="" coords="464,226,521,252"/>
|
||||||
|
<area shape="poly" id="edge8_Node000003_Node000009" title=" " alt="" coords="371,176,455,217,452,222,368,181"/>
|
||||||
|
<area shape="poly" id="edge13_Node000011_Node000003" title=" " alt="" coords="386,106,363,141,358,138,381,103"/>
|
||||||
|
</map>
|
||||||
1
rapport/rapport/html/main_8c__incl.md5
Normal file
1
rapport/rapport/html/main_8c__incl.md5
Normal file
@@ -0,0 +1 @@
|
|||||||
|
d2a0fb91742812285ba49f7231625a50
|
||||||
BIN
rapport/rapport/html/main_8c__incl.png
LFS
Normal file
BIN
rapport/rapport/html/main_8c__incl.png
LFS
Normal file
Binary file not shown.
191
rapport/rapport/html/read_8c.html
Normal file
191
rapport/rapport/html/read_8c.html
Normal file
@@ -0,0 +1,191 @@
|
|||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.12.0"/>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||||
|
<title>Sokoban: Référence du fichier read.c</title>
|
||||||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="jquery.js"></script>
|
||||||
|
<script type="text/javascript" src="dynsections.js"></script>
|
||||||
|
<script type="text/javascript" src="clipboard.js"></script>
|
||||||
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="resize.js"></script>
|
||||||
|
<script type="text/javascript" src="cookie.js"></script>
|
||||||
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||||
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||||
|
<script type="text/javascript" src="search/search.js"></script>
|
||||||
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||||
|
<link href="doxygen-style.css" rel="stylesheet" type="text/css"/>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||||
|
<div id="titlearea">
|
||||||
|
<table cellspacing="0" cellpadding="0">
|
||||||
|
<tbody>
|
||||||
|
<tr id="projectrow">
|
||||||
|
<td id="projectalign">
|
||||||
|
<div id="projectname">Sokoban
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- end header part -->
|
||||||
|
<!-- Généré par Doxygen 1.12.0 -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
$(function() { codefold.init(0); });
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="menudata.js"></script>
|
||||||
|
<script type="text/javascript" src="menu.js"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
$(function() {
|
||||||
|
initMenu('',true,false,'search.php','Recherche',false);
|
||||||
|
$(function() { init_search(); });
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div id="main-nav"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||||
|
$(function(){ initResizable(false); });
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<!-- window showing the filter options -->
|
||||||
|
<div id="MSearchSelectWindow"
|
||||||
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||||
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||||
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- iframe showing the search results (closed by default) -->
|
||||||
|
<div id="MSearchResultsWindow">
|
||||||
|
<div id="MSearchResults">
|
||||||
|
<div class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<div class="SRStatus" id="Loading">Chargement...</div>
|
||||||
|
<div class="SRStatus" id="Searching">Recherche...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">Aucune correspondance</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="nav-path" class="navpath">
|
||||||
|
<ul>
|
||||||
|
<li class="navelem"><a class="el" href="dir_6549bedf82156dc06df95cefb015444e.html">script</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div id="doc-content">
|
||||||
|
<div class="header">
|
||||||
|
<div class="summary">
|
||||||
|
<a href="#func-members">Fonctions</a> </div>
|
||||||
|
<div class="headertitle"><div class="title">Référence du fichier read.c</div></div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock"><code>#include "../include/function.h"</code><br />
|
||||||
|
<code>#include <stdio.h></code><br />
|
||||||
|
<code>#include <stdlib.h></code><br />
|
||||||
|
</div><div class="textblock"><div class="dynheader">
|
||||||
|
Graphe des dépendances par inclusion de read.c:</div>
|
||||||
|
<div class="dyncontent">
|
||||||
|
<div class="center"><img src="read_8c__incl.png" border="0" usemap="#aread_8c" alt=""/></div>
|
||||||
|
<map name="aread_8c" id="aread_8c">
|
||||||
|
<area shape="rect" title=" " alt="" coords="588,5,645,31"/>
|
||||||
|
<area shape="rect" href="function_8h_source.html" title=" " alt="" coords="412,79,544,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="594,34,516,74,514,69,592,29"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="620,153,682,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="622,31,647,137,642,138,617,32"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="654,79,713,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="629,29,663,66,660,69,626,33"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="5,153,100,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="412,106,115,155,114,149,411,101"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="124,153,261,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="430,108,257,151,255,146,429,103"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="285,153,417,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="458,108,387,147,385,142,455,103"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="441,153,514,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="480,105,480,137,475,137,475,105"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="508,103,609,144,607,149,506,108"/>
|
||||||
|
<area shape="rect" title=" " alt="" coords="539,153,595,178"/>
|
||||||
|
<area shape="poly" title=" " alt="" coords="495,103,542,141,539,145,491,107"/>
|
||||||
|
</map>
|
||||||
|
</div>
|
||||||
|
</div><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||||
|
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="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>
|
||||||
|
</table>
|
||||||
|
<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><h2 class="groupheader">Documentation des fonctions</h2>
|
||||||
|
<a id="a223592601b10fb9487363ff4bb417d5d" name="a223592601b10fb9487363ff4bb417d5d"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a223592601b10fb9487363ff4bb417d5d">◆ </a></span>fileToTab2D()</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname"><a class="el" href="structVecteur.html">vect</a> * fileToTab2D </td>
|
||||||
|
<td>(</td>
|
||||||
|
<td class="paramtype">const char *</td> <td class="paramname"><span class="paramname"><em>name_file</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">char **</td> <td class="paramname"><span class="paramname"><em>tab</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">const unsigned</td> <td class="paramname"><span class="paramname"><em>N</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</em></span>, </td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="paramkey"></td>
|
||||||
|
<td></td>
|
||||||
|
<td class="paramtype">int *</td> <td class="paramname"><span class="paramname"><em>nbr_targets</em></span> )</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
|
||||||
|
<p>La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier. </p>
|
||||||
|
<dl class="params"><dt>Paramètres</dt><dd>
|
||||||
|
<table class="params">
|
||||||
|
<tr><td class="paramname">name_file</td><td>Le nom du fichier a ouvrir. </td></tr>
|
||||||
|
<tr><td class="paramname">tab</td><td>Le tableau 2D carre du plateau de jeu a remplir. </td></tr>
|
||||||
|
<tr><td class="paramname">N</td><td>La taille de tab. </td></tr>
|
||||||
|
<tr><td class="paramname">player</td><td>Les coordonnée du joueur que le programe vas trouvé. </td></tr>
|
||||||
|
<tr><td class="paramname">nbr_targets</td><td>Le nombre de points d'interer trouver. </td></tr>
|
||||||
|
</table>
|
||||||
|
</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>
|
||||||
|
</div><!-- contents -->
|
||||||
|
<!-- start footer part -->
|
||||||
|
<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
|
||||||
|
</small></address>
|
||||||
|
</div><!-- doc-content -->
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
20
rapport/rapport/html/read_8c__incl.map
Normal file
20
rapport/rapport/html/read_8c__incl.map
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<map id="read.c" name="read.c">
|
||||||
|
<area shape="rect" id="Node000001" title=" " alt="" coords="588,5,645,31"/>
|
||||||
|
<area shape="rect" id="Node000002" href="$function_8h_source.html" title=" " alt="" coords="412,79,544,105"/>
|
||||||
|
<area shape="poly" id="edge1_Node000001_Node000002" title=" " alt="" coords="594,34,516,74,514,69,592,29"/>
|
||||||
|
<area shape="rect" id="Node000007" title=" " alt="" coords="620,153,682,178"/>
|
||||||
|
<area shape="poly" id="edge9_Node000001_Node000007" title=" " alt="" coords="622,31,647,137,642,138,617,32"/>
|
||||||
|
<area shape="rect" id="Node000009" title=" " alt="" coords="654,79,713,105"/>
|
||||||
|
<area shape="poly" id="edge8_Node000001_Node000009" title=" " alt="" coords="629,29,663,66,660,69,626,33"/>
|
||||||
|
<area shape="rect" id="Node000003" title=" " alt="" coords="5,153,100,178"/>
|
||||||
|
<area shape="poly" id="edge2_Node000002_Node000003" title=" " alt="" coords="412,106,115,155,114,149,411,101"/>
|
||||||
|
<area shape="rect" id="Node000004" title=" " alt="" coords="124,153,261,178"/>
|
||||||
|
<area shape="poly" id="edge3_Node000002_Node000004" title=" " alt="" coords="430,108,257,151,255,146,429,103"/>
|
||||||
|
<area shape="rect" id="Node000005" title=" " alt="" coords="285,153,417,178"/>
|
||||||
|
<area shape="poly" id="edge4_Node000002_Node000005" title=" " alt="" coords="458,108,387,147,385,142,455,103"/>
|
||||||
|
<area shape="rect" id="Node000006" title=" " alt="" coords="441,153,514,178"/>
|
||||||
|
<area shape="poly" id="edge5_Node000002_Node000006" title=" " alt="" coords="480,105,480,137,475,137,475,105"/>
|
||||||
|
<area shape="poly" id="edge6_Node000002_Node000007" title=" " alt="" coords="508,103,609,144,607,149,506,108"/>
|
||||||
|
<area shape="rect" id="Node000008" title=" " alt="" coords="539,153,595,178"/>
|
||||||
|
<area shape="poly" id="edge7_Node000002_Node000008" title=" " alt="" coords="495,103,542,141,539,145,491,107"/>
|
||||||
|
</map>
|
||||||
1
rapport/rapport/html/read_8c__incl.md5
Normal file
1
rapport/rapport/html/read_8c__incl.md5
Normal file
@@ -0,0 +1 @@
|
|||||||
|
b3c9aa533bd44af441539bd0873afb2f
|
||||||
BIN
rapport/rapport/html/read_8c__incl.png
LFS
Normal file
BIN
rapport/rapport/html/read_8c__incl.png
LFS
Normal file
Binary file not shown.
@@ -1,5 +1,6 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['free2d_0',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]],
|
['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]],
|
||||||
['function_2ec_1',['function.c',['../function_8c.html',1,'']]]
|
['free2d_1',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]],
|
||||||
|
['function_2ec_2',['function.c',['../function_8c.html',1,'']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['move_0',['move',['../function_8c.html#ac93ca31d854d91eedf3babda7511407d',1,'function.c']]]
|
['main_2ec_0',['main.c',['../main_8c.html',1,'']]],
|
||||||
|
['move_1',['move',['../function_8c.html#ac93ca31d854d91eedf3babda7511407d',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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#a99b9f82dcee1c08efb2101826d2f6b44',1,'display.c']]],
|
||||||
|
['screendisplaygamesdl_2',['screenDisplayGameSDL',['../display_8c.html#a6f451a9d0fd4d2325d9f03d7cda4a189',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']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['pattern_20and_20style_0',['How to change the color pattern and style',['../md_doxygen__theme_2README.html#autotoc_md5',1,'']]],
|
['vecteur_0',['Vecteur',['../structVecteur.html',1,'']]]
|
||||||
['plus_20loin_1',['Pour aller plus loin',['../md__2home_2dukantic_2floppy_2sokoban_2README.html#autotoc_md9',1,'']]],
|
|
||||||
['plusvect_2',['plusVect',['../function_8c.html#a5b10e69716d92eadf2ed0b3942cb9d4d',1,'function.c']]],
|
|
||||||
['pour_20aller_20plus_20loin_3',['Pour aller plus loin',['../md__2home_2dukantic_2floppy_2sokoban_2README.html#autotoc_md9',1,'']]],
|
|
||||||
['principale_4',['Principale',['../md__2home_2dukantic_2floppy_2sokoban_2README.html#autotoc_md8',1,'']]]
|
|
||||||
];
|
];
|
||||||
|
|||||||
4
rapport/rapport/html/search/files_2.js
Normal file
4
rapport/rapport/html/search/files_2.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['main_2ec_0',['main.c',['../main_8c.html',1,'']]]
|
||||||
|
];
|
||||||
4
rapport/rapport/html/search/files_3.js
Normal file
4
rapport/rapport/html/search/files_3.js
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['read_2ec_0',['read.c',['../read_8c.html',1,'']]]
|
||||||
|
];
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
var searchData=
|
var searchData=
|
||||||
[
|
[
|
||||||
['free2d_0',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]]
|
['filetotab2d_0',['fileToTab2D',['../read_8c.html#a223592601b10fb9487363ff4bb417d5d',1,'read.c']]],
|
||||||
|
['free2d_1',['free2D',['../function_8c.html#af19c482f0f97b30cbb0253356ed1724b',1,'function.c']]]
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
var indexSectionsWithContent =
|
var indexSectionsWithContent =
|
||||||
{
|
{
|
||||||
0: "bcdefgilmpstv",
|
0: "bcdefgilmprstv",
|
||||||
1: "esv",
|
1: "esv",
|
||||||
2: "df",
|
2: "dfmr",
|
||||||
3: "bcdfgilmpst"
|
3: "bcdfgilmpst"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -5,4 +5,6 @@ Liste de tous les fichiers documentés avec une brève description \+:\begin{Dox
|
|||||||
\item\contentsline{section}{\textbf{ read.\+h} }{\pageref{read_8h_source}}{}
|
\item\contentsline{section}{\textbf{ read.\+h} }{\pageref{read_8h_source}}{}
|
||||||
\item\contentsline{section}{\textbf{ display.\+c} }{\pageref{display_8c}}{}
|
\item\contentsline{section}{\textbf{ display.\+c} }{\pageref{display_8c}}{}
|
||||||
\item\contentsline{section}{\textbf{ function.\+c} }{\pageref{function_8c}}{}
|
\item\contentsline{section}{\textbf{ function.\+c} }{\pageref{function_8c}}{}
|
||||||
|
\item\contentsline{section}{\textbf{ main.\+c} }{\pageref{main_8c}}{}
|
||||||
|
\item\contentsline{section}{\textbf{ read.\+c} }{\pageref{read_8c}}{}
|
||||||
\end{DoxyCompactList}
|
\end{DoxyCompactList}
|
||||||
|
|||||||
@@ -11,8 +11,7 @@
|
|||||||
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||||
{\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
|
||||||
\nopagebreak
|
|
||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\leavevmode
|
\leavevmode
|
||||||
|
|||||||
36
rapport/rapport/latex/main_8c.tex
Normal file
36
rapport/rapport/latex/main_8c.tex
Normal file
@@ -0,0 +1,36 @@
|
|||||||
|
\doxysection{Référence du fichier main.\+c}
|
||||||
|
\label{main_8c}\index{main.c@{main.c}}
|
||||||
|
{\ttfamily \#include "{}../include/display.\+h"{}}\newline
|
||||||
|
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
||||||
|
{\ttfamily \#include "{}../include/read.\+h"{}}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+image.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$SDL2/\+SDL\+\_\+render.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||||
|
Graphe des dépendances par inclusion de main.\+c\+:
|
||||||
|
\nopagebreak
|
||||||
|
\begin{figure}[H]
|
||||||
|
\begin{center}
|
||||||
|
\leavevmode
|
||||||
|
\includegraphics[width=350pt]{main_8c__incl}
|
||||||
|
\end{center}
|
||||||
|
\end{figure}
|
||||||
|
\doxysubsubsection*{Macros}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\label{main_8c_aa7f4c4d31124c28a9336ac84241cb2a0}
|
||||||
|
\#define {\bfseries SIZE\+\_\+\+PLAY}~19
|
||||||
|
\item
|
||||||
|
\label{main_8c_a3e022139041191876c2fa02a3c51549f}
|
||||||
|
\#define {\bfseries SIZE\+\_\+\+MENU}~200;
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsubsection*{Fonctions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\label{main_8c_ae66f6b31b5ad750f1fe042a706a4e3d4}
|
||||||
|
int {\bfseries main} ()
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
\doxysubsection{Description détaillée}
|
||||||
|
Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu.
|
||||||
1
rapport/rapport/latex/main_8c__incl.md5
Normal file
1
rapport/rapport/latex/main_8c__incl.md5
Normal file
@@ -0,0 +1 @@
|
|||||||
|
232d7231dcadf9742094b890acdd99da
|
||||||
BIN
rapport/rapport/latex/main_8c__incl.pdf
Normal file
BIN
rapport/rapport/latex/main_8c__incl.pdf
Normal file
Binary file not shown.
50
rapport/rapport/latex/read_8c.tex
Normal file
50
rapport/rapport/latex/read_8c.tex
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
\doxysection{Référence du fichier read.\+c}
|
||||||
|
\label{read_8c}\index{read.c@{read.c}}
|
||||||
|
{\ttfamily \#include "{}../include/function.\+h"{}}\newline
|
||||||
|
{\ttfamily \#include $<$stdio.\+h$>$}\newline
|
||||||
|
{\ttfamily \#include $<$stdlib.\+h$>$}\newline
|
||||||
|
Graphe des dépendances par inclusion de read.\+c\+:
|
||||||
|
\nopagebreak
|
||||||
|
\begin{figure}[H]
|
||||||
|
\begin{center}
|
||||||
|
\leavevmode
|
||||||
|
\includegraphics[width=350pt]{read_8c__incl}
|
||||||
|
\end{center}
|
||||||
|
\end{figure}
|
||||||
|
\doxysubsubsection*{Fonctions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\textbf{ vect} $\ast$ \textbf{ file\+To\+Tab2D} (const char $\ast$name\+\_\+file, char $\ast$$\ast$tab, const unsigned N, \textbf{ vect} $\ast$player, int $\ast$nbr\+\_\+targets)
|
||||||
|
\begin{DoxyCompactList}\small\item\em La fonction permet de stocker la zone de jeu en fonction de la lecture d\textquotesingle{}un fichier. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
\doxysubsection{Description détaillée}
|
||||||
|
Ce fichier est le programe qui lit d\textquotesingle{}autre fichier, nottament les maps.
|
||||||
|
|
||||||
|
\doxysubsection{Documentation des fonctions}
|
||||||
|
\index{read.c@{read.c}!fileToTab2D@{fileToTab2D}}
|
||||||
|
\index{fileToTab2D@{fileToTab2D}!read.c@{read.c}}
|
||||||
|
\doxysubsubsection{fileToTab2D()}
|
||||||
|
{\footnotesize\ttfamily \label{read_8c_a223592601b10fb9487363ff4bb417d5d}
|
||||||
|
\textbf{ vect} $\ast$ file\+To\+Tab2D (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name\+\_\+file}{, }\item[{char $\ast$$\ast$}]{tab}{, }\item[{const unsigned}]{N}{, }\item[{\textbf{ vect} $\ast$}]{player}{, }\item[{int $\ast$}]{nbr\+\_\+targets}{}\end{DoxyParamCaption})}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
La fonction permet de stocker la zone de jeu en fonction de la lecture d\textquotesingle{}un fichier.
|
||||||
|
|
||||||
|
|
||||||
|
\begin{DoxyParams}{Paramètres}
|
||||||
|
{\em name\+\_\+file} & Le nom du fichier a ouvrir. \\
|
||||||
|
\hline
|
||||||
|
{\em tab} & Le tableau 2D carre du plateau de jeu a remplir. \\
|
||||||
|
\hline
|
||||||
|
{\em N} & La taille de tab. \\
|
||||||
|
\hline
|
||||||
|
{\em player} & Les coordonnée du joueur que le programe vas trouvé. \\
|
||||||
|
\hline
|
||||||
|
{\em nbr\+\_\+targets} & Le nombre de points d\textquotesingle{}interer trouver. \\
|
||||||
|
\hline
|
||||||
|
\end{DoxyParams}
|
||||||
|
\begin{DoxyReturn}{Renvoie}
|
||||||
|
Vect La fonction renvoie le tableau des coordonnée des points d\textquotesingle{}interer.
|
||||||
|
\end{DoxyReturn}
|
||||||
1
rapport/rapport/latex/read_8c__incl.md5
Normal file
1
rapport/rapport/latex/read_8c__incl.md5
Normal file
@@ -0,0 +1 @@
|
|||||||
|
4da0af456ac304b5da834726a0140417
|
||||||
BIN
rapport/rapport/latex/read_8c__incl.pdf
Normal file
BIN
rapport/rapport/latex/read_8c__incl.pdf
Normal file
Binary file not shown.
@@ -218,6 +218,8 @@
|
|||||||
\input{read_8h_source}
|
\input{read_8h_source}
|
||||||
\input{display_8c}
|
\input{display_8c}
|
||||||
\input{function_8c}
|
\input{function_8c}
|
||||||
|
\input{main_8c}
|
||||||
|
\input{read_8c}
|
||||||
%--- End generated contents ---
|
%--- End generated contents ---
|
||||||
% Index
|
% Index
|
||||||
\backmatter
|
\backmatter
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
|
/**
|
||||||
|
* \file main.c
|
||||||
|
*
|
||||||
|
* Le main permet de stocker et de lancer les fonctions permetant de lancer le jeu.
|
||||||
|
*/
|
||||||
#include "../include/display.h"
|
#include "../include/display.h"
|
||||||
#include "../include/function.h"
|
#include "../include/function.h"
|
||||||
#include "../include/read.h"
|
#include "../include/read.h"
|
||||||
|
|||||||
@@ -1,7 +1,20 @@
|
|||||||
|
/**
|
||||||
|
* \file read.c
|
||||||
|
* Ce fichier est le programe qui lit d'autre fichier, nottament les maps.
|
||||||
|
*/
|
||||||
#include "../include/function.h"
|
#include "../include/function.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* \brief La fonction permet de stocker la zone de jeu en fonction de la lecture d'un fichier.
|
||||||
|
* \param name_file Le nom du fichier a ouvrir.
|
||||||
|
* \param tab Le tableau 2D carre du plateau de jeu a remplir.
|
||||||
|
* \param N La taille de tab.
|
||||||
|
* \param player Les coordonnée du joueur que le programe vas trouvé.
|
||||||
|
* \param nbr_targets Le nombre de points d'interer trouver.
|
||||||
|
* \return Vect La fonction renvoie le tableau des coordonnée des points d'interer.
|
||||||
|
*/
|
||||||
vect *fileToTab2D (const char *name_file, char **tab,
|
vect *fileToTab2D (const char *name_file, char **tab,
|
||||||
const unsigned N, vect *player, int *nbr_targets)
|
const unsigned N, vect *player, int *nbr_targets)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user