diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CTileElement.html | 611 |
1 files changed, 611 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CTileElement.html b/docs/doxygen/nel/classNL3D_1_1CTileElement.html new file mode 100644 index 00000000..24a64076 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CTileElement.html @@ -0,0 +1,611 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NL3D::CTileElement Class Reference</h1>An Element for CPatchTexture. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="tile__element_8h-source.html">tile_element.h</a>></code> +<p> +<a href="classNL3D_1_1CTileElement-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Types</h2></td></tr> +<tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#s5">TVegetableInfo</a> { <br> + <a class="el" href="classNL3D_1_1CTileElement.html#s5s0">AboveWater</a> = 0, +<a class="el" href="classNL3D_1_1CTileElement.html#s5s1">UnderWater</a>, +<a class="el" href="classNL3D_1_1CTileElement.html#s5s2">IntersectWater</a>, +<a class="el" href="classNL3D_1_1CTileElement.html#s5s3">VegetableDisabled</a>, +<br> + <a class="el" href="classNL3D_1_1CTileElement.html#s5s4">VegetInfoLast</a> +<br> + }</td></tr> +<tr><td> </td><td><font size=-1><em>Micro vegetation position. Above water is the default.</em> <a href="#s5">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a0">copyFlagsFromOther</a> (const CTileElement &other)</td></tr> +<tr><td> </td><td><font size=-1><em>Copy this tile flags from an other tile.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a1">setTileOrient</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> i, <a class="el" href="memory__common_8h.html#a7">uint8</a> orient)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the tile orientation of pass i, to "orient".</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a2">getTileOrient</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> i) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the tile orientation of pass i.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a3">setTile256Info</a> (bool is256x256, <a class="el" href="memory__common_8h.html#a7">uint8</a> uvOff=0)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the tile 256x256 information of pass 0.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a4">getTile256Info</a> (bool &is256x256, <a class="el" href="memory__common_8h.html#a7">uint8</a> &uvOff) const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the tile 256x256 information.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a5">setTileSubNoise</a> (<a class="el" href="memory__common_8h.html#a7">uint8</a> subNoise)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the tile SubNoise.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a7">uint8</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a6">getTileSubNoise</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the tile SubNoise information.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a7">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &f)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a8">setVegetableState</a> (<a class="el" href="classNL3D_1_1CTileElement.html#s5">TVegetableInfo</a> state)</td></tr> +<tr><td> </td><td><font size=-1><em>Set the micro vegetation state.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNL3D_1_1CTileElement.html#s5">TVegetableInfo</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#a9">getVegetableState</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Get the micro vegetable state for this tile.</em> <a href="#a9">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#m0">Tile</a> [3]</td></tr> +<tr><td> </td><td><font size=-1><em>The three tile ident.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a9">uint16</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CTileElement.html#o0">Flags</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +An Element for CPatchTexture. +<p> +Temporary! since CPatchTexture should be compressed... NB: no default ctor => must init all fields. <dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="tile__element_8h-source.html#l00064">64</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>.<hr><h2>Member Enumeration Documentation</h2> +<a name="s5" doxytag="NL3D::CTileElement::TVegetableInfo"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> enum NL3D::CTileElement::TVegetableInfo + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Micro vegetation position. Above water is the default. +<p> +<dl compact><dt><b> +Enumeration values:</b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em><a name="s5s0" doxytag="AboveWater"></a><em>AboveWater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s5s1" doxytag="UnderWater"></a><em>UnderWater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s5s2" doxytag="IntersectWater"></a><em>IntersectWater</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s5s3" doxytag="VegetableDisabled"></a><em>VegetableDisabled</em></em> </td><td> +</td></tr> +<tr><td valign=top><em><a name="s5s4" doxytag="VegetInfoLast"></a><em>VegetInfoLast</em></em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="tile__element_8h-source.html#l00125">125</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>. +<p> +Referenced by <a class="el" href="tile__element_8h-source.html#l00131">getVegetableState</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a0" doxytag="NL3D::CTileElement::copyFlagsFromOther"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::copyFlagsFromOther </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CTileElement & </td> + <td class="mdname1" valign="top" nowrap> <em>other</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Copy this tile flags from an other tile. +<p> + +<p> +Definition at line <a class="el" href="tile__element_8h-source.html#l00072">72</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CTileElement::getTile256Info"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::getTile256Info </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool & </td> + <td class="mdname" nowrap> <em>is256x256</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> & </td> + <td class="mdname" nowrap> <em>uvOff</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the tile 256x256 information. +<p> + +<p> +Definition at line <a class="el" href="tile__element_8cpp-source.html#l00064">64</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00039">NL_TILE_ELM_MASK_UVINFO</a>, and <a class="el" href="tile__element_8h-source.html#l00040">NL_TILE_ELM_OFFSET_UVINFO</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CTileElement::getTileOrient"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CTileElement::getTileOrient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>i</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the tile orientation of pass i. +<p> +orient E [0,3]. The rotation is CCW. +<p> +Definition at line <a class="el" href="tile__element_8cpp-source.html#l00046">46</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00036">NL_TILE_ELM_MASK_ROTATE</a>, <a class="el" href="tile__element_8h-source.html#l00037">NL_TILE_ELM_OFFSET_ROTATE</a>, <a class="el" href="tile__element_8h-source.html#l00038">NL_TILE_ELM_SIZE_ROTATE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="memory__common_8h-source.html#l00096">uint8</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CTileElement::getTileSubNoise"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a7">uint8</a> NL3D::CTileElement::getTileSubNoise </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the tile SubNoise information. +<p> + +<p> +Definition at line <a class="el" href="tile__element_8h-source.html#l00116">116</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00042">NL_TILE_ELM_MASK_SUBNOISE</a>, and <a class="el" href="tile__element_8h-source.html#l00043">NL_TILE_ELM_OFFSET_SUBNOISE</a>. </td> + </tr> +</table> +<a name="a9" doxytag="NL3D::CTileElement::getVegetableState"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNL3D_1_1CTileElement.html#s5">TVegetableInfo</a> NL3D::CTileElement::getVegetableState </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the micro vegetable state for this tile. +<p> + +<p> +Definition at line <a class="el" href="tile__element_8h-source.html#l00131">131</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00050">NL_TILE_ELM_MASK_VEGETABLE</a>, <a class="el" href="tile__element_8h-source.html#l00049">NL_TILE_ELM_OFFSET_VEGETABLE</a>, and <a class="el" href="tile__element_8h-source.html#l00125">TVegetableInfo</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CTileElement::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="tile__element_8cpp-source.html#l00082">82</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00077">Tile</a>, and <a class="el" href="stream_8h-source.html#l00615">NLMISC::IStream::xmlSerial</a>. </td> + </tr> +</table> +<a name="a3" doxytag="NL3D::CTileElement::setTile256Info"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::setTile256Info </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname" nowrap> <em>is256x256</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>uvOff</em> = 0</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>is256x256</em> </td><td> +is this tile a part of a 256x256 </td></tr> +<tr><td valign=top><em>uvOff</em> </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="tile__element_8cpp-source.html#l00054">54</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00039">NL_TILE_ELM_MASK_UVINFO</a>, <a class="el" href="tile__element_8h-source.html#l00040">NL_TILE_ELM_OFFSET_UVINFO</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CTileElement::setTileOrient"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::setTileOrient </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a> </td> + <td class="mdname" nowrap> <em>i</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>orient</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the tile orientation of pass i, to "orient". +<p> +orient E [0,3]. The rotation is CCW. +<p> +Definition at line <a class="el" href="tile__element_8cpp-source.html#l00036">36</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00036">NL_TILE_ELM_MASK_ROTATE</a>, <a class="el" href="tile__element_8h-source.html#l00037">NL_TILE_ELM_OFFSET_ROTATE</a>, <a class="el" href="tile__element_8h-source.html#l00038">NL_TILE_ELM_SIZE_ROTATE</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CTileElement::setTileSubNoise"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::setTileSubNoise </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a7">uint8</a> </td> + <td class="mdname1" valign="top" nowrap> <em>subNoise</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the tile SubNoise. +<p> +subNoise E [0, 15]. +<p> +Definition at line <a class="el" href="tile__element_8cpp-source.html#l00073">73</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00042">NL_TILE_ELM_MASK_SUBNOISE</a>, <a class="el" href="tile__element_8h-source.html#l00043">NL_TILE_ELM_OFFSET_SUBNOISE</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CTileElement::setVegetableState"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> void NL3D::CTileElement::setVegetableState </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CTileElement.html#s5">TVegetableInfo</a> </td> + <td class="mdname1" valign="top" nowrap> <em>state</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Set the micro vegetation state. +<p> + +<p> +Definition at line <a class="el" href="tile__element_8cpp-source.html#l00089">89</a> of file <a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a>. +<p> +References <a class="el" href="tile__element_8h-source.html#l00067">Flags</a>, <a class="el" href="tile__element_8h-source.html#l00050">NL_TILE_ELM_MASK_VEGETABLE</a>, <a class="el" href="tile__element_8h-source.html#l00049">NL_TILE_ELM_OFFSET_VEGETABLE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="classNL3D_1_1CTileElement.html#s5s4">VegetInfoLast</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::CTileElement::Flags"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a9">uint16</a> NL3D::CTileElement::Flags<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="tile__element_8h-source.html#l00067">67</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>. +<p> +Referenced by <a class="el" href="tile__element_8h-source.html#l00072">copyFlagsFromOther</a>, <a class="el" href="tile__element_8cpp-source.html#l00064">getTile256Info</a>, <a class="el" href="tile__element_8cpp-source.html#l00046">getTileOrient</a>, <a class="el" href="tile__element_8h-source.html#l00116">getTileSubNoise</a>, <a class="el" href="tile__element_8h-source.html#l00131">getVegetableState</a>, <a class="el" href="tile__element_8cpp-source.html#l00082">serial</a>, <a class="el" href="tile__element_8cpp-source.html#l00054">setTile256Info</a>, <a class="el" href="tile__element_8cpp-source.html#l00036">setTileOrient</a>, <a class="el" href="tile__element_8cpp-source.html#l00073">setTileSubNoise</a>, and <a class="el" href="tile__element_8cpp-source.html#l00089">setVegetableState</a>. </td> + </tr> +</table> +<a name="m0" doxytag="NL3D::CTileElement::Tile"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a9">uint16</a> NL3D::CTileElement::Tile[3] + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The three tile ident. +<p> +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="tile__element_8h-source.html#l00077">77</a> of file <a class="el" href="tile__element_8h-source.html">tile_element.h</a>. +<p> +Referenced by <a class="el" href="tile__element_8cpp-source.html#l00082">serial</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="tile__element_8h-source.html">tile_element.h</a><li><a class="el" href="tile__element_8cpp-source.html">tile_element.cpp</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |