N64FlashcartMenu/settings_8h_source.html

125 lines
12 KiB
HTML
Raw Normal View History

<!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="en-US">
<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.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>N64FlashcartMenu: settings.h Source File</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>
<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" />
</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">N64FlashcartMenu
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- 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">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1a56cc8cdc1689899910be5fa4716ee4.html">menu</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">settings.h</div></div>
</div><!--header-->
<div class="contents">
<a href="settings_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#ifndef SETTINGS_H__</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#define SETTINGS_H__</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="settings_8h.html"> 12</a></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="settings_8h.html#ad88eea6bf7e99f89f316513306a07506"> 14</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="settings_8h.html#ad88eea6bf7e99f89f316513306a07506">pal60_enabled</a>;</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="settings_8h.html#af59022b231f0952311af71f4eb132d67"> 17</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="settings_8h.html#af59022b231f0952311af71f4eb132d67">show_protected_entries</a>;</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="settings_8h.html#a7b25ac0c578507eb002025f1e5ad6041"> 20</a></span> <span class="keywordtype">char</span> *<a class="code hl_variable" href="settings_8h.html#a7b25ac0c578507eb002025f1e5ad6041">default_directory</a>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="settings_8h.html#abf8e54596905858b3ada7f163b07d6a6"> 23</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="settings_8h.html#abf8e54596905858b3ada7f163b07d6a6">use_saves_folder</a>;</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"><a class="line" href="settings_8h.html#a5645dd794323484289ca8b1f8fcc872e"> 26</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="settings_8h.html#a5645dd794323484289ca8b1f8fcc872e">bgm_enabled</a>;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323"> 29</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323">sound_enabled</a>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="settings_8h.html#af8e5d894c1bc8c114fb0bf9ad5d12360"> 32</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="settings_8h.html#af8e5d894c1bc8c114fb0bf9ad5d12360">rumble_enabled</a>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>} <a class="code hl_struct" href="settings_8h.html#structsettings__t">settings_t</a>;</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keywordtype">void</span> <a class="code hl_function" href="settings_8h.html#a0d712e9d053c952928b0d7c6355fee96">settings_init</a> (<span class="keywordtype">char</span> *path);</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span><span class="keywordtype">void</span> <a class="code hl_function" href="settings_8h.html#a92cf6203bb213032dddd4dcc16a95536">settings_load</a> (<a class="code hl_struct" href="settings_8h.html#structsettings__t">settings_t</a> *settings);</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keywordtype">void</span> <a class="code hl_function" href="settings_8h.html#afdd03c789a4efd13147e1e7ef25bab9d">settings_save</a> (<a class="code hl_struct" href="settings_8h.html#structsettings__t">settings_t</a> *settings);</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="asettings_8h_html_a0d712e9d053c952928b0d7c6355fee96"><div class="ttname"><a href="settings_8h.html#a0d712e9d053c952928b0d7c6355fee96">settings_init</a></div><div class="ttdeci">void settings_init(char *path)</div><div class="ttdoc">Init settings path.</div><div class="ttdef"><b>Definition:</b> settings.c:24</div></div>
<div class="ttc" id="asettings_8h_html_a5645dd794323484289ca8b1f8fcc872e"><div class="ttname"><a href="settings_8h.html#a5645dd794323484289ca8b1f8fcc872e">settings_t::bgm_enabled</a></div><div class="ttdeci">bool bgm_enabled</div><div class="ttdoc">Enable Background music.</div><div class="ttdef"><b>Definition:</b> settings.h:26</div></div>
<div class="ttc" id="asettings_8h_html_a7b25ac0c578507eb002025f1e5ad6041"><div class="ttname"><a href="settings_8h.html#a7b25ac0c578507eb002025f1e5ad6041">settings_t::default_directory</a></div><div class="ttdeci">char * default_directory</div><div class="ttdoc">Default directory to navigate to when menu loads.</div><div class="ttdef"><b>Definition:</b> settings.h:20</div></div>
<div class="ttc" id="asettings_8h_html_a7f7e78c2b3edb912391e59b3d0038323"><div class="ttname"><a href="settings_8h.html#a7f7e78c2b3edb912391e59b3d0038323">settings_t::sound_enabled</a></div><div class="ttdeci">bool sound_enabled</div><div class="ttdoc">Enable Sounds.</div><div class="ttdef"><b>Definition:</b> settings.h:29</div></div>
<div class="ttc" id="asettings_8h_html_a92cf6203bb213032dddd4dcc16a95536"><div class="ttname"><a href="settings_8h.html#a92cf6203bb213032dddd4dcc16a95536">settings_load</a></div><div class="ttdeci">void settings_load(settings_t *settings)</div><div class="ttdoc">The settings to load.</div><div class="ttdef"><b>Definition:</b> settings.c:31</div></div>
<div class="ttc" id="asettings_8h_html_abf8e54596905858b3ada7f163b07d6a6"><div class="ttname"><a href="settings_8h.html#abf8e54596905858b3ada7f163b07d6a6">settings_t::use_saves_folder</a></div><div class="ttdeci">bool use_saves_folder</div><div class="ttdoc">Put saves into separate directory.</div><div class="ttdef"><b>Definition:</b> settings.h:23</div></div>
<div class="ttc" id="asettings_8h_html_ad88eea6bf7e99f89f316513306a07506"><div class="ttname"><a href="settings_8h.html#ad88eea6bf7e99f89f316513306a07506">settings_t::pal60_enabled</a></div><div class="ttdeci">bool pal60_enabled</div><div class="ttdoc">Use 60 Hz refresh rate on a PAL console.</div><div class="ttdef"><b>Definition:</b> settings.h:14</div></div>
<div class="ttc" id="asettings_8h_html_af59022b231f0952311af71f4eb132d67"><div class="ttname"><a href="settings_8h.html#af59022b231f0952311af71f4eb132d67">settings_t::show_protected_entries</a></div><div class="ttdeci">bool show_protected_entries</div><div class="ttdoc">Show files/directories that are filtered in the browser.</div><div class="ttdef"><b>Definition:</b> settings.h:17</div></div>
<div class="ttc" id="asettings_8h_html_af8e5d894c1bc8c114fb0bf9ad5d12360"><div class="ttname"><a href="settings_8h.html#af8e5d894c1bc8c114fb0bf9ad5d12360">settings_t::rumble_enabled</a></div><div class="ttdeci">bool rumble_enabled</div><div class="ttdoc">Enable rumble feedback.</div><div class="ttdef"><b>Definition:</b> settings.h:32</div></div>
<div class="ttc" id="asettings_8h_html_afdd03c789a4efd13147e1e7ef25bab9d"><div class="ttname"><a href="settings_8h.html#afdd03c789a4efd13147e1e7ef25bab9d">settings_save</a></div><div class="ttdeci">void settings_save(settings_t *settings)</div><div class="ttdoc">The settings to save.</div><div class="ttdef"><b>Definition:</b> settings.c:51</div></div>
<div class="ttc" id="asettings_8h_html_structsettings__t"><div class="ttname"><a href="settings_8h.html#structsettings__t">settings_t</a></div><div class="ttdoc">Settings Structure.</div><div class="ttdef"><b>Definition:</b> settings.h:12</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sun Aug 4 2024 16:57:07 for N64FlashcartMenu by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>