aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/class_NL3D__CTextureFar.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/class_NL3D__CTextureFar.html')
-rw-r--r--docs/doxygen/nel/class_NL3D__CTextureFar.html690
1 files changed, 690 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NL3D__CTextureFar.html b/docs/doxygen/nel/class_NL3D__CTextureFar.html
new file mode 100644
index 00000000..9d558208
--- /dev/null
+++ b/docs/doxygen/nel/class_NL3D__CTextureFar.html
@@ -0,0 +1,690 @@
+<!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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>&nbsp;<A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A>&nbsp;&nbsp;&nbsp;</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>
+&nbsp;
+
+<!-- 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>&nbsp;</td>
+</tr></table>
+<!-- Generated by Doxygen 1.2.2 on Sat May 12 22:32:51 2001 -->
+<center>
+<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <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> &nbsp; </center>
+<hr><h1>NL3D::CTextureFar Class Reference</h1>A <a class="el" href="class_NL3D__CTextureFar.html">CTextureFar</a> is a set of NL_NUM_FAR_PATCHES_BY_TEXTURE texture used to map a whole patch when it is in far Mode.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="texture_far_h-source.html">texture_far.h</a>&gt;</code>
+<p>
+Inheritance diagram for NL3D::CTextureFar<p><center><img src="class_NL3D__CTextureFar_inherit_graph.gif" border="0" usemap="#NL3D::CTextureFar_inherit_map" alt="Inheritance graph"></center>
+<map name="NL3D::CTextureFar_inherit_map">
+<area href="class_NL3D__ITexture.html" shape="rect" coords="160,134,259,152">
+<area href="class_NLMISC__CBitmap.html" shape="rect" coords="0,67,120,86">
+<area href="class_NLMISC__CRefCount.html" shape="rect" coords="144,67,275,86">
+<area href="class_NLMISC__IStreamable.html" shape="rect" coords="299,67,435,86">
+<area href="class_NLMISC__IClassable.html" shape="rect" coords="304,0,429,19">
+</map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for NL3D::CTextureFar:<p><center><img src="class_NL3D__CTextureFar_coll_graph.gif" border="0" usemap="#NL3D::CTextureFar_coll_map" alt="Collaboration graph"></center>
+<map name="NL3D::CTextureFar_coll_map">
+<area href="class_NL3D__ITexture.html" shape="rect" coords="49,4,148,23">
+<area href="class_NL3D__CTileFarBank.html" shape="rect" coords="33,58,164,76">
+<area href="class_NL3D__CTextureFar__CPatchIdent.html" shape="rect" coords="1,122,196,140">
+<area href="class_NL3D__CTileLumel.html" shape="rect" coords="39,186,159,204">
+<area href="class_NLMISC__CRGBA.html" shape="rect" coords="40,380,157,399">
+</map>
+<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NL3D__CTextureFar-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
+<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#a0">CTextureFar</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#a1">setSizeOfFarPatch</a> (<a class="el" href="types_nl_h.html#a12">sint</a> width, <a class="el" href="types_nl_h.html#a12">sint</a> height)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set the size of the patch stored in this texture far.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#a2">addPatch</a> (<a class="el" href="class_NL3D__CPatch.html">CPatch</a> *pPatch, float&amp; far1UScale, float&amp; far1VScale, float&amp; far1UBias, float&amp; far1VBias, bool&amp; bRot)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Add a patch in the CTexture Patch.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#a3">removePatch</a> (<a class="el" href="class_NL3D__CPatch.html">CPatch</a> *pPatch)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Remove a patch in the CTexture Patch.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#a4">doGenerate</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Generate the texture.</em> <a href="#a4">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>std::vector&lt;<a class="el" href="class_NL3D__CTextureFar__CPatchIdent.html">CPatchIdent</a>&gt;&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#m0">_Patches</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Vector of patches which texture far is stored in this <a class="el" href="class_NL3D__CTextureFar.html">CTextureFar</a> Should be == to _WidthPatches*_HeightPatches.</em> <a href="#m0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#m1">_PatchCount</a></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CTileFarBank.html">CTileFarBank</a>*&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#m2">_Bank</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>A pointer on the far bank.</em> <a href="#m2">More...</a><em></em></font><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Methods</h2></td></tr>
+<tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#c0">rebuildRectangle</a> (<a class="el" href="types_nl_h.html#a13">uint</a> x, <a class="el" href="types_nl_h.html#a13">uint</a> y)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Rebuild the rectangle passed in parameter.</em> <a href="#c0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#c1">serial</a> (<a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>From IStreamable.</em> <a href="#c1">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#c2">NLMISC_DECLARE_CLASS</a> (CTextureFar)</td></tr>
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#o0">_OriginalWidth</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The original size.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="types_nl_h.html#a9">uint32</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#o1">_OriginalHeight</a></td></tr>
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NLMISC__CRGBA.html">NLMISC::CRGBA</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#r0">_LightmapExpanded</a> []</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="class_NL3D__CTileLumel.html">CTileLumel</a>&nbsp;</td><td valign=bottom><a class="el" href="class_NL3D__CTextureFar.html#r1">_LumelExpanded</a> []</td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A <a class="el" href="class_NL3D__CTextureFar.html">CTextureFar</a> is a set of NL_NUM_FAR_PATCHES_BY_TEXTURE texture used to map a whole patch when it is in far Mode.
+<p>
+(ie not in tile mode). A <a class="el" href="class_NL3D__CTextureFar.html">CTextureFar</a> handle several patch texture.\
+<p>
+Before adding patch to the texture, you must call setSizeOfFarPatch, to intialize the texture.
+<p>
+TODO: keeping the far texture level1 alive when the tile pass in level0 (tile mode), don't erase it. TODO: add an hysteresis to avoid swap of far texture on boundaries of levels TODO: set the upload format in rgba565
+<p>
+<dl compact><dt>
+<b>Author(s): </b><dd>
+ Cyril Corvazier , Nevrax France </dl><dl compact><dt>
+<b>Date: </b><dd>
+ 2000 </dl>
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_h-source.html#l00068">68</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CTextureFar::CTextureFar"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NL3D::CTextureFar::CTextureFar (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [inline]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_h-source.html#l00090">90</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="c2" doxytag="NL3D::CTextureFar::NLMISC_DECLARE_CLASS"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+NL3D::CTextureFar::NLMISC_DECLARE_CLASS (
+ </b></td>
+ <td valign="bottom"><b>
+CTextureFar&nbsp;)<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+ </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CTextureFar::addPatch"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CTextureFar::addPatch (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="class_NL3D__CPatch.html">CPatch</a> * <em>pPatch</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>farUScale</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>farVScale</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>farUBias</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+float &amp; <em>farVBias</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+bool &amp; <em>bRot</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Add a patch in the CTexture Patch.
+<p>
+Must not be full! Return true if the texture is full after adding this patch else false.<dl compact><dt>
+<b>Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>pPatch</em>
+&nbsp;</td><td>
+ is the pointer to the patch to add in the landscape </td></tr>
+<tr><td valign=top><em>far1UVScale</em>
+&nbsp;</td><td>
+ will receive the scale to use to compute the UV coordinates </td></tr>
+<tr><td valign=top><em>far1UBias</em>
+&nbsp;</td><td>
+ will receive the U Bias to use to compute the UV coordinates </td></tr>
+<tr><td valign=top><em>far1VBias</em>
+&nbsp;</td><td>
+ will receive the V Bias to use to compute the UV coordinates </td></tr>
+<tr><td valign=top><em>bRot</em>
+&nbsp;</td><td>
+ will receive true if the texture is rotated of 90° to the left or false. You should take care of this value to compute UV coordinates. </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="texture_far_cpp-source.html#l00074">74</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CTextureFar::doGenerate"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CTextureFar::doGenerate (
+ </b></td>
+ <td valign="bottom"><b>
+)<code> [virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Generate the texture.
+<p>
+See <a class="el" href="class_NL3D__ITexture.html#b0">ITexture::doGenerate</a>().
+<p>
+<dl compact><dt>
+<b>See also: </b><dd>
+ <a class="el" href="class_NL3D__ITexture.html#b0">ITexture::doGenerate</a>() </dl>
+<p>
+Reimplemented from <a class="el" href="class_NL3D__ITexture.html#b0">NL3D::ITexture</a>.
+<p>
+Definition at line <a class="el" href="texture_far_cpp-source.html#l00153">153</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<a name="c0" doxytag="NL3D::CTextureFar::rebuildRectangle"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CTextureFar::rebuildRectangle (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="types_nl_h.html#a13">uint</a> <em>x</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="types_nl_h.html#a13">uint</a> <em>y</em>&nbsp;)<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Rebuild the rectangle passed in parameter.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_cpp-source.html#l00199">199</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CTextureFar::removePatch"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+bool NL3D::CTextureFar::removePatch (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="class_NL3D__CPatch.html">CPatch</a> * <em>pPatch</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Remove a patch in the CTexture Patch.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_cpp-source.html#l00124">124</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<a name="c1" doxytag="NL3D::CTextureFar::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 nowrap valign="top"><b>
+void NL3D::CTextureFar::serial (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="class_NLMISC__IStream.html">NLMISC::IStream</a> &amp; <em>f</em>&nbsp;) throw (<a class="el" href="class_NLMISC__EStream.html">NLMISC::EStream</a>)<code> [inline, private, virtual]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+From IStreamable.
+<p>
+
+<p>
+Reimplemented from <a class="el" href="class_NLMISC__IStreamable.html#a0">NLMISC::IStreamable</a>.
+<p>
+Definition at line <a class="el" href="texture_far_h-source.html#l00155">155</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<a name="a1" doxytag="NL3D::CTextureFar::setSizeOfFarPatch"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+void NL3D::CTextureFar::setSizeOfFarPatch (
+ </b></td>
+ <td valign="bottom"><b>
+<a class="el" href="types_nl_h.html#a12">sint</a> <em>width</em>,
+ </b></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td><b>
+<a class="el" href="types_nl_h.html#a12">sint</a> <em>height</em>&nbsp;)
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the size of the patch stored in this texture far.
+<p>
+Note that width must be larger than height. For patch with a bigger height than width, invert width and height value. So, in this texture far, you can store patches with a size of width*height but also patches with a size of height*width.<dl compact><dt>
+<b>Parameters: </b><dd>
+<table border=0 cellspacing=2 cellpadding=0>
+<tr><td valign=top><em>width</em>
+&nbsp;</td><td>
+ is the width of the texture far stored in this texture. Can be 64, 32, 16, 8, 4 or 2 </td></tr>
+<tr><td valign=top><em>height</em>
+&nbsp;</td><td>
+ is the height of the texture far stored in this texture. Can be 64, 32, 16, 8, 4 or 2 </td></tr>
+</table>
+</dl>
+<p>
+Definition at line <a class="el" href="texture_far_cpp-source.html#l00042">42</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="m2" doxytag="NL3D::CTextureFar::_Bank"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__CTileFarBank.html">CTileFarBank</a> * NL3D::CTextureFar::_Bank
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+A pointer on the far bank.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_h-source.html#l00142">142</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<a name="r0" doxytag="NL3D::CTextureFar::_LightmapExpanded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+CRGBA NL3D::CTextureFar::_LightmapExpanded[NL_NUM_PIXELS_ON_FAR_TILE_EDGE *NL_MAX_TILES_BY_PATCH_EDGE *NL_NUM_PIXELS_ON_FAR_TILE_EDGE *NL_MAX_TILES_BY_PATCH_EDGE]<code> [static, private]</code>
+ </b></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="texture_far_cpp-source.html#l00039">39</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<a name="r1" doxytag="NL3D::CTextureFar::_LumelExpanded"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="class_NL3D__CTileLumel.html">CTileLumel</a> NL3D::CTextureFar::_LumelExpanded<code> [static, private]</code>
+ </b></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="texture_far_cpp-source.html#l00040">40</a> of file <a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a>. </td>
+ </tr>
+</table>
+<a name="o1" doxytag="NL3D::CTextureFar::_OriginalHeight"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextureFar::_OriginalHeight<code> [private]</code>
+ </b></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="texture_far_h-source.html#l00147">147</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CTextureFar::_OriginalWidth"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextureFar::_OriginalWidth<code> [private]</code>
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The original size.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_h-source.html#l00146">146</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<a name="m1" doxytag="NL3D::CTextureFar::_PatchCount"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+<a class="el" href="types_nl_h.html#a9">uint32</a> NL3D::CTextureFar::_PatchCount
+ </b></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="texture_far_h-source.html#l00139">139</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<a name="m0" doxytag="NL3D::CTextureFar::_Patches"></a><p>
+<table width="100%" cellpadding="2" cellspacing="0" border="0">
+ <tr>
+ <td class="md">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td nowrap valign="top"><b>
+std::vector&lt; <a class="el" href="class_NL3D__CTextureFar__CPatchIdent.html">CPatchIdent</a> &gt; NL3D::CTextureFar::_Patches
+ </b></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Vector of patches which texture far is stored in this <a class="el" href="class_NL3D__CTextureFar.html">CTextureFar</a> Should be == to _WidthPatches*_HeightPatches.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture_far_h-source.html#l00136">136</a> of file <a class="el" href="texture_far_h-source.html">texture_far.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="texture_far_h-source.html">texture_far.h</a><li><a class="el" href="texture_far_cpp-source.html">texture_far.cpp</a></ul>
+
+
+<!-- footer -->
+<BR><FONT Size=+5>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </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>