summaryrefslogtreecommitdiffhomepage
path: root/Doc/doxygen/html/_terrain_patch_8h_source.html
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/doxygen/html/_terrain_patch_8h_source.html')
-rw-r--r--Doc/doxygen/html/_terrain_patch_8h_source.html211
1 files changed, 211 insertions, 0 deletions
diff --git a/Doc/doxygen/html/_terrain_patch_8h_source.html b/Doc/doxygen/html/_terrain_patch_8h_source.html
new file mode 100644
index 0000000..55eb4dc
--- /dev/null
+++ b/Doc/doxygen/html/_terrain_patch_8h_source.html
@@ -0,0 +1,211 @@
+<!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/Stars45/TerrainPatch.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&#160;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&#160;List</span></a></li>
+ <li><a href="globals.html"><span>File&#160;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('_terrain_patch_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">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</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">TerrainPatch.h</div> </div>
+</div><!--header-->
+<div class="contents">
+<a href="_terrain_patch_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>&#160;<span class="comment">/* Project Starshatter 4.5</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment"> Destroyer Studios LLC</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> Copyright © 1997-2005. All Rights Reserved.</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"> SUBSYSTEM: Stars.exe</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> FILE: TerrainPatch.h</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> AUTHOR: John DiCamillo</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span></div>
+<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> OVERVIEW</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> ========</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> A Single Multi-LOD Section of a Terrain Object</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment">*/</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;</div>
+<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="preprocessor">#ifndef TerrainPatch_h</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define TerrainPatch_h</span></div>
+<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_types_8h.html">Types.h</a>&quot;</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_solid_8h.html">Solid.h</a>&quot;</span></div>
+<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_geometry_8h.html">Geometry.h</a>&quot;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_polygon_8h.html">Polygon.h</a>&quot;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;</div>
+<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">class </span><a class="code" href="class_projector.html">Projector</a>;</div>
+<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">class </span><a class="code" href="class_terrain.html">Terrain</a>;</div>
+<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="keyword">class </span><a class="code" href="class_water.html">Water</a>;</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;<span class="comment">// +--------------------------------------------------------------------+</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;</div>
+<div class="line"><a name="l00031"></a><span class="lineno"><a class="code" href="class_terrain_patch.html"> 31</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_terrain_patch.html">TerrainPatch</a> : <span class="keyword">public</span> <a class="code" href="class_solid.html">Solid</a></div>
+<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;{</div>
+<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <a class="code" href="class_terrain_patch.html#a7f9cf52398a14f07a896d89b3c4c6e09">TerrainPatch</a>(<a class="code" href="class_terrain.html">Terrain</a>* <a class="code" href="class_terrain_patch.html#a1e98334d55b3fa7c8986df6097891ea9">terrain</a>,</div>
+<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160; <span class="keyword">const</span> <a class="code" href="class_bitmap.html">Bitmap</a>* patch, <span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; <a class="code" href="class_terrain_patch.html#af7977bb9b8a9b6137284db8f2eab3c96">rect</a>,</div>
+<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160; <span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; p2);</div>
+<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; <a class="code" href="class_terrain_patch.html#a7f9cf52398a14f07a896d89b3c4c6e09">TerrainPatch</a>(<a class="code" href="class_terrain.html">Terrain</a>* terrain, <span class="keyword">const</span> <a class="code" href="struct_rect.html">Rect</a>&amp; rect,</div>
+<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; <span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; p1, <span class="keyword">const</span> <a class="code" href="struct_point.html">Point</a>&amp; p2,</div>
+<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160; <span class="keywordtype">double</span> sea_level);</div>
+<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <span class="keyword">virtual</span> <a class="code" href="class_terrain_patch.html#aa503d5f7eda93eb152b2148cbb967537">~TerrainPatch</a>();</div>
+<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;</div>
+<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_terrain_patch.html#a54aef4500594c889b8c686e022e61eff">SelectDetail</a>(<a class="code" href="class_projector.html">Projector</a>* projector);</div>
+<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_terrain_patch.html#a9209d92f3244548b714d3b67cbc3d90a">Render</a>(<a class="code" href="class_video.html">Video</a>* video, DWORD flags);</div>
+<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;</div>
+<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#a640829e66fc7719967304ea50eb59898">CollidesWith</a>(<a class="code" href="class_graphic.html">Graphic</a>&amp; o);</div>
+<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;</div>
+<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <span class="comment">// accessors:</span></div>
+<div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a2bf8d897317ab6f1b02059164a2fc294"> 48</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a2bf8d897317ab6f1b02059164a2fc294">Scale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_terrain_patch.html#aa31906778e8dec08157370c86cbac279">scale</a>; }</div>
+<div class="line"><a name="l00049"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a6acb502be30d04887cbecd3d8143ed2e"> 49</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a6acb502be30d04887cbecd3d8143ed2e">MountainScale</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_terrain_patch.html#a11042f0fa0c057b6cd9a8192c05c1727">mtnscale</a>; }</div>
+<div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a21f09c1bb15fad447403f7085c1ea260"> 50</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a21f09c1bb15fad447403f7085c1ea260">SeaLevel</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_terrain_patch.html#a8c4c331e4f49e94ed82f87a9be3a5279">base</a>; }</div>
+<div class="line"><a name="l00051"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a92af9f3a73843416f48ac906b82ff93a"> 51</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a92af9f3a73843416f48ac906b82ff93a">MinHeight</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_terrain_patch.html#a538b56d9591f963f47b038a5e56ee16b">min_height</a>; }</div>
+<div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#afea25477d819f097db4dd04426db79a7"> 52</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#afea25477d819f097db4dd04426db79a7">MaxHeight</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_terrain_patch.html#a392520e7b02ccc4d949defc471aa1247">max_height</a>; }</div>
+<div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a05aaf2b3e0dd5c0dee95de2e0b39e0be"> 53</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="class_terrain_patch.html#a05aaf2b3e0dd5c0dee95de2e0b39e0be">IsWater</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="class_terrain_patch.html#aaef7896faec575710b901b6aa2a991b2">water</a> != 0; }</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="keywordtype">void</span> <a class="code" href="class_terrain_patch.html#a3840075d8762f715f95ff69afe737ae7">UpdateSurfaceWaves</a>(<a class="code" href="struct_vec3.html">Vec3</a>&amp; eyePos);</div>
+<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;</div>
+<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_terrain_patch.html#a3c218c2234a06ff6848cd501a103074e">SetScales</a>(<span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#aa31906778e8dec08157370c86cbac279">scale</a>, <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a11042f0fa0c057b6cd9a8192c05c1727">mtnscale</a>, <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a8c4c331e4f49e94ed82f87a9be3a5279">base</a>);</div>
+<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_terrain_patch.html#a756f6122c9aa13b6b45d0bb2457dd868">SetDetailLevel</a>(<span class="keywordtype">int</span> nd);</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="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#aecdb2ade4ecea242b1a605d451aeb3cc">CheckRayIntersection</a>(<a class="code" href="struct_point.html">Point</a> pt, <a class="code" href="struct_point.html">Point</a> vpn, <span class="keywordtype">double</span> len, <a class="code" href="struct_point.html">Point</a>&amp; ipt,</div>
+<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">bool</span> treat_translucent_polys_as_solid=<span class="keyword">true</span>);</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; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#ab157e48084f36bccc5092f1f51101e48">Height</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y) <span class="keyword">const</span>;</div>
+<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>&#160; DWORD <a class="code" href="class_terrain_patch.html#ad5794e8cb2f19eeaffda0a28476d1629">BlendValue</a>(<span class="keywordtype">double</span> y);</div>
+<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#a2f0234e9239845c98f079386e8e43275">CalcLayer</a>(<a class="code" href="struct_poly.html">Poly</a>* p);</div>
+<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <span class="keywordtype">void</span> <a class="code" href="class_terrain_patch.html#a54dea9655327a11d3c29b918aa8b8ef7">Illuminate</a>(<a class="code" href="class_color.html">Color</a> ambient, <a class="code" href="class_list.html">List&lt;Light&gt;</a>&amp; lights);</div>
+<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;</div>
+<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="class_terrain_patch.html#aaf3c1b0ef327e924c300aa44de59e397">BuildDetailLevel</a>(<span class="keywordtype">int</span> level);</div>
+<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160;</div>
+<div class="line"><a name="l00071"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a09c70ef1805bbe5cc84a5c270e4f7f3aa295231f7ca35a80450a1c71a51841e9e"> 71</a></span>&#160; <span class="keyword">enum</span> { <a class="code" href="class_terrain_patch.html#a09c70ef1805bbe5cc84a5c270e4f7f3aa295231f7ca35a80450a1c71a51841e9e">MAX_LOD</a>=8 };</div>
+<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;</div>
+<div class="line"><a name="l00073"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a1e98334d55b3fa7c8986df6097891ea9"> 73</a></span>&#160; <a class="code" href="class_terrain.html">Terrain</a>* <a class="code" href="class_terrain_patch.html#a1e98334d55b3fa7c8986df6097891ea9">terrain</a>;</div>
+<div class="line"><a name="l00074"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a363793855a1fd184db1d8de71797f0e6"> 74</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#a363793855a1fd184db1d8de71797f0e6">patch_size</a>;</div>
+<div class="line"><a name="l00075"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a0840cda0e4d9159fbf90a53b014a3420"> 75</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#a0840cda0e4d9159fbf90a53b014a3420">ndetail</a>;</div>
+<div class="line"><a name="l00076"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#ad4b7de3fbba0e7fa97eb0214ea88b16c"> 76</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#ad4b7de3fbba0e7fa97eb0214ea88b16c">max_detail</a>;</div>
+<div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#ae89bb2897196cea7e4c7bc2247bf11b1"> 77</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="class_terrain_patch.html#ae89bb2897196cea7e4c7bc2247bf11b1">terrain_width</a>;</div>
+<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160;</div>
+<div class="line"><a name="l00079"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#af7977bb9b8a9b6137284db8f2eab3c96"> 79</a></span>&#160; <a class="code" href="struct_rect.html">Rect</a> <a class="code" href="class_terrain_patch.html#af7977bb9b8a9b6137284db8f2eab3c96">rect</a>;</div>
+<div class="line"><a name="l00080"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#ad4aed55c38320a907582fab760bc6058"> 80</a></span>&#160; <span class="keywordtype">float</span>* <a class="code" href="class_terrain_patch.html#ad4aed55c38320a907582fab760bc6058">heights</a>;</div>
+<div class="line"><a name="l00081"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a3051037ed39305c114af8589a33fa4ff"> 81</a></span>&#160; <a class="code" href="class_model.html">Model</a>* <a class="code" href="class_terrain_patch.html#a3051037ed39305c114af8589a33fa4ff">detail_levels</a>[<a class="code" href="class_terrain_patch.html#a09c70ef1805bbe5cc84a5c270e4f7f3aa295231f7ca35a80450a1c71a51841e9e">MAX_LOD</a>];</div>
+<div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#ae6b247bb81ef5289a83c3e523a8c8451"> 82</a></span>&#160; <a class="code" href="class_list.html">List&lt;Material&gt;</a> <a class="code" href="class_terrain_patch.html#ae6b247bb81ef5289a83c3e523a8c8451">materials</a>;</div>
+<div class="line"><a name="l00083"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#aaef7896faec575710b901b6aa2a991b2"> 83</a></span>&#160; <a class="code" href="class_water.html">Water</a>* <a class="code" href="class_terrain_patch.html#aaef7896faec575710b901b6aa2a991b2">water</a>;</div>
+<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>&#160;</div>
+<div class="line"><a name="l00085"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#aa31906778e8dec08157370c86cbac279"> 85</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#aa31906778e8dec08157370c86cbac279">scale</a>;</div>
+<div class="line"><a name="l00086"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a11042f0fa0c057b6cd9a8192c05c1727"> 86</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a11042f0fa0c057b6cd9a8192c05c1727">mtnscale</a>;</div>
+<div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a8c4c331e4f49e94ed82f87a9be3a5279"> 87</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a8c4c331e4f49e94ed82f87a9be3a5279">base</a>;</div>
+<div class="line"><a name="l00088"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a2c30103b6d1f0aaa748bfa7dc62e5ad2"> 88</a></span>&#160; <span class="keywordtype">double</span> <a class="code" href="class_terrain_patch.html#a2c30103b6d1f0aaa748bfa7dc62e5ad2">size</a>;</div>
+<div class="line"><a name="l00089"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a538b56d9591f963f47b038a5e56ee16b"> 89</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_terrain_patch.html#a538b56d9591f963f47b038a5e56ee16b">min_height</a>;</div>
+<div class="line"><a name="l00090"></a><span class="lineno"><a class="code" href="class_terrain_patch.html#a392520e7b02ccc4d949defc471aa1247"> 90</a></span>&#160; <span class="keywordtype">float</span> <a class="code" href="class_terrain_patch.html#a392520e7b02ccc4d949defc471aa1247">max_height</a>;</div>
+<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160;};</div>
+<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160;</div>
+<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>&#160;<span class="preprocessor">#endif TerrainPatch_h</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160;<span class="preprocessor"></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_ea1b58c809a5070716d7c602998a95b0.html">Stars45</a></li><li class="navelem"><a class="el" href="_terrain_patch_8h.html">TerrainPatch.h</a></li>
+ <li class="footer">Generated on Tue Jun 5 2012 20:47:16 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>