Files
dl_old/document/html/dl__engine_8h_source.html
T
2025-01-08 14:32:32 +08:00

128 lines
16 KiB
HTML

<!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="zh">
<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.13.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>dl: dl/system/dl_engine.h 源文件</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.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">dl
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.13.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>首页</span></a></li>
<li><a href="pages.html"><span>相关页面</span></a></li>
<li><a href="namespaces.html"><span>命名空间</span></a></li>
<li><a href="annotated.html"><span>类</span></a></li>
<li class="current"><a href="files.html"><span>文件</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="files.html"><span>文件列表</span></a></li>
<li><a href="globals.html"><span>文件成员</span></a></li>
</ul>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_17297ffb27ce571941f5fb5008f01a1f.html">dl</a></li><li class="navelem"><a class="el" href="dir_b2bcec82b594d980efe59d1a11da2bcc.html">system</a></li> </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
<div class="headertitle"><div class="title">dl_engine.h</div></div>
</div><!--header-->
<div class="contents">
<a href="dl__engine_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacedl.html">dl</a></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span>{</div>
<div class="foldopen" id="foldopen00014" data-start="{" data-end="};">
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classdl_1_1_engine.html"> 14</a></span><span class="keyword">class </span><a class="code hl_class" href="classdl_1_1_engine.html">Engine</a></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><span class="keyword">public</span>:</div>
<div class="foldopen" id="foldopen00018" data-start="{" data-end="};">
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html"> 18</a></span> <span class="keyword">struct </span><a class="code hl_struct" href="structdl_1_1_engine_1_1_param.html">Param</a></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> {</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#ae483ad9d32aa1ef9a345a8eac619f92b"> 20</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#ae483ad9d32aa1ef9a345a8eac619f92b">_setConsoleUtf8</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#aa5ac0df46f929696a0377b29bb436e3b"> 21</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#aa5ac0df46f929696a0377b29bb436e3b">_showInfo</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#a6ede62e99c330f70395469bdae61c83d"> 22</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#a6ede62e99c330f70395469bdae61c83d">_useTime</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#a7eeb471a52f92bdccc68b804118f26a0"> 23</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#a7eeb471a52f92bdccc68b804118f26a0">_useFreetype</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#a7f753abb9e2276310b39e26f33826803"> 24</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#a7f753abb9e2276310b39e26f33826803">_useNet</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#afed8bae0e241e57ec0d79c8533e24ae9"> 25</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#afed8bae0e241e57ec0d79c8533e24ae9">_useAction</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#a4c0052b2c105219a647e98bbb4056470"> 26</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#a4c0052b2c105219a647e98bbb4056470">_usePhysics</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#af0d01226b2d1b8ed2fabb42fd24ab46a"> 27</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#af0d01226b2d1b8ed2fabb42fd24ab46a">_useAudio</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#a0cdab36149823e3caf94978d2fcd343a"> 28</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#a0cdab36149823e3caf94978d2fcd343a">_useScene</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#a32ed0a50bee8d6eeff41216eccf6f160"> 29</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#a32ed0a50bee8d6eeff41216eccf6f160">_useHttp</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#ad10e467bee2d26cd2e6415bfd2bfe502"> 30</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#ad10e467bee2d26cd2e6415bfd2bfe502">_useLanguage</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="structdl_1_1_engine_1_1_param.html#ad4fb4a3aee9cc99eaf611fa3e1094a1a"> 31</a></span> <span class="keywordtype">bool</span> <a class="code hl_variable" href="structdl_1_1_engine_1_1_param.html#ad4fb4a3aee9cc99eaf611fa3e1094a1a">_useMidi</a> = <span class="keyword">true</span>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> };</div>
</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classdl_1_1_engine.html#a7cfd7be45b8ec1036dca057c23e9a950"> 33</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdl_1_1_engine.html#a7cfd7be45b8ec1036dca057c23e9a950">Init</a>();</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classdl_1_1_engine.html#a5e41fa9846b80719dd1e8185fd79e064"> 34</a></span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classdl_1_1_engine.html#a5e41fa9846b80719dd1e8185fd79e064">Release</a>();</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classdl_1_1_engine.html#a32f2dd2893304a8738e20e443b42bc01"> 35</a></span> <span class="keyword">static</span> <a class="code hl_struct" href="structdl_1_1_engine_1_1_param.html">Param</a>&amp; <a class="code hl_function" href="classdl_1_1_engine.html#a32f2dd2893304a8738e20e443b42bc01">GetParamRef</a>() { <span class="keywordflow">return</span> _param; }</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">static</span> Param _param;</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span>};</div>
</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span>}</div>
<div class="ttc" id="aclassdl_1_1_engine_html"><div class="ttname"><a href="classdl_1_1_engine.html">dl::Engine</a></div><div class="ttdef"><b>定义</b> <a href="#l00014">dl_engine.h:15</a></div></div>
<div class="ttc" id="aclassdl_1_1_engine_html_a32f2dd2893304a8738e20e443b42bc01"><div class="ttname"><a href="classdl_1_1_engine.html#a32f2dd2893304a8738e20e443b42bc01">dl::Engine::GetParamRef</a></div><div class="ttdeci">static Param &amp; GetParamRef()</div><div class="ttdef"><b>定义</b> <a href="#l00035">dl_engine.h:35</a></div></div>
<div class="ttc" id="aclassdl_1_1_engine_html_a5e41fa9846b80719dd1e8185fd79e064"><div class="ttname"><a href="classdl_1_1_engine.html#a5e41fa9846b80719dd1e8185fd79e064">dl::Engine::Release</a></div><div class="ttdeci">static void Release()</div></div>
<div class="ttc" id="aclassdl_1_1_engine_html_a7cfd7be45b8ec1036dca057c23e9a950"><div class="ttname"><a href="classdl_1_1_engine.html#a7cfd7be45b8ec1036dca057c23e9a950">dl::Engine::Init</a></div><div class="ttdeci">static void Init()</div></div>
<div class="ttc" id="anamespacedl_html"><div class="ttname"><a href="namespacedl.html">dl</a></div><div class="ttdef"><b>定义</b> <a href="dl__array2_8h_source.html#l00017">dl_array2.h:18</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html">dl::Engine::Param</a></div><div class="ttdoc">选择性初始化组件</div><div class="ttdef"><b>定义</b> <a href="#l00018">dl_engine.h:19</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_a0cdab36149823e3caf94978d2fcd343a"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#a0cdab36149823e3caf94978d2fcd343a">dl::Engine::Param::_useScene</a></div><div class="ttdeci">bool _useScene</div><div class="ttdef"><b>定义</b> <a href="#l00028">dl_engine.h:28</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_a32ed0a50bee8d6eeff41216eccf6f160"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#a32ed0a50bee8d6eeff41216eccf6f160">dl::Engine::Param::_useHttp</a></div><div class="ttdeci">bool _useHttp</div><div class="ttdef"><b>定义</b> <a href="#l00029">dl_engine.h:29</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_a4c0052b2c105219a647e98bbb4056470"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#a4c0052b2c105219a647e98bbb4056470">dl::Engine::Param::_usePhysics</a></div><div class="ttdeci">bool _usePhysics</div><div class="ttdef"><b>定义</b> <a href="#l00026">dl_engine.h:26</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_a6ede62e99c330f70395469bdae61c83d"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#a6ede62e99c330f70395469bdae61c83d">dl::Engine::Param::_useTime</a></div><div class="ttdeci">bool _useTime</div><div class="ttdef"><b>定义</b> <a href="#l00022">dl_engine.h:22</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_a7eeb471a52f92bdccc68b804118f26a0"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#a7eeb471a52f92bdccc68b804118f26a0">dl::Engine::Param::_useFreetype</a></div><div class="ttdeci">bool _useFreetype</div><div class="ttdef"><b>定义</b> <a href="#l00023">dl_engine.h:23</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_a7f753abb9e2276310b39e26f33826803"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#a7f753abb9e2276310b39e26f33826803">dl::Engine::Param::_useNet</a></div><div class="ttdeci">bool _useNet</div><div class="ttdef"><b>定义</b> <a href="#l00024">dl_engine.h:24</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_aa5ac0df46f929696a0377b29bb436e3b"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#aa5ac0df46f929696a0377b29bb436e3b">dl::Engine::Param::_showInfo</a></div><div class="ttdeci">bool _showInfo</div><div class="ttdef"><b>定义</b> <a href="#l00021">dl_engine.h:21</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_ad10e467bee2d26cd2e6415bfd2bfe502"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#ad10e467bee2d26cd2e6415bfd2bfe502">dl::Engine::Param::_useLanguage</a></div><div class="ttdeci">bool _useLanguage</div><div class="ttdef"><b>定义</b> <a href="#l00030">dl_engine.h:30</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_ad4fb4a3aee9cc99eaf611fa3e1094a1a"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#ad4fb4a3aee9cc99eaf611fa3e1094a1a">dl::Engine::Param::_useMidi</a></div><div class="ttdeci">bool _useMidi</div><div class="ttdef"><b>定义</b> <a href="#l00031">dl_engine.h:31</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_ae483ad9d32aa1ef9a345a8eac619f92b"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#ae483ad9d32aa1ef9a345a8eac619f92b">dl::Engine::Param::_setConsoleUtf8</a></div><div class="ttdeci">bool _setConsoleUtf8</div><div class="ttdef"><b>定义</b> <a href="#l00020">dl_engine.h:20</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_af0d01226b2d1b8ed2fabb42fd24ab46a"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#af0d01226b2d1b8ed2fabb42fd24ab46a">dl::Engine::Param::_useAudio</a></div><div class="ttdeci">bool _useAudio</div><div class="ttdef"><b>定义</b> <a href="#l00027">dl_engine.h:27</a></div></div>
<div class="ttc" id="astructdl_1_1_engine_1_1_param_html_afed8bae0e241e57ec0d79c8533e24ae9"><div class="ttname"><a href="structdl_1_1_engine_1_1_param.html#afed8bae0e241e57ec0d79c8533e24ae9">dl::Engine::Param::_useAction</a></div><div class="ttdeci">bool _useAction</div><div class="ttdef"><b>定义</b> <a href="#l00025">dl_engine.h:25</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<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>
</div><!-- doc-content -->
</body>
</html>