diff options
Diffstat (limited to 'Doc/doxygen/html/_game_8h_source.html')
-rw-r--r-- | Doc/doxygen/html/_game_8h_source.html | 337 |
1 files changed, 337 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_game_8h_source.html b/Doc/doxygen/html/_game_8h_source.html new file mode 100644 index 0000000..44e3dd2 --- /dev/null +++ b/Doc/doxygen/html/_game_8h_source.html @@ -0,0 +1,337 @@ +<!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"/> +<title>Starshatter_Open: D:/SRC/StarshatterSVN/nGenEx/Game.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="navtree.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="resize.js"></script> +<script type="text/javascript" src="navtree.js"></script> +<script type="text/javascript"> + $(document).ready(initResizable); +</script> +<link href="search/search.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="search/search.js"></script> +<script type="text/javascript"> + $(document).ready(function() { searchBox.OnSelectItem(0); }); +</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 style="padding-left: 0.5em;"> + <div id="projectname">Starshatter_Open + </div> + <div id="projectbrief">Open source Starshatter engine</div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.1 --> +<script type="text/javascript"> +var searchBox = new SearchBox("searchBox", "search",false,'Search'); +</script> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="annotated.html"><span>Classes</span></a></li> + <li class="current"><a href="files.html"><span>Files</span></a></li> + <li> + <div id="MSearchBox" class="MSearchBoxInactive"> + <span class="left"> + <img id="MSearchSelect" src="search/mag_sel.png" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + alt=""/> + <input type="text" id="MSearchField" value="Search" accesskey="S" + onfocus="searchBox.OnSearchFieldFocus(true)" + onblur="searchBox.OnSearchFieldFocus(false)" + onkeyup="searchBox.OnSearchFieldChange(event)"/> + </span><span class="right"> + <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> + </span> + </div> + </li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="files.html"><span>File List</span></a></li> + <li><a href="globals.html"><span>File Members</span></a></li> + </ul> + </div> +</div><!-- top --> +<div id="side-nav" class="ui-resizable side-nav-resizable"> + <div id="nav-tree"> + <div id="nav-tree-contents"> + </div> + </div> + <div id="splitbar" style="-moz-user-select:none;" + class="ui-resizable-handle"> + </div> +</div> +<script type="text/javascript"> +$(document).ready(function(){initNavTree('_game_8h.html','');}); +</script> +<div id="doc-content"> +<!-- window showing the filter options --> +<div id="MSearchSelectWindow" + onmouseover="return searchBox.OnSearchSelectShow()" + onmouseout="return searchBox.OnSearchSelectHide()" + onkeydown="return searchBox.OnSearchSelectKey(event)"> +<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a></div> + +<!-- iframe showing the search results (closed by default) --> +<div id="MSearchResultsWindow"> +<iframe src="javascript:void(0)" frameborder="0" + name="MSearchResults" id="MSearchResults"> +</iframe> +</div> + +<div class="header"> + <div class="headertitle"> +<div class="title">Game.h</div> </div> +</div><!--header--> +<div class="contents"> +<a href="_game_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Project nGenEx</span></div> +<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> Destroyer Studios LLC</span></div> +<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> Copyright © 1997-2004. All Rights Reserved.</span></div> +<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"></span></div> +<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> SUBSYSTEM: nGenEx.lib</span></div> +<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> FILE: Game.h</span></div> +<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> AUTHOR: John DiCamillo</span></div> +<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"></span></div> +<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">*/</span></div> +<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div> +<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#ifndef Game_h</span></div> +<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor"></span><span class="preprocessor">#define Game_h</span></div> +<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="_types_8h.html">Types.h</a>"</span></div> +<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include "<a class="code" href="_screen_8h.html">Screen.h</a>"</span></div> +<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include "<a class="code" href="_video_8h.html">Video.h</a>"</span></div> +<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div> +<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> +<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keywordtype">void</span> <a class="code" href="_list_8inl.html#a76779b0ba1af4da2cfb8cf309b39372b">Print</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fmt, ...);</div> +<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div> +<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> LRESULT CALLBACK <a class="code" href="_game_8cpp.html#a9121da3e7064865fe23ec02664e338bd">WndProc</a>(HWND, UINT, WPARAM, LPARAM);</div> +<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> +<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keywordtype">void</span> <a class="code" href="_game_8cpp.html#ad899ce91ed5646957e2403e1353ad0a5">FlushKeys</a>();</div> +<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keywordtype">void</span> <a class="code" href="_game_8cpp.html#ace0f73371088de8cffb6ed84ea7fb5e3">BufferKey</a>(<span class="keywordtype">int</span> vkey);</div> +<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="keywordtype">int</span> <a class="code" href="_game_8cpp.html#abe2f07e6534cc8357aa74e65b616ac72">GetKey</a>();</div> +<div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keywordtype">int</span> <a class="code" href="_event_dispatch_8cpp.html#a111d4c2d0cb38ab7e35f5413005bc5bc">GetKeyPlus</a>(<span class="keywordtype">int</span>& key, <span class="keywordtype">int</span>& shift);</div> +<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> +<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keyword">extern</span> <span class="stringliteral">"C"</span> <span class="keywordtype">bool</span> <a class="code" href="_game_8cpp.html#aa0963f9c47c5123cc63e341d5f0d86b5">ProfileGameLoop</a>(<span class="keywordtype">void</span>);</div> +<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> +<div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div> +<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">class </span><a class="code" href="class_content_bundle.html">ContentBundle</a>;</div> +<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">class </span><a class="code" href="class_locale.html">Locale</a>;</div> +<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keyword">class </span><a class="code" href="class_universe.html">Universe</a>;</div> +<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">class </span><a class="code" href="class_sound.html">Sound</a>;</div> +<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">class </span><a class="code" href="class_sound_card.html">SoundCard</a>;</div> +<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keyword">class </span><a class="code" href="class_video.html">Video</a>;</div> +<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">class </span><a class="code" href="class_video_factory.html">VideoFactory</a>;</div> +<div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keyword">class </span><a class="code" href="class_video_settings.html">VideoSettings</a>;</div> +<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keyword">class </span><a class="code" href="class_avi_file.html">AviFile</a>;</div> +<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">class </span><a class="code" href="class_text.html">Text</a>;</div> +<div class="line"><a name="l00043"></a><span class="lineno"> 43</span> </div> +<div class="line"><a name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00045"></a><span class="lineno"> 45</span> </div> +<div class="line"><a name="l00046"></a><span class="lineno"><a class="code" href="class_game.html"> 46</a></span> <span class="keyword">class </span><a class="code" href="class_game.html">Game</a></div> +<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> {</div> +<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> <span class="keyword">public</span>:</div> +<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="class_game.html#a3831b64614c991a390add3003a91f39b"> 49</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_game.html#a3831b64614c991a390add3003a91f39b">TYPENAME</a>() { <span class="keywordflow">return</span> <span class="stringliteral">"Game"</span>; }</div> +<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccca4d0c98037656241ed7b36b90658cc301"> 50</a></span>  <span class="keyword">enum</span> <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccc">STATUS</a> { <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccca21ab3f0bfa4c0897e17a4bfbcfca6743">OK</a>, <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825ecccad398922deb70db08df1fead2a2446c4f">RUN</a>, <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccca66e2ac0cdacbf1a02a26825feff2ff57">EXIT</a>, <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccca73339cd9138b2d23f483ee289292805b">PANIC</a>, <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccca8178d326ae4ed5499976b4666f2d8a72">INIT_FAILED</a>, <a class="code" href="class_game.html#a066792e131ddbd89acd5c7572825eccca4d0c98037656241ed7b36b90658cc301">TOO_MANY</a> };</div> +<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> </div> +<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="class_game.html#ad59df6562a58a614fda24622d3715b65">Game</a>();</div> +<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keyword">virtual</span> <a class="code" href="class_game.html#ae3d112ca6e0e55150d2fdbc704474530">~Game</a>();</div> +<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> </div> +<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="comment">//</span></div> +<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="comment">// MAIN GAME FUNCTIONALITY:</span></div> +<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">//</span></div> +<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div> +<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#abbbf43b05d9a9ff1e18cf272c1388402">Init</a>(HINSTANCE hi, HINSTANCE hpi, LPSTR cmdline, <span class="keywordtype">int</span> nCmdShow);</div> +<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_game.html#a1880d9816a978b82bb91e4679743173d">Run</a>();</div> +<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#ad06e374518f2c8fa38279be6712a6ea4">Exit</a>();</div> +<div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="class_game.html#a7f898882ba0d92a6c3def45bbe76caea"> 62</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a7f898882ba0d92a6c3def45bbe76caea">OnPaint</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; } </div> +<div class="line"><a name="l00063"></a><span class="lineno"><a class="code" href="class_game.html#a4e3666d6c8de6608c05120db5e56996c"> 63</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a4e3666d6c8de6608c05120db5e56996c">OnHelp</a>() { <span class="keywordflow">return</span> <span class="keyword">false</span>; }</div> +<div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div> +<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a2d162e07c6984135bafc7390835e70fd">Activate</a>(<span class="keywordtype">bool</span> f);</div> +<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a36a50b783aaadcfdaf172b2422708b25">Pause</a>(<span class="keywordtype">bool</span> f);</div> +<div class="line"><a name="l00067"></a><span class="lineno"><a class="code" href="class_game.html#ae1bc267fe3e61fded553f9b395631b9e"> 67</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#ae1bc267fe3e61fded553f9b395631b9e">Status</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_game.html#a0a06f04f655a73ad7705f84fa17122a5">status</a>; }</div> +<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> </div> +<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#ae8e4da96107f407f463ab3a99b980a5e">ScreenCapture</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* name = 0);</div> +<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a35c4a58dc99225a8fb280704ddfa2bca">AVICapture</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* fname = 0);</div> +<div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div> +<div class="line"><a name="l00072"></a><span class="lineno"><a class="code" href="class_game.html#a2ffc56fa60db8f569b93c096bea918d2"> 72</a></span>  <span class="keyword">const</span> <a class="code" href="struct_render_stats.html">RenderStats</a>& <a class="code" href="class_game.html#a2ffc56fa60db8f569b93c096bea918d2">GetPolyStats</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a19344cfdf0e75b0a31c0c8082bd792da">stats</a>; }</div> +<div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> +<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">//</span></div> +<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// GENERAL GAME CLASS UTILITY METHODS:</span></div> +<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="comment">//</span></div> +<div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div> +<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a868b0cf4e70d9e7b6c78867ac9c4388f">Panic</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* msg=0);</div> +<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a0564d5a4ae5ca2dbb93a0ba12bad7870">DisplayModeSupported</a>(<span class="keywordtype">int</span> w, <span class="keywordtype">int</span> h, <span class="keywordtype">int</span> bpp);</div> +<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_game.html#a974eb01822ff12e4dfd1c94e6f30e1ac">MaxTexSize</a>();</div> +<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_game.html#a23aa266db8ba04668b3a12eb9c65b25e">MaxTexAspect</a>();</div> +<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_game.html#a98a4e13ca2210ee80af8d55512cacafc">GammaLevel</a>();</div> +<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a0d0b9e94a1badf727361705a88d41850">SetGammaLevel</a>(<span class="keywordtype">int</span> g);</div> +<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a83b149fd920e16950e3716fddc1654f2">SetMaxTexSize</a>(<span class="keywordtype">int</span> n);</div> +<div class="line"><a name="l00085"></a><span class="lineno"> 85</span> </div> +<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#a321790057c657d52f3585f883cdbc507">RealTime</a>();</div> +<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#ac76ba05e5da1ac16b84367e513e59466">GameTime</a>();</div> +<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#ae43d0f946685592ccfa06c85d2efdd51">TimeCompression</a>();</div> +<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a19353ea72dacfdb5d102692210428804">SetTimeCompression</a>(DWORD comp);</div> +<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#ae6e2f4be1af7243aa7eb8ad615eb3e06">Frame</a>();</div> +<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a85076959b52a20235edebd6567cd0f25">ResetGameTime</a>();</div> +<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#af5224b8e484ba13e394ff35c5573acc7">SkipGameTime</a>(<span class="keywordtype">double</span> <a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645">seconds</a>);</div> +<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div> +<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#ad57804ee1ce563f564fe410d9098bb1d">FrameRate</a>();</div> +<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#ab5b2d0ac9efee1e7576ecd4cc8d105f3">FrameTime</a>();</div> +<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#a8e4cb951ff7fafc87bb28194132b9d35">GUITime</a>();</div> +<div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="class_game.html#aad48b59499c9dfb4141de7997c583ed9"> 97</a></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#aad48b59499c9dfb4141de7997c583ed9">SetMaxFrameLength</a>(<span class="keywordtype">double</span> <a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645">seconds</a>) { <a class="code" href="class_game.html#abd83cdcd46b3c579f7468e7f1557a96e">max_frame_length</a> = <a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645">seconds</a>; }</div> +<div class="line"><a name="l00098"></a><span class="lineno"><a class="code" href="class_game.html#a305744238835bd76892f7d9c0716da15"> 98</a></span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a305744238835bd76892f7d9c0716da15">SetMinFrameLength</a>(<span class="keywordtype">double</span> <a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645">seconds</a>) { <a class="code" href="class_game.html#a0459db8747586a56def959a1166f9cb7">min_frame_length</a> = <a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645">seconds</a>; }</div> +<div class="line"><a name="l00099"></a><span class="lineno"><a class="code" href="class_game.html#a901091fe2423169232d9f9b947529241"> 99</a></span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#a901091fe2423169232d9f9b947529241">GetMaxFrameLength</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#abd83cdcd46b3c579f7468e7f1557a96e">max_frame_length</a>; }</div> +<div class="line"><a name="l00100"></a><span class="lineno"><a class="code" href="class_game.html#aafcca471d1069757ad8891e3c81e9a80"> 100</a></span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#aafcca471d1069757ad8891e3c81e9a80">GetMinFrameLength</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a0459db8747586a56def959a1166f9cb7">min_frame_length</a>; }</div> +<div class="line"><a name="l00101"></a><span class="lineno"> 101</span> </div> +<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keyword">static</span> <a class="code" href="class_game.html">Game</a>* <a class="code" href="class_game.html#aa989d3cee96d5ae093663bf62dea57e2">GetInstance</a>();</div> +<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keyword">static</span> <a class="code" href="class_video.html">Video</a>* <a class="code" href="class_game.html#ae0ccfa05f3ed42b794051c94edfdf48b">GetVideo</a>();</div> +<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="keyword">static</span> <a class="code" href="class_color.html">Color</a> <a class="code" href="class_game.html#a64b9495df99caded5c1c89ce51dedf88">GetScreenColor</a>();</div> +<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a1d16a4acd9a28b865ef805d277e7ce05">SetScreenColor</a>(<a class="code" href="class_color.html">Color</a> c);</div> +<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_game.html#a3c9d5a21d35b4306c13bd8f26b2a9a12">GetScreenWidth</a>();</div> +<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">static</span> <span class="keywordtype">int</span> <a class="code" href="class_game.html#a2de965dd02107be97af00b9b60b4a72a">GetScreenHeight</a>();</div> +<div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div> +<div class="line"><a name="l00109"></a><span class="lineno"><a class="code" href="class_game.html#afb80cb3def1cdadb495d00d00e0f5a50"> 109</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#afb80cb3def1cdadb495d00d00e0f5a50">Active</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a9e39ee4684dc3a151abd8aa641490aeb">active</a>; }</div> +<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="class_game.html#a7565bb8df0532d4f1ddc82229d13a016"> 110</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a7565bb8df0532d4f1ddc82229d13a016">Paused</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a255049de8fb46a9f00946631e3121c03">paused</a>; }</div> +<div class="line"><a name="l00111"></a><span class="lineno"><a class="code" href="class_game.html#afa97a3067dbff68d5fef690a7331180b"> 111</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#afa97a3067dbff68d5fef690a7331180b">Server</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a9ffc34481b24de71601890a7734c02c9">server</a>; }</div> +<div class="line"><a name="l00112"></a><span class="lineno"><a class="code" href="class_game.html#a2242214e223970ebfff685c55ce5fdd3"> 112</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a2242214e223970ebfff685c55ce5fdd3">ShowMouse</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a03cdec1ff3849f81756b9041cef8b49a">show_mouse</a>; }</div> +<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a58c5b3d6b2fd911517dc15d12cbbf0e1">IsWindowed</a>();</div> +<div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div> +<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keyword">static</span> HINSTANCE <a class="code" href="class_game.html#ad2f8631ce5c8b9c2cc524c11fc6f27fe">GetHINST</a>();</div> +<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  <span class="keyword">static</span> HWND <a class="code" href="class_game.html#acb1d2a79326fa52868ce910b09fdbeba">GetHWND</a>();</div> +<div class="line"><a name="l00117"></a><span class="lineno"> 117</span> </div> +<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a67befaf65090ea45a670e3f30e78709d">UseLocale</a>(<a class="code" href="class_locale.html">Locale</a>* locale);</div> +<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keyword">static</span> <a class="code" href="class_text.html">Text</a> <a class="code" href="class_game.html#a80f0de6fe1883b6b0e4c67b3e16afb2f">GetText</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* key);</div> +<div class="line"><a name="l00120"></a><span class="lineno"> 120</span> </div> +<div class="line"><a name="l00121"></a><span class="lineno"><a class="code" href="class_game.html#a8f917a1f99c7dc4bcaee8b8ee8e342ec"> 121</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="class_game.html#a8f917a1f99c7dc4bcaee8b8ee8e342ec">GetPanicMessage</a>() { <span class="keywordflow">return</span> <a class="code" href="class_game.html#a21f1b35e2bd6105e7ccb8a7115e7a01f">panicbuf</a>; }</div> +<div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> +<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a71c26976040f1115930416e5e750935f">GameLoop</a>();</div> +<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a1e81b9e048b09149465463afa9bc23af">UpdateWorld</a>();</div> +<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#aff7ddf1e88f785674ea63bde20ed62a5">GameState</a>();</div> +<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a4d6afdbf783effb0fbc726c3723fcea0">UpdateScreen</a>();</div> +<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a0358e3415e3cb9ae7f598bcefb3e3c63">CollectStats</a>();</div> +<div class="line"><a name="l00128"></a><span class="lineno"> 128</span> </div> +<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#aa7175d886f342a564b479d49984ee8ec">InitApplication</a>(HINSTANCE);</div> +<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a49129400f3feb0b5ba125c49ee176db2">InitInstance</a>(HINSTANCE, <span class="keywordtype">int</span>);</div> +<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#aff17a8bc48222723abb2f0f4998f5692">InitContent</a>();</div> +<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a37f89eca4c728c3d05d0a1b9f0850274">InitGame</a>();</div> +<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a209027ed88d0f52176464ee4ef2a07c7">InitVideo</a>();</div> +<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#afc812384457ce286aa21f6d5e2bddb7c">ResizeVideo</a>();</div> +<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a007c876a1bdd022f4c5d6589fa93d0f3">ResetVideo</a>();</div> +<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a86b2d93248042cd430b7bde7a213603a">ToggleFullscreen</a>();</div> +<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#ab900dff2afbac0dd89267baafd85924b">AdjustWindowForChange</a>();</div> +<div class="line"><a name="l00138"></a><span class="lineno"> 138</span> </div> +<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a18f0e2c6f9330e16e86bd59bb0d66fbb">SetupPalette</a>();</div> +<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#add785f9def5c7063b7c455e408da02e9">LoadPalette</a>(PALETTEENTRY* pal, BYTE* inv);</div> +<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_game.html#a1d9ed7140c6dee1aad5a42dc5654d5ab">ShowStats</a>();</div> +<div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div> +<div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="keyword">protected</span>:</div> +<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keyword">friend</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#aa0963f9c47c5123cc63e341d5f0d86b5">ProfileGameLoop</a>(<span class="keywordtype">void</span>);</div> +<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keyword">friend</span> LRESULT CALLBACK <a class="code" href="class_game.html#a9121da3e7064865fe23ec02664e338bd">WndProc</a>(HWND <a class="code" href="class_game.html#a7d66d82ccb1e13d318aeacf644969b00">hwnd</a>, UINT message, WPARAM uParam, LPARAM lParam);</div> +<div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> +<div class="line"><a name="l00147"></a><span class="lineno"><a class="code" href="class_game.html#a519c9150af7d505c588db3cf316b844e"> 147</a></span>  <a class="code" href="class_content_bundle.html">ContentBundle</a>* <a class="code" href="class_game.html#a519c9150af7d505c588db3cf316b844e">content</a>;</div> +<div class="line"><a name="l00148"></a><span class="lineno"><a class="code" href="class_game.html#ad06e9af9d15a506f69e19d4fcfbfd922"> 148</a></span>  <a class="code" href="class_universe.html">Universe</a>* <a class="code" href="class_game.html#ad06e9af9d15a506f69e19d4fcfbfd922">world</a>;</div> +<div class="line"><a name="l00149"></a><span class="lineno"><a class="code" href="class_game.html#ab56a869b2be553b4a9ec643261138d15"> 149</a></span>  <a class="code" href="class_video_factory.html">VideoFactory</a>* <a class="code" href="class_game.html#ab56a869b2be553b4a9ec643261138d15">video_factory</a>;</div> +<div class="line"><a name="l00150"></a><span class="lineno"><a class="code" href="class_game.html#a315f1595f040cc7a976bf2fcfa5eb858"> 150</a></span>  <a class="code" href="class_video.html">Video</a>* <a class="code" href="class_game.html#a315f1595f040cc7a976bf2fcfa5eb858">video</a>;</div> +<div class="line"><a name="l00151"></a><span class="lineno"><a class="code" href="class_game.html#a4a886c1e931ac33821cb1ab30ce7ff92"> 151</a></span>  <a class="code" href="class_video_settings.html">VideoSettings</a>* <a class="code" href="class_game.html#a4a886c1e931ac33821cb1ab30ce7ff92">video_settings</a>;</div> +<div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="class_game.html#a894b730dfb5beda2fd47f5d9a4a9898d"> 152</a></span>  <a class="code" href="class_sound_card.html">SoundCard</a>* <a class="code" href="class_game.html#a894b730dfb5beda2fd47f5d9a4a9898d">soundcard</a>;</div> +<div class="line"><a name="l00153"></a><span class="lineno"><a class="code" href="class_game.html#ad5ac3178b3368db0822fc59723bcd70e"> 153</a></span>  <a class="code" href="class_screen.html">Screen</a>* <a class="code" href="class_game.html#ad5ac3178b3368db0822fc59723bcd70e">screen</a>;</div> +<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="class_game.html#a889c2774552453107d503fec7315e6a2"> 154</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#a889c2774552453107d503fec7315e6a2">gamma</a>;</div> +<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="class_game.html#a2bef8c6023973f07d484ad142a62851f"> 155</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#a2bef8c6023973f07d484ad142a62851f">max_tex_size</a>;</div> +<div class="line"><a name="l00156"></a><span class="lineno"> 156</span> </div> +<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="class_game.html#a19344cfdf0e75b0a31c0c8082bd792da"> 157</a></span>  <a class="code" href="struct_render_stats.html">RenderStats</a> <a class="code" href="class_game.html#a19344cfdf0e75b0a31c0c8082bd792da">stats</a>;</div> +<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="class_game.html#adb321f5b3273e088d5390a9c4decf59e"> 158</a></span>  DWORD <a class="code" href="class_game.html#adb321f5b3273e088d5390a9c4decf59e">totaltime</a>;</div> +<div class="line"><a name="l00159"></a><span class="lineno"> 159</span> </div> +<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="class_game.html#ab07138dda32a3585ea7566152bd6d6a2"> 160</a></span>  PALETTEENTRY <a class="code" href="class_game.html#ab07138dda32a3585ea7566152bd6d6a2">standard_palette</a>[256];</div> +<div class="line"><a name="l00161"></a><span class="lineno"><a class="code" href="class_game.html#a7e58898ca6329a9d3857ad210150ff81"> 161</a></span>  BYTE <a class="code" href="class_game.html#a7e58898ca6329a9d3857ad210150ff81">inverse_palette</a>[32768];</div> +<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> </div> +<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="class_game.html#ae289123bfb44b1024518d0fafafc2898"> 163</a></span>  HINSTANCE <a class="code" href="class_game.html#ae289123bfb44b1024518d0fafafc2898">hInst</a>;</div> +<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="class_game.html#a7d66d82ccb1e13d318aeacf644969b00"> 164</a></span>  HWND <a class="code" href="class_game.html#a7d66d82ccb1e13d318aeacf644969b00">hwnd</a>;</div> +<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="class_game.html#ab8bfd8aeaa389dee96a67591512269d3"> 165</a></span>  HMENU <a class="code" href="class_game.html#ab8bfd8aeaa389dee96a67591512269d3">hmenu</a>;</div> +<div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="class_game.html#ad54208759750ecba316209f069fc74a3"> 166</a></span>  DWORD <a class="code" href="class_game.html#ad54208759750ecba316209f069fc74a3">winstyle</a>;</div> +<div class="line"><a name="l00167"></a><span class="lineno"> 167</span> </div> +<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="class_game.html#af268174f13bd328cc9f2d89c72fb1dc0"> 168</a></span>  <span class="keywordtype">char</span>* <a class="code" href="class_game.html#af268174f13bd328cc9f2d89c72fb1dc0">app_name</a>;</div> +<div class="line"><a name="l00169"></a><span class="lineno"><a class="code" href="class_game.html#aa453bfa03c202d6ec8250bb42ab18542"> 169</a></span>  <span class="keywordtype">char</span>* <a class="code" href="class_game.html#aa453bfa03c202d6ec8250bb42ab18542">title_text</a>;</div> +<div class="line"><a name="l00170"></a><span class="lineno"><a class="code" href="class_game.html#aed439919d87e1dd2e9d7ea87703c6bda"> 170</a></span>  <span class="keywordtype">char</span>* <a class="code" href="class_game.html#aed439919d87e1dd2e9d7ea87703c6bda">palette_name</a>;</div> +<div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> +<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <span class="comment">// Internal variables for the state of the app</span></div> +<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="class_game.html#a1655b535b46ab5d4ab81ce534bf1b8a0"> 173</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a1655b535b46ab5d4ab81ce534bf1b8a0">is_windowed</a>;</div> +<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="class_game.html#a4800b401900920ea8cbae47d72866acb"> 174</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a4800b401900920ea8cbae47d72866acb">is_active</a>;</div> +<div class="line"><a name="l00175"></a><span class="lineno"><a class="code" href="class_game.html#a37beeb0089d27c7dba274d34ad18b17f"> 175</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a37beeb0089d27c7dba274d34ad18b17f">is_device_lost</a>;</div> +<div class="line"><a name="l00176"></a><span class="lineno"><a class="code" href="class_game.html#a6983a26132b3168e5b9a9e81f0c6a9f2"> 176</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a6983a26132b3168e5b9a9e81f0c6a9f2">is_minimized</a>;</div> +<div class="line"><a name="l00177"></a><span class="lineno"><a class="code" href="class_game.html#aaba18161027965150a43fc1580b81806"> 177</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#aaba18161027965150a43fc1580b81806">is_maximized</a>;</div> +<div class="line"><a name="l00178"></a><span class="lineno"><a class="code" href="class_game.html#a6d7b6d6434ef221e97b0e43203e95c27"> 178</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a6d7b6d6434ef221e97b0e43203e95c27">ignore_size_change</a>;</div> +<div class="line"><a name="l00179"></a><span class="lineno"><a class="code" href="class_game.html#a41bfc36d4cc4bc1b6f2d2e1c70442d24"> 179</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a41bfc36d4cc4bc1b6f2d2e1c70442d24">is_device_initialized</a>;</div> +<div class="line"><a name="l00180"></a><span class="lineno"><a class="code" href="class_game.html#a43aba31ca69a6fb46ba6db7534ec7c8f"> 180</a></span>  <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a43aba31ca69a6fb46ba6db7534ec7c8f">is_device_restored</a>;</div> +<div class="line"><a name="l00181"></a><span class="lineno"><a class="code" href="class_game.html#a43d360059ca3f8b63d06f6a5145a3cd5"> 181</a></span>  DWORD <a class="code" href="class_game.html#a43d360059ca3f8b63d06f6a5145a3cd5">window_style</a>; <span class="comment">// Saved window style for mode switches</span></div> +<div class="line"><a name="l00182"></a><span class="lineno"><a class="code" href="class_game.html#a8bc54700740577e67b16580ac659d396"> 182</a></span>  RECT <a class="code" href="class_game.html#a8bc54700740577e67b16580ac659d396">bounds_rect</a>; <span class="comment">// Saved window bounds for mode switches</span></div> +<div class="line"><a name="l00183"></a><span class="lineno"><a class="code" href="class_game.html#a14f791919e89273788c3aad9b384ffca"> 183</a></span>  RECT <a class="code" href="class_game.html#a14f791919e89273788c3aad9b384ffca">client_rect</a>; <span class="comment">// Saved client area size for mode switches</span></div> +<div class="line"><a name="l00184"></a><span class="lineno"> 184</span> </div> +<div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div> +<div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="class_game.html#a5e6b03be8efb979f24ca966d994d9dbb"> 186</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_game.html#a5e6b03be8efb979f24ca966d994d9dbb">gui_seconds</a>;</div> +<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645"> 187</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_game.html#a916566f25e3b8a6a77d7004d086d6645">seconds</a>;</div> +<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="class_game.html#acb58074c00d1ecfc7ba77219a8e07d47"> 188</a></span>  <span class="keywordtype">double</span> <a class="code" href="class_game.html#acb58074c00d1ecfc7ba77219a8e07d47">frame_rate</a>;</div> +<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="class_game.html#a1cd0028e4f72da2d1f5e33b5ec4a64db"> 189</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#a1cd0028e4f72da2d1f5e33b5ec4a64db">frame_count</a>;</div> +<div class="line"><a name="l00190"></a><span class="lineno"><a class="code" href="class_game.html#a9c4e238f3b526a67b2ca9b5814f9cfa1"> 190</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#a9c4e238f3b526a67b2ca9b5814f9cfa1">frame_count0</a>;</div> +<div class="line"><a name="l00191"></a><span class="lineno"><a class="code" href="class_game.html#a06a2550fd170f8f64bd03401f4437124"> 191</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#a06a2550fd170f8f64bd03401f4437124">frame_time</a>;</div> +<div class="line"><a name="l00192"></a><span class="lineno"><a class="code" href="class_game.html#ac7fc897c7a3460b5ef2d6e1c3ebd3570"> 192</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#ac7fc897c7a3460b5ef2d6e1c3ebd3570">frame_time0</a>;</div> +<div class="line"><a name="l00193"></a><span class="lineno"> 193</span> </div> +<div class="line"><a name="l00194"></a><span class="lineno"><a class="code" href="class_game.html#a0a06f04f655a73ad7705f84fa17122a5"> 194</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#a0a06f04f655a73ad7705f84fa17122a5">status</a>;</div> +<div class="line"><a name="l00195"></a><span class="lineno"><a class="code" href="class_game.html#af983a95e2796b9d5ac674d0b319a2934"> 195</a></span>  <span class="keywordtype">int</span> <a class="code" href="class_game.html#af983a95e2796b9d5ac674d0b319a2934">exit_code</a>;</div> +<div class="line"><a name="l00196"></a><span class="lineno"><a class="code" href="class_game.html#a2447e87059481a7e00010b6a071e038f"> 196</a></span>  <a class="code" href="class_color.html">Color</a> <a class="code" href="class_game.html#a2447e87059481a7e00010b6a071e038f">screen_color</a>;</div> +<div class="line"><a name="l00197"></a><span class="lineno"> 197</span> </div> +<div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="class_game.html#af78048a1f16f87835824277ca574e58e"> 198</a></span>  <a class="code" href="class_avi_file.html">AviFile</a>* <a class="code" href="class_game.html#af78048a1f16f87835824277ca574e58e">avi_file</a>;</div> +<div class="line"><a name="l00199"></a><span class="lineno"> 199</span> </div> +<div class="line"><a name="l00200"></a><span class="lineno"><a class="code" href="class_game.html#a9e39ee4684dc3a151abd8aa641490aeb"> 200</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a9e39ee4684dc3a151abd8aa641490aeb">active</a>;</div> +<div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="class_game.html#a255049de8fb46a9f00946631e3121c03"> 201</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a255049de8fb46a9f00946631e3121c03">paused</a>;</div> +<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="class_game.html#a9ffc34481b24de71601890a7734c02c9"> 202</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a9ffc34481b24de71601890a7734c02c9">server</a>;</div> +<div class="line"><a name="l00203"></a><span class="lineno"><a class="code" href="class_game.html#a03cdec1ff3849f81756b9041cef8b49a"> 203</a></span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> <a class="code" href="class_game.html#a03cdec1ff3849f81756b9041cef8b49a">show_mouse</a>;</div> +<div class="line"><a name="l00204"></a><span class="lineno"><a class="code" href="class_game.html#a4ddfe0819ee53779bb5b43ab7fa332be"> 204</a></span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#a4ddfe0819ee53779bb5b43ab7fa332be">base_game_time</a>;</div> +<div class="line"><a name="l00205"></a><span class="lineno"><a class="code" href="class_game.html#ab9806c0752b1b29bae9c1d4b859fbb4a"> 205</a></span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#ab9806c0752b1b29bae9c1d4b859fbb4a">real_time</a>;</div> +<div class="line"><a name="l00206"></a><span class="lineno"><a class="code" href="class_game.html#a5f07b0585aa3dcfe6004ca1216f18d02"> 206</a></span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#a5f07b0585aa3dcfe6004ca1216f18d02">game_time</a>;</div> +<div class="line"><a name="l00207"></a><span class="lineno"><a class="code" href="class_game.html#a6be265cf356c81e629da99f2834620e3"> 207</a></span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#a6be265cf356c81e629da99f2834620e3">time_comp</a>;</div> +<div class="line"><a name="l00208"></a><span class="lineno"><a class="code" href="class_game.html#aa71366c11a31162268bb20a09b606da7"> 208</a></span>  <span class="keyword">static</span> DWORD <a class="code" href="class_game.html#aa71366c11a31162268bb20a09b606da7">frame_number</a>;</div> +<div class="line"><a name="l00209"></a><span class="lineno"> 209</span> </div> +<div class="line"><a name="l00210"></a><span class="lineno"><a class="code" href="class_game.html#abd83cdcd46b3c579f7468e7f1557a96e"> 210</a></span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#abd83cdcd46b3c579f7468e7f1557a96e">max_frame_length</a>;</div> +<div class="line"><a name="l00211"></a><span class="lineno"><a class="code" href="class_game.html#a0459db8747586a56def959a1166f9cb7"> 211</a></span>  <span class="keyword">static</span> <span class="keywordtype">double</span> <a class="code" href="class_game.html#a0459db8747586a56def959a1166f9cb7">min_frame_length</a>;</div> +<div class="line"><a name="l00212"></a><span class="lineno"> 212</span> </div> +<div class="line"><a name="l00213"></a><span class="lineno"><a class="code" href="class_game.html#a21f1b35e2bd6105e7ccb8a7115e7a01f"> 213</a></span>  <span class="keyword">static</span> <span class="keywordtype">char</span> <a class="code" href="class_game.html#a21f1b35e2bd6105e7ccb8a7115e7a01f">panicbuf</a>[256];</div> +<div class="line"><a name="l00214"></a><span class="lineno"> 214</span> };</div> +<div class="line"><a name="l00215"></a><span class="lineno"> 215</span> </div> +<div class="line"><a name="l00216"></a><span class="lineno"> 216</span> <span class="comment">// +--------------------------------------------------------------------+</span></div> +<div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div> +<div class="line"><a name="l00218"></a><span class="lineno"> 218</span> <span class="preprocessor">#endif Game_h</span></div> +<div class="line"><a name="l00219"></a><span class="lineno"> 219</span> <span class="preprocessor"></span></div> +<div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div> +</div><!-- fragment --></div><!-- contents --> +</div><!-- doc-content --> +<!-- start footer part --> +<div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> + <ul> + <li class="navelem"><a class="el" href="dir_d6625d0f3efd9eb70ff961583505095b.html">nGenEx</a></li><li class="navelem"><a class="el" href="_game_8h.html">Game.h</a></li> + <li class="footer">Generated on Tue Jun 5 2012 20:46:23 for Starshatter_Open by + <a href="http://www.doxygen.org/index.html"> + <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1 </li> + </ul> +</div> +</body> +</html> |