Unverified Commit 2f19269c authored by Rob Loach's avatar Rob Loach
Browse files
parents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: ChaiLove.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">ChaiLove.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="preprocessor">#ifndef SRC_CHAILOVE_H_</span></div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="preprocessor">#define SRC_CHAILOVE_H_</span></div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="preprocessor">#define CHAILOVE_VERSION_MAJOR 0</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="preprocessor">#define CHAILOVE_VERSION_MINOR 28</span></div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="preprocessor">#define CHAILOVE_VERSION_PATCH 0</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="preprocessor">#define CHAILOVE_VERSION_STRING &quot;0.28.0&quot;</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;<span class="preprocessor">#include &quot;SDL.h&quot;</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="preprocessor">#include &quot;libretro.h&quot;</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#include &quot;love/keyboard.h&quot;</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;<span class="preprocessor">#include &quot;love/config.h&quot;</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="preprocessor">#include &quot;love/data.h&quot;</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#include &quot;love/script.h&quot;</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;<span class="preprocessor">#include &quot;love/filesystem.h&quot;</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="preprocessor">#include &quot;love/graphics.h&quot;</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="preprocessor">#include &quot;love/image.h&quot;</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="preprocessor">#include &quot;love/system.h&quot;</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#include &quot;love/sound.h&quot;</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;<span class="preprocessor">#include &quot;love/font.h&quot;</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="preprocessor">#include &quot;love/timer.h&quot;</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;<span class="preprocessor">#include &quot;love/audio.h&quot;</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="preprocessor">#include &quot;love/joystick.h&quot;</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#include &quot;love/mouse.h&quot;</span></div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;<span class="preprocessor">#include &quot;love/window.h&quot;</span></div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="preprocessor">#include &quot;love/math.h&quot;</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="preprocessor">#include &quot;love/event.h&quot;</span></div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="preprocessor">#include &quot;love/console.h&quot;</span></div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160;<span class="keyword">class </span>ChaiLove {</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keyword">static</span> ChaiLove* getInstance();</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <span class="keyword">static</span> ChaiLove* m_instance;</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span> destroy();</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <span class="keyword">static</span> <span class="keywordtype">bool</span> hasInstance();</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160;</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; <span class="keyword">static</span> retro_input_state_t input_state_cb;</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>&#160; <span class="keyword">static</span> retro_input_poll_t input_poll_cb;</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160; <span class="keyword">static</span> retro_environment_t environ_cb;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>&#160; <a class="code" href="classlove_1_1config.html">love::config</a> config;</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span>&#160; <a class="code" href="classlove_1_1console.html">love::console</a> console;</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span>&#160; <a class="code" href="classlove_1_1keyboard.html">love::keyboard</a> keyboard;</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span>&#160; <a class="code" href="classlove_1_1script.html">love::script</a>* script = NULL;</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; <a class="code" href="classlove_1_1data.html">love::data</a> data;</div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; <a class="code" href="classlove_1_1filesystem.html">love::filesystem</a> filesystem;</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <a class="code" href="classlove_1_1graphics.html">love::graphics</a> graphics;</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160; <a class="code" href="classlove_1_1image.html">love::image</a> image;</div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; <a class="code" href="classlove_1_1system.html">love::system</a> system;</div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <a class="code" href="classlove_1_1sound.html">love::sound</a> sound;</div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <a class="code" href="classlove_1_1font.html">love::font</a> font;</div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span>&#160; <a class="code" href="classlove_1_1timer.html">love::timer</a> timer;</div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span>&#160; <a class="code" href="classlove_1_1audio.html">love::audio</a> audio;</div><div class="line"><a name="l00099"></a><span class="lineno"> 99</span>&#160; <a class="code" href="classlove_1_1joystick.html">love::joystick</a> joystick;</div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span>&#160; <a class="code" href="classlove_1_1mouse.html">love::mouse</a> mouse;</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span>&#160; <a class="code" href="classlove_1_1math.html">love::math</a> math;</div><div class="line"><a name="l00102"></a><span class="lineno"> 102</span>&#160; <a class="code" href="classlove_1_1window.html">love::window</a> window;</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; <a class="code" href="classlove_1_1event.html">love::event</a> event;</div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; std::string demo();</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; ~ChaiLove();</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>&#160; <span class="keywordtype">void</span> quit(<span class="keywordtype">void</span>);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span>&#160; <span class="keywordtype">bool</span> load(<span class="keyword">const</span> std::string&amp; file, <span class="keyword">const</span> <span class="keywordtype">void</span>* data);</div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>&#160; <span class="keywordtype">void</span> update();</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span>&#160; <span class="keywordtype">void</span> draw();</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; <span class="keywordtype">void</span> reset();</div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; std::string savestate();</div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160; <span class="keywordtype">bool</span> loadstate(<span class="keyword">const</span> std::string&amp; data);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="keywordtype">void</span> cheatreset();</div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160; <span class="keywordtype">void</span> cheatset(<span class="keywordtype">int</span> index, <span class="keywordtype">bool</span> enabled, <span class="keyword">const</span> std::string&amp; code);</div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;</div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160; uint32_t *videoBuffer = NULL;</div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160; SDL_Surface* screen = NULL;</div><div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;};</div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="preprocessor">#endif // SRC_CHAILOVE_H_</span></div><div class="ttc" id="classlove_1_1font_html"><div class="ttname"><a href="classlove_1_1font.html">love::font</a></div><div class="ttdoc">Allows you to work with fonts. </div><div class="ttdef"><b>Definition:</b> font.h:12</div></div>
<div class="ttc" id="classlove_1_1graphics_html"><div class="ttname"><a href="classlove_1_1graphics.html">love::graphics</a></div><div class="ttdoc">The primary purpose of the graphics module is to draw to the screen. </div><div class="ttdef"><b>Definition:</b> graphics.h:25</div></div>
<div class="ttc" id="classlove_1_1audio_html"><div class="ttname"><a href="classlove_1_1audio.html">love::audio</a></div><div class="ttdoc">Provides an interface to output sound to the user&amp;#39;s speakers. </div><div class="ttdef"><b>Definition:</b> audio.h:16</div></div>
<div class="ttc" id="classlove_1_1config_html"><div class="ttname"><a href="classlove_1_1config.html">love::config</a></div><div class="ttdoc">The configuration object for ChaiLove. </div><div class="ttdef"><b>Definition:</b> config.h:31</div></div>
<div class="ttc" id="classlove_1_1image_html"><div class="ttname"><a href="classlove_1_1image.html">love::image</a></div><div class="ttdoc">Provides an interface to decode encoded image data. </div><div class="ttdef"><b>Definition:</b> image.h:15</div></div>
<div class="ttc" id="classlove_1_1event_html"><div class="ttname"><a href="classlove_1_1event.html">love::event</a></div><div class="ttdoc">Manages events, like keypresses. </div><div class="ttdef"><b>Definition:</b> event.h:10</div></div>
<div class="ttc" id="classlove_1_1keyboard_html"><div class="ttname"><a href="classlove_1_1keyboard.html">love::keyboard</a></div><div class="ttdoc">Provides an interface to the user&amp;#39;s keyboard. </div><div class="ttdef"><b>Definition:</b> keyboard.h:13</div></div>
<div class="ttc" id="classlove_1_1math_html"><div class="ttname"><a href="classlove_1_1math.html">love::math</a></div><div class="ttdoc">Provides system-independent mathematical functions. </div><div class="ttdef"><b>Definition:</b> math.h:10</div></div>
<div class="ttc" id="classlove_1_1sound_html"><div class="ttname"><a href="classlove_1_1sound.html">love::sound</a></div><div class="ttdoc">This module is responsible for decoding sound files. </div><div class="ttdef"><b>Definition:</b> sound.h:13</div></div>
<div class="ttc" id="classlove_1_1timer_html"><div class="ttname"><a href="classlove_1_1timer.html">love::timer</a></div><div class="ttdoc">Provides high-resolution timing functionality. </div><div class="ttdef"><b>Definition:</b> timer.h:9</div></div>
<div class="ttc" id="classlove_1_1console_html"><div class="ttname"><a href="classlove_1_1console.html">love::console</a></div><div class="ttdoc">In-game console for ChaiLove. </div><div class="ttdef"><b>Definition:</b> console.h:19</div></div>
<div class="ttc" id="classlove_1_1data_html"><div class="ttname"><a href="classlove_1_1data.html">love::data</a></div><div class="ttdoc">Provides functionality for creating and transforming data. </div><div class="ttdef"><b>Definition:</b> data.h:10</div></div>
<div class="ttc" id="classlove_1_1system_html"><div class="ttname"><a href="classlove_1_1system.html">love::system</a></div><div class="ttdoc">Provides access to information about the user&amp;#39;s system. </div><div class="ttdef"><b>Definition:</b> system.h:60</div></div>
<div class="ttc" id="classlove_1_1script_html"><div class="ttname"><a href="classlove_1_1script.html">love::script</a></div><div class="ttdoc">This module provides all the global functions and events that are called. </div><div class="ttdef"><b>Definition:</b> script.h:39</div></div>
<div class="ttc" id="classlove_1_1window_html"><div class="ttname"><a href="classlove_1_1window.html">love::window</a></div><div class="ttdoc">Provides an interface for modifying and retrieving information about the program&amp;#39;s window...</div><div class="ttdef"><b>Definition:</b> window.h:15</div></div>
<div class="ttc" id="classlove_1_1joystick_html"><div class="ttname"><a href="classlove_1_1joystick.html">love::joystick</a></div><div class="ttdoc">Provides an interface to connected joysticks. </div><div class="ttdef"><b>Definition:</b> joystick.h:17</div></div>
<div class="ttc" id="classlove_1_1mouse_html"><div class="ttname"><a href="classlove_1_1mouse.html">love::mouse</a></div><div class="ttdoc">Provides an interface to the user&amp;#39;s mouse. </div><div class="ttdef"><b>Definition:</b> mouse.h:13</div></div>
<div class="ttc" id="classlove_1_1filesystem_html"><div class="ttname"><a href="classlove_1_1filesystem.html">love::filesystem</a></div><div class="ttdoc">Provides an interface to the user&amp;#39;s filesystem. </div><div class="ttdef"><b>Definition:</b> filesystem.h:19</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: Color.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></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_8c819ed11c88ad33b1a7ab78f67872e4.html">love</a></li><li class="navelem"><a class="el" href="dir_c59be8ecec68dd2912aefc95edca7dce.html">Types</a></li><li class="navelem"><a class="el" href="dir_0b0d6539351cc0298f9c00256eb8842e.html">Graphics</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Color.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef SRC_LOVE_TYPES_GRAPHICS_COLOR_H_</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define SRC_LOVE_TYPES_GRAPHICS_COLOR_H_</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;SDL.h&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacelove.html">love</a> {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">namespace </span>Types {</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span>Graphics {</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html"> 13</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html">Color</a> {</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#af65ce1510d89f81bc1c5ec48b8981ea7"> 17</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#af65ce1510d89f81bc1c5ec48b8981ea7">Color</a>() : <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da">r</a>(0), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80">g</a>(0), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548">b</a>(0), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a77bebcee50e62ca5bc77ddeb509ba4a0">a</a>(0) {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; }</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#ac3810150e27e5d1f660a3dc50f687f51"> 24</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#ac3810150e27e5d1f660a3dc50f687f51">Color</a>(<span class="keywordtype">int</span> rValue, <span class="keywordtype">int</span> gValue, <span class="keywordtype">int</span> bValue, <span class="keywordtype">int</span> aValue) : <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da">r</a>(rValue), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80">g</a>(gValue), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548">b</a>(bValue), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a77bebcee50e62ca5bc77ddeb509ba4a0">a</a>(aValue) {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160; }</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#adaba6c7eb2cc38581c56bad309d520a5"> 31</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#adaba6c7eb2cc38581c56bad309d520a5">Color</a>(<span class="keywordtype">int</span> rValue, <span class="keywordtype">int</span> gValue, <span class="keywordtype">int</span> bValue) : <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da">r</a>(rValue), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80">g</a>(gValue), <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548">b</a>(bValue) {</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160; }</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da"> 38</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da">r</a>;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80"> 43</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80">g</a>;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548"> 48</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548">b</a>;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;</div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a77bebcee50e62ca5bc77ddeb509ba4a0"> 53</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a77bebcee50e62ca5bc77ddeb509ba4a0">a</a>;</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; SDL_Color toSDLColor() {</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; SDL_Color c;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; c.r = <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da">r</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; c.g = <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80">g</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; c.b = <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548">b</a>;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; c.unused = <a class="code" href="structlove_1_1Types_1_1Graphics_1_1Color.html#a77bebcee50e62ca5bc77ddeb509ba4a0">a</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordflow">return</span> c;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;};</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160;} <span class="comment">// namespace Graphics</span></div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;} <span class="comment">// namespace Types</span></div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;} <span class="comment">// namespace love</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#endif // SRC_LOVE_TYPES_GRAPHICS_COLOR_H_</span></div><div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_a35da53a1947a059ff6265b1f28d7f548"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#a35da53a1947a059ff6265b1f28d7f548">love::Types::Graphics::Color::b</a></div><div class="ttdeci">int b</div><div class="ttdoc">The amount of blue. </div><div class="ttdef"><b>Definition:</b> Color.h:48</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_adaba6c7eb2cc38581c56bad309d520a5"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#adaba6c7eb2cc38581c56bad309d520a5">love::Types::Graphics::Color::Color</a></div><div class="ttdeci">Color(int rValue, int gValue, int bValue)</div><div class="ttdoc">Create a new color. </div><div class="ttdef"><b>Definition:</b> Color.h:31</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_ac3810150e27e5d1f660a3dc50f687f51"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#ac3810150e27e5d1f660a3dc50f687f51">love::Types::Graphics::Color::Color</a></div><div class="ttdeci">Color(int rValue, int gValue, int bValue, int aValue)</div><div class="ttdoc">Create a new color. </div><div class="ttdef"><b>Definition:</b> Color.h:24</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html">love::Types::Graphics::Color</a></div><div class="ttdoc">A color, holding red, green, blue and alpha values. </div><div class="ttdef"><b>Definition:</b> Color.h:13</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_af65ce1510d89f81bc1c5ec48b8981ea7"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#af65ce1510d89f81bc1c5ec48b8981ea7">love::Types::Graphics::Color::Color</a></div><div class="ttdeci">Color()</div><div class="ttdoc">Create a color with the value of 0, 0, 0, 0. </div><div class="ttdef"><b>Definition:</b> Color.h:17</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_a0b32ffc723d0ffc2dc25dcd6fab974da"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#a0b32ffc723d0ffc2dc25dcd6fab974da">love::Types::Graphics::Color::r</a></div><div class="ttdeci">int r</div><div class="ttdoc">The amount of red. </div><div class="ttdef"><b>Definition:</b> Color.h:38</div></div>
<div class="ttc" id="namespacelove_html"><div class="ttname"><a href="namespacelove.html">love</a></div><div class="ttdoc">This covers all the modules available through ChaiLove. </div><div class="ttdef"><b>Definition:</b> audio.h:9</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_a77bebcee50e62ca5bc77ddeb509ba4a0"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#a77bebcee50e62ca5bc77ddeb509ba4a0">love::Types::Graphics::Color::a</a></div><div class="ttdeci">int a</div><div class="ttdoc">The amount of alpha. </div><div class="ttdef"><b>Definition:</b> Color.h:53</div></div>
<div class="ttc" id="structlove_1_1Types_1_1Graphics_1_1Color_html_a817194a20ac00351fb1af9abb5d51c80"><div class="ttname"><a href="structlove_1_1Types_1_1Graphics_1_1Color.html#a817194a20ac00351fb1af9abb5d51c80">love::Types::Graphics::Color::g</a></div><div class="ttdeci">int g</div><div class="ttdoc">The amount of green. </div><div class="ttdef"><b>Definition:</b> Color.h:43</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: FileData.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></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_8c819ed11c88ad33b1a7ab78f67872e4.html">love</a></li><li class="navelem"><a class="el" href="dir_c59be8ecec68dd2912aefc95edca7dce.html">Types</a></li><li class="navelem"><a class="el" href="dir_aae9f4a4bfd869250a577a6bd0b8a363.html">FileSystem</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">FileData.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef SRC_LOVE_TYPES_FILESYSTEM_FILEDATA_H_</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define SRC_LOVE_TYPES_FILESYSTEM_FILEDATA_H_</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacelove.html">love</a> {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">namespace </span>Types {</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span>FileSystem {</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html"> 15</a></span>&#160;<span class="keyword">class </span><a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html">FileData</a> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; <a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#ae557f7d616de567edafabef1a52aef62">FileData</a>(<span class="keyword">const</span> std::string&amp; filepath);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#ae557f7d616de567edafabef1a52aef62">FileData</a>(<span class="keyword">const</span> std::string&amp; contents, <span class="keyword">const</span> std::string&amp; name);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#aa51caa1fba8f4abefec54ede19fed137">getSize</a>();</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; std::string <a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#a65a334e25827d63d4065401476eb25fc">getFilename</a>();</div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; std::string <a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#a55fa498b498fb9dc599fd9a3cb453d6c">getString</a>();</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; std::string <a class="code" href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#abb080ffd685e29065d1437374958dd2c">getExtension</a>();</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; std::string m_filepath;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; std::string m_contents;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;};</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;} <span class="comment">// namespace FileSystem</span></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;} <span class="comment">// namespace Types</span></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160;} <span class="comment">// namespace love</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="preprocessor">#endif // SRC_LOVE_TYPES_FILESYSTEM_FILEDATA_H_</span></div><div class="ttc" id="classlove_1_1Types_1_1FileSystem_1_1FileData_html_a55fa498b498fb9dc599fd9a3cb453d6c"><div class="ttname"><a href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#a55fa498b498fb9dc599fd9a3cb453d6c">love::Types::FileSystem::FileData::getString</a></div><div class="ttdeci">std::string getString()</div><div class="ttdoc">Gets the full Data as a string. </div></div>
<div class="ttc" id="classlove_1_1Types_1_1FileSystem_1_1FileData_html"><div class="ttname"><a href="classlove_1_1Types_1_1FileSystem_1_1FileData.html">love::Types::FileSystem::FileData</a></div><div class="ttdoc">Information about a file. </div><div class="ttdef"><b>Definition:</b> FileData.h:15</div></div>
<div class="ttc" id="classlove_1_1Types_1_1FileSystem_1_1FileData_html_abb080ffd685e29065d1437374958dd2c"><div class="ttname"><a href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#abb080ffd685e29065d1437374958dd2c">love::Types::FileSystem::FileData::getExtension</a></div><div class="ttdeci">std::string getExtension()</div><div class="ttdoc">Gets the extension of the FileData. </div></div>
<div class="ttc" id="classlove_1_1Types_1_1FileSystem_1_1FileData_html_a65a334e25827d63d4065401476eb25fc"><div class="ttname"><a href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#a65a334e25827d63d4065401476eb25fc">love::Types::FileSystem::FileData::getFilename</a></div><div class="ttdeci">std::string getFilename()</div><div class="ttdoc">Gets the filename of the FileData. </div></div>
<div class="ttc" id="classlove_1_1Types_1_1FileSystem_1_1FileData_html_ae557f7d616de567edafabef1a52aef62"><div class="ttname"><a href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#ae557f7d616de567edafabef1a52aef62">love::Types::FileSystem::FileData::FileData</a></div><div class="ttdeci">FileData(const std::string &amp;filepath)</div><div class="ttdoc">Creates a new FileData from a file on the storage device. </div></div>
<div class="ttc" id="classlove_1_1Types_1_1FileSystem_1_1FileData_html_aa51caa1fba8f4abefec54ede19fed137"><div class="ttname"><a href="classlove_1_1Types_1_1FileSystem_1_1FileData.html#aa51caa1fba8f4abefec54ede19fed137">love::Types::FileSystem::FileData::getSize</a></div><div class="ttdeci">int getSize()</div><div class="ttdoc">The size of the Data in bytes. </div></div>
<div class="ttc" id="namespacelove_html"><div class="ttname"><a href="namespacelove.html">love</a></div><div class="ttdoc">This covers all the modules available through ChaiLove. </div><div class="ttdef"><b>Definition:</b> audio.h:9</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: FileInfo.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></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_8c819ed11c88ad33b1a7ab78f67872e4.html">love</a></li><li class="navelem"><a class="el" href="dir_c59be8ecec68dd2912aefc95edca7dce.html">Types</a></li><li class="navelem"><a class="el" href="dir_aae9f4a4bfd869250a577a6bd0b8a363.html">FileSystem</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">FileInfo.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef SRC_LOVE_TYPES_FILESYSTEM_FILEINFO_H_</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define SRC_LOVE_TYPES_FILESYSTEM_FILEINFO_H_</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacelove.html">love</a> {</div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="keyword">namespace </span>Types {</div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="keyword">namespace </span>FileSystem {</div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html"> 15</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html">FileInfo</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a0e0191920e04e89a05867a816a971941"> 19</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a0e0191920e04e89a05867a816a971941">FileInfo</a>() : <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb">type</a>(<span class="stringliteral">&quot;&quot;</span>), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be">size</a>(-1), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06">modtime</a>(-1) {</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; }</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#ae40bf0ca07ba3cbece5377807b78f4d5"> 26</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#ae40bf0ca07ba3cbece5377807b78f4d5">FileInfo</a>(<span class="keyword">const</span> std::string&amp; theType) : <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb">type</a>(theType), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be">size</a>(-1), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06">modtime</a>(-1) {</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; }</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a59db39ab06ac7bd661acb8583f13158d"> 33</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a59db39ab06ac7bd661acb8583f13158d">FileInfo</a>(<span class="keyword">const</span> std::string&amp; theType, <span class="keywordtype">int</span> theSize) : <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb">type</a>(theType), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be">size</a>(theSize), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06">modtime</a>(-1) {</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; }</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#aaf6f4281f867c57b8ad39835638d5d7c"> 40</a></span>&#160; <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#aaf6f4281f867c57b8ad39835638d5d7c">FileInfo</a>(<span class="keyword">const</span> std::string&amp; theType, <span class="keywordtype">int</span> theSize, <span class="keywordtype">int</span> theModtime) : <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb">type</a>(theType), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be">size</a>(theSize), <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06">modtime</a>(theModtime) {</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160; <span class="comment">// Nothing.</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; }</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb"> 47</a></span>&#160; std::string <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb">type</a>;</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be"> 52</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be">size</a>;</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06"> 57</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06">modtime</a>;</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;};</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;</div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160;} <span class="comment">// namespace FileSystem</span></div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;} <span class="comment">// namespace Types</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;} <span class="comment">// namespace love</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160;<span class="preprocessor">#endif // SRC_LOVE_TYPES_FILESYSTEM_FILEINFO_H_</span></div><div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_aaf6f4281f867c57b8ad39835638d5d7c"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#aaf6f4281f867c57b8ad39835638d5d7c">love::Types::FileSystem::FileInfo::FileInfo</a></div><div class="ttdeci">FileInfo(const std::string &amp;theType, int theSize, int theModtime)</div><div class="ttdoc">Creates a basic FileInfo object, with the type, size and modtime. </div><div class="ttdef"><b>Definition:</b> FileInfo.h:40</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html">love::Types::FileSystem::FileInfo</a></div><div class="ttdoc">Information about a file. </div><div class="ttdef"><b>Definition:</b> FileInfo.h:15</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_a06cbc900670339f0d08969396dc033be"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a06cbc900670339f0d08969396dc033be">love::Types::FileSystem::FileInfo::size</a></div><div class="ttdeci">int size</div><div class="ttdoc">The size in bytes of the file, or -1 if it can&amp;#39;t be determined. </div><div class="ttdef"><b>Definition:</b> FileInfo.h:52</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_a0e0191920e04e89a05867a816a971941"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a0e0191920e04e89a05867a816a971941">love::Types::FileSystem::FileInfo::FileInfo</a></div><div class="ttdeci">FileInfo()</div><div class="ttdoc">Creates a basic FileInfo object, with no values set. </div><div class="ttdef"><b>Definition:</b> FileInfo.h:19</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_a5269ed071b2d28a8daae738e167e9f06"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a5269ed071b2d28a8daae738e167e9f06">love::Types::FileSystem::FileInfo::modtime</a></div><div class="ttdeci">int modtime</div><div class="ttdoc">The file&amp;#39;s last modification time in seconds since the unix epoch, or -1 if it can&amp;#39;t be determined...</div><div class="ttdef"><b>Definition:</b> FileInfo.h:57</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_ae40bf0ca07ba3cbece5377807b78f4d5"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#ae40bf0ca07ba3cbece5377807b78f4d5">love::Types::FileSystem::FileInfo::FileInfo</a></div><div class="ttdeci">FileInfo(const std::string &amp;theType)</div><div class="ttdoc">Creates a basic FileInfo object, with the given type. </div><div class="ttdef"><b>Definition:</b> FileInfo.h:26</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_a59db39ab06ac7bd661acb8583f13158d"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a59db39ab06ac7bd661acb8583f13158d">love::Types::FileSystem::FileInfo::FileInfo</a></div><div class="ttdeci">FileInfo(const std::string &amp;theType, int theSize)</div><div class="ttdoc">Creates a basic FileInfo object, with the type and size. </div><div class="ttdef"><b>Definition:</b> FileInfo.h:33</div></div>
<div class="ttc" id="structlove_1_1Types_1_1FileSystem_1_1FileInfo_html_a9647dc8996d275b70f90dcd450f992fb"><div class="ttname"><a href="structlove_1_1Types_1_1FileSystem_1_1FileInfo.html#a9647dc8996d275b70f90dcd450f992fb">love::Types::FileSystem::FileInfo::type</a></div><div class="ttdeci">std::string type</div><div class="ttdoc">The type of the object at the path (file, directory, symlink, empty, etc.). </div><div class="ttdef"><b>Definition:</b> FileInfo.h:47</div></div>
<div class="ttc" id="namespacelove_html"><div class="ttname"><a href="namespacelove.html">love</a></div><div class="ttdoc">This covers all the modules available through ChaiLove. </div><div class="ttdef"><b>Definition:</b> audio.h:9</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: Font.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></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_8c819ed11c88ad33b1a7ab78f67872e4.html">love</a></li><li class="navelem"><a class="el" href="dir_c59be8ecec68dd2912aefc95edca7dce.html">Types</a></li><li class="navelem"><a class="el" href="dir_0b0d6539351cc0298f9c00256eb8842e.html">Graphics</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Font.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="preprocessor">#ifndef SRC_LOVE_TYPES_GRAPHICS_FONT_H_</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="preprocessor">#define SRC_LOVE_TYPES_GRAPHICS_FONT_H_</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="preprocessor">#include &quot;SDL.h&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="preprocessor">#include &quot;SDL_ttf.h&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="preprocessor">#include &lt;SDL_fnt.h&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="preprocessor">#include &quot;Image.h&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacelove.html">love</a> {</div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="keyword">namespace </span>Types {</div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="keyword">namespace </span>Graphics {</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;</div><div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="classlove_1_1Types_1_1Graphics_1_1Font.html"> 17</a></span>&#160;<span class="keyword">class </span><a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html">Font</a> {</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html">Font</a>();</div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160; <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html">Font</a>(<span class="keyword">const</span> std::string&amp; filename, <span class="keywordtype">int</span> glyphWidth, <span class="keywordtype">int</span> glyphHeight, <span class="keyword">const</span> std::string&amp; letters);</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160; <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html">Font</a>(<span class="keyword">const</span> std::string&amp; filename, <span class="keywordtype">int</span> ptsize);</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; ~<a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html">Font</a>();</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html#aa259ed3993aa4d686c5cb530d5516db3">loaded</a>();</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; <span class="keywordtype">bool</span> destroy();</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; <span class="keywordtype">void</span> print(<span class="keyword">const</span> std::string&amp; text, <span class="keywordtype">int</span> x, <span class="keywordtype">int</span> y, <span class="keywordtype">int</span> r, <span class="keywordtype">int</span> g, <span class="keywordtype">int</span> b, <span class="keywordtype">int</span> a);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160; TTF_Font* ttfFont = NULL;</div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; TTY_Font* ttyFont = NULL;</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160; <span class="keywordtype">int</span> ttyFontWidth, ttyFontHeight;</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html#ad7919d7e2737d75d979ff887065b2e4c">getHeight</a>(<span class="keyword">const</span> std::string&amp; text);</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html#ad7919d7e2737d75d979ff887065b2e4c">getHeight</a>();</div><div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="keywordtype">int</span> <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Font.html#a815c4c146ea2fd7c2efc933af8b6ed58">getWidth</a>(<span class="keyword">const</span> std::string&amp; text);</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160;</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="code" href="classlove_1_1Types_1_1Graphics_1_1Image.html">Image</a>* m_image = NULL;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;};</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;} <span class="comment">// namespace Graphics</span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;} <span class="comment">// namespace Types</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160;} <span class="comment">// namespace love</span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="preprocessor">#endif // SRC_LOVE_TYPES_GRAPHICS_FONT_H_</span></div><div class="ttc" id="classlove_1_1Types_1_1Graphics_1_1Font_html_ad7919d7e2737d75d979ff887065b2e4c"><div class="ttname"><a href="classlove_1_1Types_1_1Graphics_1_1Font.html#ad7919d7e2737d75d979ff887065b2e4c">love::Types::Graphics::Font::getHeight</a></div><div class="ttdeci">int getHeight()</div><div class="ttdoc">Determines the vertical size a line of text needs. </div></div>
<div class="ttc" id="classlove_1_1Types_1_1Graphics_1_1Font_html_aa259ed3993aa4d686c5cb530d5516db3"><div class="ttname"><a href="classlove_1_1Types_1_1Graphics_1_1Font.html#aa259ed3993aa4d686c5cb530d5516db3">love::Types::Graphics::Font::loaded</a></div><div class="ttdeci">bool loaded()</div><div class="ttdoc">Retrieves whether or not the font is loaded. </div></div>
<div class="ttc" id="classlove_1_1Types_1_1Graphics_1_1Font_html"><div class="ttname"><a href="classlove_1_1Types_1_1Graphics_1_1Font.html">love::Types::Graphics::Font</a></div><div class="ttdoc">Defines the shape of characters that can be drawn onto the screen. </div><div class="ttdef"><b>Definition:</b> Font.h:17</div></div>
<div class="ttc" id="classlove_1_1Types_1_1Graphics_1_1Font_html_a815c4c146ea2fd7c2efc933af8b6ed58"><div class="ttname"><a href="classlove_1_1Types_1_1Graphics_1_1Font.html#a815c4c146ea2fd7c2efc933af8b6ed58">love::Types::Graphics::Font::getWidth</a></div><div class="ttdeci">int getWidth(const std::string &amp;text)</div><div class="ttdoc">Determines the horizontal size a line of text needs. </div></div>
<div class="ttc" id="namespacelove_html"><div class="ttname"><a href="namespacelove.html">love</a></div><div class="ttdoc">This covers all the modules available through ChaiLove. </div><div class="ttdef"><b>Definition:</b> audio.h:9</div></div>
<div class="ttc" id="classlove_1_1Types_1_1Graphics_1_1Image_html"><div class="ttname"><a href="classlove_1_1Types_1_1Graphics_1_1Image.html">love::Types::Graphics::Image</a></div><div class="ttdoc">Drawable image type. </div><div class="ttdef"><b>Definition:</b> Image.h:16</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: Games.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></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_368113a2ad281be450bed52e66f13c81.html">docs</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Games.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: GettingStarted.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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></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_368113a2ad281be450bed52e66f13c81.html">docs</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">GettingStarted.h</div> </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;</div></div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ChaiLove API: Globals.h File Reference</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="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 style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">ChaiLove API
&#160;<span id="projectnumber">0.28.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>