aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03522.html
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
committerneodarz <neodarz@neodarz.net>2018-08-11 20:21:34 +0200
commit0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch)
tree2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03522.html
downloadnevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz
nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03522.html')
-rw-r--r--docs/doxygen/nel/a03522.html618
1 files changed, 618 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03522.html b/docs/doxygen/nel/a03522.html
new file mode 100644
index 00000000..8cd50659
--- /dev/null
+++ b/docs/doxygen/nel/a03522.html
@@ -0,0 +1,618 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NL3D::CTileElement class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NL3D::CTileElement Class Reference</h1><code>#include &lt;<a class="el" href="a06541.html">tile_element.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+An Element for CPatchTexture. Temporary! since CPatchTexture should be compressed... NB: no default ctor =&gt; must init all fields. <dl compact><dt><b>Author:</b></dt><dd>Lionel Berenguier <p>
+Nevrax France </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>2000 </dd></dl>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06541.html#l00064">64</a> of file <a class="el" href="a06541.html">tile_element.h</a>.<table border=0 cellpadding=0 cellspacing=0>
+<tr><td></td></tr>
+<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>enum &nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementw2">TVegetableInfo</a> { <br>
+&nbsp;&nbsp;<a class="el" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw0">AboveWater</a> = 0,
+<a class="el" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw3">UnderWater</a>,
+<a class="el" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw1">IntersectWater</a>,
+<a class="el" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw4">VegetableDisabled</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw5">VegetInfoLast</a>
+<br>
+ }</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Micro vegetation position. Above water is the default. <a href="#NL3D_1_1CTileElementw2">More...</a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa0">copyFlagsFromOther</a> (const <a class="el" href="a03522.html">CTileElement</a> &amp;other)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy this tile flags from an other tile. <a href="#NL3D_1_1CTileElementa0"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa1">getTile256Info</a> (bool &amp;is256x256, <a class="el" href="a04558.html#a7">uint8</a> &amp;uvOff) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa2">getTileOrient</a> (<a class="el" href="a04558.html#a14">sint</a> i) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa3">getTileSubNoise</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03522.html#NL3D_1_1CTileElementw2">TVegetableInfo</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa4">getVegetableState</a> () const </td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the micro vegetable state for this tile. <a href="#NL3D_1_1CTileElementa4"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa5">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa6">setTile256Info</a> (bool is256x256, <a class="el" href="a04558.html#a7">uint8</a> uvOff=0)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa7">setTileOrient</a> (<a class="el" href="a04558.html#a14">sint</a> i, <a class="el" href="a04558.html#a7">uint8</a> orient)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa8">setTileSubNoise</a> (<a class="el" href="a04558.html#a7">uint8</a> subNoise)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementa9">setVegetableState</a> (<a class="el" href="a03522.html#NL3D_1_1CTileElementw2">TVegetableInfo</a> state)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the micro vegetation state. <a href="#NL3D_1_1CTileElementa9"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Data Fields</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElemento0">Tile</a> [3]</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileElementw2" doxytag="NL3D::CTileElement::TVegetableInfo" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> enum <a class="el" href="a03522.html#NL3D_1_1CTileElementw2">NL3D::CTileElement::TVegetableInfo</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Micro vegetation position. Above water is the default.
+<p>
+<dl compact><dt><b>Enumeration values: </b></dt><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileElementw2NL3D_1_1CTileElementw0" doxytag="AboveWater" ></a>AboveWater</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileElementw2NL3D_1_1CTileElementw3" doxytag="UnderWater" ></a>UnderWater</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileElementw2NL3D_1_1CTileElementw1" doxytag="IntersectWater" ></a>IntersectWater</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileElementw2NL3D_1_1CTileElementw4" doxytag="VegetableDisabled" ></a>VegetableDisabled</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileElementw2NL3D_1_1CTileElementw5" doxytag="VegetInfoLast" ></a>VegetInfoLast</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06541.html#l00125">125</a> of file <a class="el" href="a06541.html">tile_element.h</a>.
+<p>
+Referenced by <a class="el" href="a06541.html#l00131">getVegetableState()</a>.
+<p>
+<div class="fragment"><pre>00125 { <a class="code" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw0">AboveWater</a> = 0, <a class="code" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw3">UnderWater</a>, <a class="code" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw1">IntersectWater</a>, <a class="code" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw4">VegetableDisabled</a>, <a class="code" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw5">VegetInfoLast</a> };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileElementa0" doxytag="NL3D::CTileElement::copyFlagsFromOther" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::copyFlagsFromOther </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03522.html">CTileElement</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>other</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Copy this tile flags from an other tile.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06541.html#l00072">72</a> of file <a class="el" href="a06541.html">tile_element.h</a>.
+<p>
+References <a class="el" href="a06541.html#l00067">Flags</a>.
+<p>
+<div class="fragment"><pre>00072 { <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a> = other.<a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>; }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa1" doxytag="NL3D::CTileElement::getTile256Info" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::getTile256Info </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>is256x256</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>uvOff</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the tile 256x256 information.
+<p>
+Definition at line <a class="el" href="a06540.html#l00064">64</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06541.html#l00039">NL_TILE_ELM_MASK_UVINFO</a>, <a class="el" href="a06541.html#l00040">NL_TILE_ELM_OFFSET_UVINFO</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00964">NL3D::CPatchDLMContext::computeTextureFar()</a>, <a class="el" href="a06519.html#l00465">NL3D::CTextureFar::rebuildPatch()</a>, and <a class="el" href="a06758.html#l01825">NL3D::CPatchInfo::transform()</a>.
+<p>
+<div class="fragment"><pre>00065 {
+00066 <a class="code" href="a04558.html#a14">sint</a> where= <a class="code" href="a05118.html#a4">NL_TILE_ELM_OFFSET_UVINFO</a>;
+00067 <a class="code" href="a04558.html#a14">sint</a> info= ((<a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>&gt;&gt;where) &amp; <a class="code" href="a05118.html#a3">NL_TILE_ELM_MASK_UVINFO</a>);
+00068 uvOff= info&amp;3;
+00069 is256x256= (info&amp;4)?<span class="keyword">true</span>:<span class="keyword">false</span>;
+00070 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa2" doxytag="NL3D::CTileElement::getTileOrient" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> NL3D::CTileElement::getTileOrient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>i</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const</td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the tile orientation of pass i. orient E [0,3]. The rotation is CCW.
+<p>
+Definition at line <a class="el" href="a06540.html#l00046">46</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06541.html#l00036">NL_TILE_ELM_MASK_ROTATE</a>, <a class="el" href="a06541.html#l00037">NL_TILE_ELM_OFFSET_ROTATE</a>, <a class="el" href="a06541.html#l00038">NL_TILE_ELM_SIZE_ROTATE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00964">NL3D::CPatchDLMContext::computeTextureFar()</a>, <a class="el" href="a06519.html#l00465">NL3D::CTextureFar::rebuildPatch()</a>, and <a class="el" href="a06758.html#l01825">NL3D::CPatchInfo::transform()</a>.
+<p>
+<div class="fragment"><pre>00047 {
+00048 <a class="code" href="a04199.html#a6">nlassert</a>(i&gt;=0 &amp;&amp; i&lt;=2);
+00049 <a class="code" href="a04558.html#a14">sint</a> where= <a class="code" href="a05118.html#a2">NL_TILE_ELM_SIZE_ROTATE</a>*i+<a class="code" href="a05118.html#a1">NL_TILE_ELM_OFFSET_ROTATE</a>;
+00050 <span class="keywordflow">return</span> <a class="code" href="a05167.html#a9">uint8</a> ((Flags&gt;&gt;where) &amp; NL_TILE_ELM_MASK_ROTATE);
+00051 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa3" doxytag="NL3D::CTileElement::getTileSubNoise" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> NL3D::CTileElement::getTileSubNoise </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the tile SubNoise information.
+<p>
+Definition at line <a class="el" href="a06541.html#l00116">116</a> of file <a class="el" href="a06541.html">tile_element.h</a>.
+<p>
+References <a class="el" href="a06541.html#l00042">NL_TILE_ELM_MASK_SUBNOISE</a>, <a class="el" href="a06541.html#l00043">NL_TILE_ELM_OFFSET_SUBNOISE</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00117 {
+00118 <span class="keywordflow">return</span> ((<a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>&gt;&gt;<a class="code" href="a05118.html#a7">NL_TILE_ELM_OFFSET_SUBNOISE</a>) &amp; <a class="code" href="a05118.html#a6">NL_TILE_ELM_MASK_SUBNOISE</a>);
+00119 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa4" doxytag="NL3D::CTileElement::getVegetableState" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03522.html#NL3D_1_1CTileElementw2">TVegetableInfo</a> NL3D::CTileElement::getVegetableState </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the micro vegetable state for this tile.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06541.html#l00131">131</a> of file <a class="el" href="a06541.html">tile_element.h</a>.
+<p>
+References <a class="el" href="a06541.html#l00050">NL_TILE_ELM_MASK_VEGETABLE</a>, <a class="el" href="a06541.html#l00049">NL_TILE_ELM_OFFSET_VEGETABLE</a>, and <a class="el" href="a06541.html#l00125">TVegetableInfo</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l03710">NL3D::CZoneLighter::setTileFlagsToDefault()</a>.
+<p>
+<div class="fragment"><pre>00132 {
+00133 <span class="keywordflow">return</span> (<a class="code" href="a03522.html#NL3D_1_1CTileElementw2">TVegetableInfo</a>) ((<a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a> &gt;&gt; <a class="code" href="a05118.html#a9">NL_TILE_ELM_OFFSET_VEGETABLE</a>) &amp; <a class="code" href="a05118.html#a10">NL_TILE_ELM_MASK_VEGETABLE</a>);
+00134 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa5" doxytag="NL3D::CTileElement::serial" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a02270.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>f</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06540.html#l00082">82</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06462.html#l00647">NLMISC::IStream::xmlSerial()</a>.
+<p>
+<div class="fragment"><pre>00083 {
+00084 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2037_3">xmlSerial</a> (Flags, <span class="stringliteral">"FLAGS"</span>);
+00085 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2037_3">xmlSerial</a> (Tile[0], Tile[1], Tile[2], <span class="stringliteral">"TILES_ID"</span>);
+00086 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa6" doxytag="NL3D::CTileElement::setTile256Info" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::setTile256Info </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">bool&nbsp;</td>
+ <td class="mdname" nowrap> <em>is256x256</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>uvOff</em> = 0</td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the tile 256x256 information of pass 0.<p>
+NB: During UV computing, orient is applied first, then tile256x256 uvOffset (only if the tile is 256x256). <dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign=top><em>is256x256</em>&nbsp;</td><td>is this tile a part of a 256x256 </td></tr>
+ <tr><td valign=top><em>uvOff</em>&nbsp;</td><td>the UV offset of tile 256x256. uvOff E [0,3]. Meanings: --------- | 0 | 3 | |___|___| | | | | 1 | 2 | ---------</td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06540.html#l00054">54</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06541.html#l00039">NL_TILE_ELM_MASK_UVINFO</a>, <a class="el" href="a06541.html#l00040">NL_TILE_ELM_OFFSET_UVINFO</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06758.html#l01825">NL3D::CPatchInfo::transform()</a>.
+<p>
+<div class="fragment"><pre>00055 {
+00056 <a class="code" href="a04199.html#a6">nlassert</a>(uvOff&lt;=3);
+00057 <a class="code" href="a04558.html#a14">sint</a> where= <a class="code" href="a05118.html#a4">NL_TILE_ELM_OFFSET_UVINFO</a>;
+00058 <a class="code" href="a04558.html#a14">sint</a> info= uvOff+(is256x256?4:0);
+00059 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>&amp;= ~(<a class="code" href="a05118.html#a3">NL_TILE_ELM_MASK_UVINFO</a>&lt;&lt;where);
+00060 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>|= info&lt;&lt;where;
+00061 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa7" doxytag="NL3D::CTileElement::setTileOrient" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::setTileOrient </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>i</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>orient</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the tile orientation of pass i, to "orient". orient E [0,3]. The rotation is CCW.
+<p>
+Definition at line <a class="el" href="a06540.html#l00036">36</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06541.html#l00036">NL_TILE_ELM_MASK_ROTATE</a>, <a class="el" href="a06541.html#l00037">NL_TILE_ELM_OFFSET_ROTATE</a>, <a class="el" href="a06541.html#l00038">NL_TILE_ELM_SIZE_ROTATE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06758.html#l01825">NL3D::CPatchInfo::transform()</a>.
+<p>
+<div class="fragment"><pre>00037 {
+00038 <a class="code" href="a04199.html#a6">nlassert</a>(i&gt;=0 &amp;&amp; i&lt;=2);
+00039 <a class="code" href="a04199.html#a6">nlassert</a>(orient&lt;=3);
+00040 <a class="code" href="a04558.html#a14">sint</a> where= <a class="code" href="a05118.html#a2">NL_TILE_ELM_SIZE_ROTATE</a>*i+<a class="code" href="a05118.html#a1">NL_TILE_ELM_OFFSET_ROTATE</a>;
+00041 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>&amp;= ~(<a class="code" href="a05118.html#a0">NL_TILE_ELM_MASK_ROTATE</a>&lt;&lt;where);
+00042 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>|= orient&lt;&lt;where;
+00043 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa8" doxytag="NL3D::CTileElement::setTileSubNoise" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::setTileSubNoise </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>subNoise</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the tile SubNoise. subNoise E [0, 15].
+<p>
+Definition at line <a class="el" href="a06540.html#l00073">73</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06541.html#l00042">NL_TILE_ELM_MASK_SUBNOISE</a>, <a class="el" href="a06541.html#l00043">NL_TILE_ELM_OFFSET_SUBNOISE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+<div class="fragment"><pre>00074 {
+00075 <a class="code" href="a04199.html#a6">nlassert</a>(subNoise&lt;=15);
+00076 <a class="code" href="a04558.html#a14">sint</a> where= <a class="code" href="a05118.html#a7">NL_TILE_ELM_OFFSET_SUBNOISE</a>;
+00077 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>&amp;= ~(<a class="code" href="a05118.html#a6">NL_TILE_ELM_MASK_SUBNOISE</a>&lt;&lt;where);
+00078 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a>|= subNoise&lt;&lt;where;
+00079 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElementa9" doxytag="NL3D::CTileElement::setVegetableState" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> void NL3D::CTileElement::setVegetableState </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03522.html#NL3D_1_1CTileElementw2">TVegetableInfo</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>state</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the micro vegetation state.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06540.html#l00089">89</a> of file <a class="el" href="a06540.html">tile_element.cpp</a>.
+<p>
+References <a class="el" href="a06541.html#l00050">NL_TILE_ELM_MASK_VEGETABLE</a>, <a class="el" href="a06541.html#l00049">NL_TILE_ELM_OFFSET_VEGETABLE</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00098">uint16</a>, and <a class="el" href="a03522.html#NL3D_1_1CTileElementw2NL3D_1_1CTileElementw5">VegetInfoLast</a>.
+<p>
+Referenced by <a class="el" href="a06768.html#l03563">NL3D::CZoneLighter::computeTileFlagsForPositionTowardWater()</a>, and <a class="el" href="a06768.html#l03710">NL3D::CZoneLighter::setTileFlagsToDefault()</a>.
+<p>
+<div class="fragment"><pre>00090 {
+00091 <a class="code" href="a04199.html#a6">nlassert</a>(state &lt; VegetInfoLast);
+00092 <span class="keyword">const</span> <a class="code" href="a04558.html#a9">uint16</a> mask = <a class="code" href="a05118.html#a10">NL_TILE_ELM_MASK_VEGETABLE</a> &lt;&lt; <a class="code" href="a05118.html#a9">NL_TILE_ELM_OFFSET_VEGETABLE</a>;
+00093 <a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a> = (<a class="code" href="a03522.html#NL3D_1_1CTileElementr0">Flags</a> &amp; ~mask) | ((<a class="code" href="a04558.html#a9">uint16</a>) state &lt;&lt; <a class="code" href="a05118.html#a9">NL_TILE_ELM_OFFSET_VEGETABLE</a>);
+00094 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileElementr0" doxytag="NL3D::CTileElement::Flags" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a03522.html#NL3D_1_1CTileElementr0">NL3D::CTileElement::Flags</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06541.html#l00067">67</a> of file <a class="el" href="a06541.html">tile_element.h</a>.
+<p>
+Referenced by <a class="el" href="a06541.html#l00072">copyFlagsFromOther()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileElemento0" doxytag="NL3D::CTileElement::Tile" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a9">uint16</a> <a class="el" href="a03522.html#NL3D_1_1CTileElemento0">NL3D::CTileElement::Tile</a>[3]
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The three tile ident. NL_TILE_ELM_LAYER_EMPTY means no Tile for this pass. Tile[0] should be !=NL_TILE_ELM_LAYER_EMPTY. Else cross are drawn...
+<p>
+Definition at line <a class="el" href="a06541.html#l00077">77</a> of file <a class="el" href="a06541.html">tile_element.h</a>.
+<p>
+Referenced by <a class="el" href="a06163.html#l00964">NL3D::CPatchDLMContext::computeTextureFar()</a>, <a class="el" href="a06725.html#l00565">NL3D::CVisualCollisionEntity::getSurfaceInfo()</a>, <a class="el" href="a06519.html#l00465">NL3D::CTextureFar::rebuildPatch()</a>, and <a class="el" href="a06758.html#l01825">NL3D::CPatchInfo::transform()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06541.html">tile_element.h</a><li><a class="el" href="a06540.html">tile_element.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:04:31 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>