aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/classNL3D_1_1CTextureNear.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CTextureNear.html')
-rw-r--r--docs/doxygen/nel/classNL3D_1_1CTextureNear.html504
1 files changed, 504 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CTextureNear.html b/docs/doxygen/nel/classNL3D_1_1CTextureNear.html
new file mode 100644
index 00000000..16fdea6c
--- /dev/null
+++ b/docs/doxygen/nel/classNL3D_1_1CTextureNear.html
@@ -0,0 +1,504 @@
+<!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.14 -->
+<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::CTextureNear Class Reference</h1>A texture container for lot of little lightmap.
+<a href="#_details">More...</a>
+<p>
+<code>#include &lt;<a class="el" href="texture__near_8h-source.html">texture_near.h</a>&gt;</code>
+<p>
+<p>Inheritance diagram for NL3D::CTextureNear:
+<p><center><img src="classNL3D_1_1CTextureNear.gif" usemap="#NL3D::CTextureNear_map" border="0"></center>
+<map name="NL3D::CTextureNear_map">
+<area href="classNL3D_1_1ITexture.html" alt="NL3D::ITexture" shape="rect" coords="141,112,272,136">
+<area href="classNLMISC_1_1CBitmap.html" alt="NLMISC::CBitmap" shape="rect" coords="0,56,131,80">
+<area href="classNLMISC_1_1CRefCount.html" alt="NLMISC::CRefCount" shape="rect" coords="141,56,272,80">
+<area href="classNLMISC_1_1IStreamable.html" alt="NLMISC::IStreamable" shape="rect" coords="282,56,413,80">
+<area href="classNLMISC_1_1IClassable.html" alt="NLMISC::IClassable" shape="rect" coords="282,0,413,24">
+</map>
+<a href="classNL3D_1_1CTextureNear-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="classNL3D_1_1CTextureNear.html#a0">CTextureNear</a> (<a class="el" href="memory__common_8h.html#a14">sint</a> <a class="el" href="cf__lexical_8cpp.html#a94">size</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="classNL3D_1_1CTextureNear.html#a1">doGenerate</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Since texture is always in memory...</em> <a href="#a1">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="classNL3D_1_1CTextureNear.html#a2">CTextureNear</a> ()</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>TextureNear are system. Do not need to serialize them...</em> <a href="#a2">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="classNL3D_1_1CTextureNear.html#a3">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>serial <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> basic infos (clamp ...).</em> <a href="#a3">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="classNL3D_1_1CTextureNear.html#a4">NLMISC_DECLARE_CLASS</a> (CTextureNear)</td></tr>
+<tr><td colspan="2"><div class="groupHeader">Tile Lightmap mgt.</div></td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureNear.html#z830_0">getNbAvailableTiles</a> ()</td></tr>
+<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureNear.html#z830_1">getTileAndFillRect</a> (CRGBA map[NL_TILE_LIGHTMAP_SIZE *NL_TILE_LIGHTMAP_SIZE])</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>return the id of the tile, locally in the texture.</em> <a href="#z830_1">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="classNL3D_1_1CTextureNear.html#z830_2">refillRect</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>, CRGBA map[NL_TILE_LIGHTMAP_SIZE *NL_TILE_LIGHTMAP_SIZE])</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>given id of the tile, refill the texture.</em> <a href="#z830_2">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="classNL3D_1_1CTextureNear.html#z830_3">releaseTile</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> <a class="el" href="driver__opengl__extension__def_8h.html#a356">id</a>)</td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>Set a tile lightmap as free for use. It is an error to free a not allocated tile. (nlassert!!).</em> <a href="#z830_3">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>std::vector&lt; <a class="el" href="memory__common_8h.html#a15">uint</a> &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureNear.html#o0">_FreeTiles</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>The list of available tiles.</em> <a href="#o0">More...</a><em></em></font><br><br></td></tr>
+<tr><td nowrap align=right valign=top>std::vector&lt; bool &gt;&nbsp;</td><td valign=bottom><a class="el" href="classNL3D_1_1CTextureNear.html#o1">_AvailableTiles</a></td></tr>
+<tr><td>&nbsp;</td><td><font size=-1><em>For check, Availability of tiles.</em> <a href="#o1">More...</a><em></em></font><br><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+A texture container for lot of little lightmap.
+<p>
+<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="texture__near_8h-source.html#l00051">51</a> of file <a class="el" href="texture__near_8h-source.html">texture_near.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a name="a0" doxytag="NL3D::CTextureNear::CTextureNear"></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"> NL3D::CTextureNear::CTextureNear </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a14">sint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>size</em> </td>
+ <td class="md" valign="top">)&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>
+Constructor.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__near_8cpp-source.html#l00037">37</a> of file <a class="el" href="texture__near_8cpp-source.html">texture_near.cpp</a>.
+<p>
+References <a class="el" href="texture__near_8h-source.html#l00096">_AvailableTiles</a>, <a class="el" href="texture__near_8h-source.html#l00094">_FreeTiles</a>, <a class="el" href="texture__near_8h-source.html#l00035">NL_TILE_LIGHTMAP_SIZE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="texture_8cpp-source.html#l00100">NL3D::ITexture::setFilterMode</a>, <a class="el" href="texture_8h-source.html#l00270">NL3D::ITexture::setReleasable</a>, and <a class="el" href="texture_8cpp-source.html#l00088">NL3D::ITexture::setUploadFormat</a>. </td>
+ </tr>
+</table>
+<a name="a2" doxytag="NL3D::CTextureNear::CTextureNear"></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"> NL3D::CTextureNear::CTextureNear </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+TextureNear are system. Do not need to serialize them...
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__near_8h-source.html#l00088">88</a> of file <a class="el" href="texture__near_8h-source.html">texture_near.h</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a name="a1" doxytag="NL3D::CTextureNear::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 class="md" nowrap valign="top"> void NL3D::CTextureNear::doGenerate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap><code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Since texture is always in memory...
+<p>
+
+<p>
+Implements <a class="el" href="classNL3D_1_1ITexture.html#b0">NL3D::ITexture</a>.
+<p>
+Definition at line <a class="el" href="texture__near_8h-source.html#l00059">59</a> of file <a class="el" href="texture__near_8h-source.html">texture_near.h</a>. </td>
+ </tr>
+</table>
+<a name="z830_0" doxytag="NL3D::CTextureNear::getNbAvailableTiles"></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#a14">sint</a> NL3D::CTextureNear::getNbAvailableTiles </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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="texture__near_8cpp-source.html#l00065">65</a> of file <a class="el" href="texture__near_8cpp-source.html">texture_near.cpp</a>.
+<p>
+References <a class="el" href="texture__near_8h-source.html#l00094">_FreeTiles</a>.
+<p>
+Referenced by <a class="el" href="texture__near_8cpp-source.html#l00070">getTileAndFillRect</a>. </td>
+ </tr>
+</table>
+<a name="z830_1" doxytag="NL3D::CTextureNear::getTileAndFillRect"></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#a15">uint</a> NL3D::CTextureNear::getTileAndFillRect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CRGBA&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>map</em>[NL_TILE_LIGHTMAP_SIZE *NL_TILE_LIGHTMAP_SIZE] </td>
+ <td class="md" valign="top">)&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>
+return the id of the tile, locally in the texture.
+<p>
+<a class="el" href="debug_8h.html#a6">nlassert</a>() if no free tiles (use <a class="el" href="classNL3D_1_1CTextureNear.html#z830_0">getNbAvailableTiles</a>()). Tile coordinate in the texture can be get with: s= id% nbTilesByLine; t= id/ nbTilesByLine; where nbTilesByLine== sizeOfTextureNear/NL_TILE_LIGHTMAP_SIZE. The texture is invalidate (on this part only...)
+<p>
+Definition at line <a class="el" href="texture__near_8cpp-source.html#l00070">70</a> of file <a class="el" href="texture__near_8cpp-source.html">texture_near.cpp</a>.
+<p>
+References <a class="el" href="texture__near_8h-source.html#l00096">_AvailableTiles</a>, <a class="el" href="texture__near_8h-source.html#l00094">_FreeTiles</a>, <a class="el" href="texture__near_8cpp-source.html#l00065">getNbAvailableTiles</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="texture__near_8h-source.html#l00035">NL_TILE_LIGHTMAP_SIZE</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, and <a class="el" href="texture__near_8cpp-source.html#l00085">refillRect</a>. </td>
+ </tr>
+</table>
+<a name="a4" doxytag="NL3D::CTextureNear::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 class="md" nowrap valign="top"> NL3D::CTextureNear::NLMISC_DECLARE_CLASS </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">CTextureNear&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; </td>
+ <td class="md" valign="top">)&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>
+ </td>
+ </tr>
+</table>
+<a name="z830_2" doxytag="NL3D::CTextureNear::refillRect"></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::CTextureNear::refillRect </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>id</em>, </td>
+ </tr>
+ <tr>
+ <td></td>
+ <td></td>
+ <td class="md" nowrap>CRGBA&nbsp;</td>
+ <td class="mdname" nowrap>&nbsp; <em>map</em>[NL_TILE_LIGHTMAP_SIZE *NL_TILE_LIGHTMAP_SIZE]</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>
+given id of the tile, refill the texture.
+<p>
+The texture is invalidate (on this part only...)
+<p>
+Definition at line <a class="el" href="texture__near_8cpp-source.html#l00085">85</a> of file <a class="el" href="texture__near_8cpp-source.html">texture_near.cpp</a>.
+<p>
+References <a class="el" href="bitmap_8h-source.html#l00307">NLMISC::CBitmap::getPixels</a>, <a class="el" href="bitmap_8cpp-source.html#l01316">NLMISC::CBitmap::getWidth</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, <a class="el" href="texture__near_8h-source.html#l00035">NL_TILE_LIGHTMAP_SIZE</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00820">src</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>.
+<p>
+Referenced by <a class="el" href="texture__near_8cpp-source.html#l00070">getTileAndFillRect</a>. </td>
+ </tr>
+</table>
+<a name="z830_3" doxytag="NL3D::CTextureNear::releaseTile"></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::CTextureNear::releaseTile </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>id</em> </td>
+ <td class="md" valign="top">)&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 a tile lightmap as free for use. It is an error to free a not allocated tile. (nlassert!!).
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__near_8cpp-source.html#l00107">107</a> of file <a class="el" href="texture__near_8cpp-source.html">texture_near.cpp</a>.
+<p>
+References <a class="el" href="texture__near_8h-source.html#l00096">_AvailableTiles</a>, <a class="el" href="texture__near_8h-source.html#l00094">_FreeTiles</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00218">id</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td>
+ </tr>
+</table>
+<a name="a3" doxytag="NL3D::CTextureNear::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"> virtual void NL3D::CTextureNear::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">NLMISC::IStream</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap>&nbsp; <em>f</em> </td>
+ <td class="md" valign="top">)&nbsp;</td>
+ <td class="md" nowrap> throw (<a class="el" href="structNLMISC_1_1EStream.html">NLMISC::EStream</a>)<code> [inline, virtual]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+serial <a class="el" href="classNL3D_1_1ITexture.html">ITexture</a> basic infos (clamp ...).
+<p>
+
+<p>
+Reimplemented from <a class="el" href="classNL3D_1_1ITexture.html#a12">NL3D::ITexture</a>.
+<p>
+Definition at line <a class="el" href="texture__near_8h-source.html#l00089">89</a> of file <a class="el" href="texture__near_8h-source.html">texture_near.h</a>.
+<p>
+References <a class="el" href="debug_8h-source.html#l00374">nlstop</a>. </td>
+ </tr>
+</table>
+<hr><h2>Member Data Documentation</h2>
+<a name="o1" doxytag="NL3D::CTextureNear::_AvailableTiles"></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"> std::vector&lt;bool&gt; NL3D::CTextureNear::_AvailableTiles<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+For check, Availability of tiles.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__near_8h-source.html#l00096">96</a> of file <a class="el" href="texture__near_8h-source.html">texture_near.h</a>.
+<p>
+Referenced by <a class="el" href="texture__near_8cpp-source.html#l00037">CTextureNear</a>, <a class="el" href="texture__near_8cpp-source.html#l00070">getTileAndFillRect</a>, and <a class="el" href="texture__near_8cpp-source.html#l00107">releaseTile</a>. </td>
+ </tr>
+</table>
+<a name="o0" doxytag="NL3D::CTextureNear::_FreeTiles"></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"> std::vector&lt;<a class="el" href="memory__common_8h.html#a15">uint</a>&gt; NL3D::CTextureNear::_FreeTiles<code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+The list of available tiles.
+<p>
+
+<p>
+Definition at line <a class="el" href="texture__near_8h-source.html#l00094">94</a> of file <a class="el" href="texture__near_8h-source.html">texture_near.h</a>.
+<p>
+Referenced by <a class="el" href="texture__near_8cpp-source.html#l00037">CTextureNear</a>, <a class="el" href="texture__near_8cpp-source.html#l00065">getNbAvailableTiles</a>, <a class="el" href="texture__near_8cpp-source.html#l00070">getTileAndFillRect</a>, and <a class="el" href="texture__near_8cpp-source.html#l00107">releaseTile</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="texture__near_8h-source.html">texture_near.h</a><li><a class="el" href="texture__near_8cpp-source.html">texture_near.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>