aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03519.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/doxygen/nel/a03519.html')
-rw-r--r--docs/doxygen/nel/a03519.html1044
1 files changed, 1044 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03519.html b/docs/doxygen/nel/a03519.html
new file mode 100644
index 00000000..53046a9d
--- /dev/null
+++ b/docs/doxygen/nel/a03519.html
@@ -0,0 +1,1044 @@
+<!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::CTileBorder 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::CTileBorder Class Reference</h1><code>#include &lt;<a class="el" href="a06537.html">tile_bank.h</a>&gt;</code>
+<p>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+This class is a tile set. It handles all the tile of the same material. <dl compact><dt><b>Author:</b></dt><dd>Cyril Corvazier <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="a06537.html#l00224">224</a> of file <a class="el" href="a06537.html">tile_bank.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="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a> { <br>
+&nbsp;&nbsp;<a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a> = 0,
+<a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>,
+<a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>,
+<a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>,
+<br>
+&nbsp;&nbsp;<a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw0">borderCount</a>
+<br>
+ }</td></tr>
+
+<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera0">CTileBorder</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera1">doubleSize</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera2">get</a> (int &amp;<a class="el" href="a04223.html#a632">width</a>, int &amp;<a class="el" href="a04223.html#a633">height</a>, std::vector&lt; <a class="el" href="a02260.html">NLMISC::CBGRA</a> &gt; &amp;array) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera3">getHeight</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera4">getWidth</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera5">isSet</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera6">operator=</a> (const <a class="el" href="a03519.html">CTileBorder</a> &amp;<a class="el" href="a04223.html#a635">border</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera7">operator==</a> (const <a class="el" href="a03519.html">CTileBorder</a> &amp;<a class="el" href="a04223.html#a635">border</a>) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera8">reset</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera9">rotate</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera10">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &amp;f) throw (NLMISC::EStream)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordera11">set</a> (int <a class="el" href="a04223.html#a632">width</a>, int <a class="el" href="a04223.html#a633">height</a>, const std::vector&lt; <a class="el" href="a02260.html">NLMISC::CBGRA</a> &gt; &amp;array)</td></tr>
+
+<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordere0">allAlphaSet</a> (const <a class="el" href="a03519.html">CTileBorder</a> &amp;<a class="el" href="a04223.html#a635">border</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a> where, int &amp;pixel, int &amp;composante)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBordere1">compare</a> (const <a class="el" href="a03519.html">CTileBorder</a> &amp;border1, const <a class="el" href="a03519.html">CTileBorder</a> &amp;border2, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a> where1, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a> where2, int &amp;pixel, int &amp;composante)</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector&lt; <a class="el" href="a02260.html">NLMISC::CBGRA</a> &gt;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a> [borderCount]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBorderr2">_Set</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a></td></tr>
+
+<tr><td colspan=2><br><h2>Static Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03519.html#NL3D_1_1CTileBorderv0">_Version</a> = 0</td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileBorderw4" doxytag="NL3D::CTileBorder::TBorder" ></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="a03519.html#NL3D_1_1CTileBorderw4">NL3D::CTileBorder::TBorder</a>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<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_1CTileBorderw4NL3D_1_1CTileBorderw5" doxytag="top" ></a>top</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1" doxytag="bottom" ></a>bottom</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2" doxytag="left" ></a>left</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3" doxytag="right" ></a>right</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw0" doxytag="borderCount" ></a>borderCount</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00227">227</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+<div class="fragment"><pre>00227 { <a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>=0, <a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, <a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw0">borderCount</a> };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileBordera0" doxytag="NL3D::CTileBorder::CTileBorder" ></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"> NL3D::CTileBorder::CTileBorder </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><code> [inline]</code></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="a06537.html#l00228">228</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00242">reset()</a>.
+<p>
+<div class="fragment"><pre>00229 {
+00230 <a class="code" href="a03519.html#NL3D_1_1CTileBordera8">reset</a>();
+00231 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileBordere0" doxytag="NL3D::CTileBorder::allAlphaSet" ></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"> bool NL3D::CTileBorder::allAlphaSet </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03519.html">CTileBorder</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>border</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>where</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pixel</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>composante</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></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="a06536.html#l01731">1731</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l01013">border</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>.
+<p>
+<div class="fragment"><pre>01732 {
+01733 <span class="comment">// Check border is initialized</span>
+01734 <a class="code" href="a04199.html#a6">nlassert</a> (<a class="code" href="a04223.html#a635">border</a>.isSet());
+01735
+01736 <span class="comment">// always Alpha</span>
+01737 composante=3;
+01738
+01739 <span class="keywordflow">for</span> (pixel=0; pixel&lt;(<span class="keywordtype">int</span>)<a class="code" href="a04223.html#a635">border</a>._Borders[where].size(); pixel++)
+01740 {
+01741 <span class="keywordflow">if</span> (<a class="code" href="a04223.html#a635">border</a>._Borders[where][pixel].A!=0xff)
+01742 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+01743 }
+01744
+01745 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+01746 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordere1" doxytag="NL3D::CTileBorder::compare" ></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"> bool NL3D::CTileBorder::compare </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03519.html">CTileBorder</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>border1</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const <a class="el" href="a03519.html">CTileBorder</a> &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>border2</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>where1</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap><a class="el" href="a03519.html#NL3D_1_1CTileBorderw4">TBorder</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>where2</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>pixel</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>composante</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><code> [static]</code></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="a06536.html#l01696">1696</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a06537.html#l00238">isSet()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>.
+<p>
+<div class="fragment"><pre>01697 {
+01698 <span class="comment">// Check border is initialized</span>
+01699 <a class="code" href="a04199.html#a6">nlassert</a> (border1.isSet());
+01700 <a class="code" href="a04199.html#a6">nlassert</a> (border2.isSet());
+01701
+01702 <span class="keywordflow">if</span> (border1._Borders[where1].size()!=border2._Borders[where2].size())
+01703 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+01704 <span class="keywordflow">for</span> (pixel=0; pixel&lt;(<span class="keywordtype">int</span>)border1._Borders[where1].size(); pixel++)
+01705 {
+01706 <span class="keywordflow">if</span> (border1._Borders[where1][pixel].R!=border2._Borders[where2][pixel].R)
+01707 {
+01708 composante=0;
+01709 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+01710 }
+01711 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (border1._Borders[where1][pixel].G!=border2._Borders[where2][pixel].G)
+01712 {
+01713 composante=1;
+01714 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+01715 }
+01716 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (border1._Borders[where1][pixel].B!=border2._Borders[where2][pixel].B)
+01717 {
+01718 composante=2;
+01719 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+01720 }
+01721 <span class="keywordflow">else</span> <span class="keywordflow">if</span> (border1._Borders[where1][pixel].A!=border2._Borders[where2][pixel].A)
+01722 {
+01723 composante=3;
+01724 <span class="keywordflow">return</span> <span class="keyword">false</span>;
+01725 }
+01726 }
+01727
+01728 <span class="keywordflow">return</span> <span class="keyword">true</span>;
+01729 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera1" doxytag="NL3D::CTileBorder::doubleSize" ></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::CTileBorder::doubleSize </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></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="a06536.html#l01765">1765</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>, and <a class="el" href="a05646.html#l00236">w</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01069">NL3D::CTileSet::checkTile256()</a>, and <a class="el" href="a06536.html#l01010">NL3D::CTileSet::setBorder()</a>.
+<p>
+<div class="fragment"><pre>01766 {
+01767 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>].resize (_Width*2);
+01768 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>].resize (_Width*2);
+01769 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>].resize (_Height*2);
+01770 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>].resize (_Height*2);
+01771
+01772 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> <a class="code" href="a04223.html#a575">w</a>=0; <a class="code" href="a04223.html#a575">w</a>&lt;<a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>; <a class="code" href="a04223.html#a575">w</a>++)
+01773 {
+01774 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>][<a class="code" href="a04223.html#a575">w</a>+_Width]=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>][<a class="code" href="a04223.html#a575">w</a>];
+01775 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>][<a class="code" href="a04223.html#a575">w</a>+_Width]=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>][<a class="code" href="a04223.html#a575">w</a>];
+01776 }
+01777 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> h=0; h&lt;<a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>; h++)
+01778 {
+01779 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>][h+_Height]=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>][h];
+01780 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>][h+_Height]=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>][h];
+01781 }
+01782 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera2" doxytag="NL3D::CTileBorder::get" ></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::CTileBorder::get </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>width</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>height</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>std::vector&lt; <a class="el" href="a02260.html">NLMISC::CBGRA</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>array</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>
+
+<p>
+Definition at line <a class="el" href="a06536.html#l01649">1649</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a06537.html#l00264">_Set</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="el" href="a05646.html#l01013">height</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, <a class="el" href="a05538.html#l02935">size</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l00236">w</a>, and <a class="el" href="a05646.html#l01013">width</a>.
+<p>
+<div class="fragment"><pre>01650 {
+01651 <span class="comment">// Go</span>
+01652 <span class="keywordflow">if</span> (<a class="code" href="a03519.html#NL3D_1_1CTileBorderr2">_Set</a>)
+01653 {
+01654 <a class="code" href="a04223.html#a632">width</a>=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>;
+01655 <a class="code" href="a04223.html#a633">height</a>=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>;
+01656 array.resize (0);
+01657 array.resize (_Width*_Height);
+01658 <a class="code" href="a04199.html#a6">nlassert</a> (_Borders[bottom].<a class="code" href="a04115.html#a94">size</a>()==(<a class="code" href="a04558.html#a15">uint</a>)_Width);
+01659 <a class="code" href="a04199.html#a6">nlassert</a> (_Borders[top].<a class="code" href="a04115.html#a94">size</a>()==(<a class="code" href="a04558.html#a15">uint</a>)_Width);
+01660 <a class="code" href="a04199.html#a6">nlassert</a> (_Borders[left].<a class="code" href="a04115.html#a94">size</a>()==(<a class="code" href="a04558.html#a15">uint</a>)_Height);
+01661 <a class="code" href="a04199.html#a6">nlassert</a> (_Borders[right].<a class="code" href="a04115.html#a94">size</a>()==(<a class="code" href="a04558.html#a15">uint</a>)_Height);
+01662
+01663 <span class="comment">// Fill</span>
+01664 <a class="code" href="a02260.html">CBGRA</a> black(0,0,0);
+01665 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> p=0; p&lt;_Width*_Height; p++)
+01666 {
+01667 array[p]=black;
+01668 }
+01669
+01670 <span class="comment">// Last line</span>
+01671 <span class="keywordtype">int</span> lastLine=(_Height-1)*_Width;
+01672 <span class="keywordtype">int</span> lastCol=(_Width-1);
+01673
+01674 <span class="comment">// Copy top/bottom border</span>
+01675 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> <a class="code" href="a04223.html#a575">w</a>=0; <a class="code" href="a04223.html#a575">w</a>&lt;_Width; <a class="code" href="a04223.html#a575">w</a>++)
+01676 {
+01677 array[<a class="code" href="a04223.html#a575">w</a>]=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[top][<a class="code" href="a04223.html#a575">w</a>];
+01678 array[<a class="code" href="a04223.html#a575">w</a>+lastLine]=_Borders[bottom][<a class="code" href="a04223.html#a575">w</a>];
+01679 }
+01680
+01681 <span class="comment">// Copy left/right border</span>
+01682 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> h=0; h&lt;_Height; h++)
+01683 {
+01684 array[h*_Width]=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[left][h];
+01685 array[h*_Width+lastCol]=_Borders[right][h];
+01686 }
+01687 }
+01688 <span class="keywordflow">else</span>
+01689 {
+01690 <a class="code" href="a04223.html#a632">width</a>=0;
+01691 <a class="code" href="a04223.html#a633">height</a>=0;
+01692 array.resize (0);
+01693 }
+01694 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera3" doxytag="NL3D::CTileBorder::getHeight" ></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#a10">sint32</a> NL3D::CTileBorder::getHeight </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>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00254">254</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00255 {
+00256 <span class="keywordflow">return</span> <a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>;
+00257 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera4" doxytag="NL3D::CTileBorder::getWidth" ></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#a10">sint32</a> NL3D::CTileBorder::getWidth </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>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00250">250</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a05981.html#l00099">sint32</a>.
+<p>
+<div class="fragment"><pre>00251 {
+00252 <span class="keywordflow">return</span> <a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>;
+00253 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera5" doxytag="NL3D::CTileBorder::isSet" ></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"> bool NL3D::CTileBorder::isSet </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>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00238">238</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00264">_Set</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01026">NL3D::CTileSet::checkTile128()</a>, <a class="el" href="a06536.html#l01069">NL3D::CTileSet::checkTile256()</a>, <a class="el" href="a06536.html#l01696">compare()</a>, and <a class="el" href="a06536.html#l01289">NL3D::CTileSet::getExistingTransitionTile()</a>.
+<p>
+<div class="fragment"><pre>00239 {
+00240 <span class="keywordflow">return</span> <a class="code" href="a03519.html#NL3D_1_1CTileBorderr2">_Set</a>;
+00241 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera6" doxytag="NL3D::CTileBorder::operator=" ></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::CTileBorder::operator= </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03519.html">CTileBorder</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>border</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="a06536.html#l01753">1753</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a06537.html#l00264">_Set</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, and <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>.
+<p>
+<div class="fragment"><pre>01754 {
+01755 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr2">_Set</a>=<a class="code" href="a04223.html#a635">border</a>._Set;
+01756 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>=<a class="code" href="a04223.html#a635">border</a>._Width;
+01757 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>=<a class="code" href="a04223.html#a635">border</a>._Width;
+01758 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>]=<a class="code" href="a04223.html#a635">border</a>._Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>];
+01759 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>]=<a class="code" href="a04223.html#a635">border</a>._Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>];
+01760 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>]=<a class="code" href="a04223.html#a635">border</a>._Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>];
+01761 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>]=<a class="code" href="a04223.html#a635">border</a>._Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>];
+01762 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera7" doxytag="NL3D::CTileBorder::operator==" ></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"> bool NL3D::CTileBorder::operator== </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">const <a class="el" href="a03519.html">CTileBorder</a> &amp;&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>border</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>
+
+<p>
+Definition at line <a class="el" href="a06536.html#l01748">1748</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, and <a class="el" href="a05646.html#l01013">border</a>.
+<p>
+<div class="fragment"><pre>01749 {
+01750 <span class="keywordflow">return</span> (<a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>==<a class="code" href="a04223.html#a635">border</a>._Width) &amp;&amp; (<a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>==<a class="code" href="a04223.html#a635">border</a>._Height) &amp;&amp; (<a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>==<a class="code" href="a04223.html#a635">border</a>._Borders);
+01751 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera8" doxytag="NL3D::CTileBorder::reset" ></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::CTileBorder::reset </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">void&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </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>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00242">242</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a06537.html#l00264">_Set</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, and <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01527">NL3D::CTileSet::cleanUnusedData()</a>, <a class="el" href="a06536.html#l01417">NL3D::CTileSet::clearTransition()</a>, <a class="el" href="a06537.html#l00228">CTileBorder()</a>, and <a class="el" href="a06536.html#l01429">NL3D::CTileSet::deleteBordersIfLast()</a>.
+<p>
+<div class="fragment"><pre>00243 {
+00244 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr2">_Set</a>=<span class="keyword">false</span>;
+00245 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>].clear();
+00246 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>].clear();
+00247 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>].clear();
+00248 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>].clear();
+00249 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera9" doxytag="NL3D::CTileBorder::rotate" ></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::CTileBorder::rotate </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></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="a06536.html#l01784">1784</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, <a class="el" href="a05981.html#l00099">sint32</a>, <a class="el" href="a05646.html#l00645">size</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>01785 {
+01786 <span class="comment">// Copy the right</span>
+01787 std::vector&lt;NLMISC::CBGRA&gt; tmpLeft=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>];
+01788
+01789 <span class="comment">// Top inverted becomes left</span>
+01790 <a class="code" href="a04558.html#a15">uint</a> i, <a class="code" href="a04223.html#a587">size</a>;
+01791 <a class="code" href="a04223.html#a587">size</a>=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>].size();
+01792 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>].resize (size);
+01793
+01794 <span class="comment">// copy inverted</span>
+01795 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a04223.html#a587">size</a>; i++)
+01796 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>][i]=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>][<a class="code" href="a04223.html#a587">size</a>-i-1];
+01797
+01798 <span class="comment">// Right become top</span>
+01799 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>]=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>];
+01800
+01801 <span class="comment">// bottom inverted becomes right</span>
+01802 <a class="code" href="a04223.html#a587">size</a>=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>].size();
+01803 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>].resize (size);
+01804
+01805 <span class="comment">// copy inverted</span>
+01806 <span class="keywordflow">for</span> (i=0; i&lt;<a class="code" href="a04223.html#a587">size</a>; i++)
+01807 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>][i]=_Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>][<a class="code" href="a04223.html#a587">size</a>-i-1];
+01808
+01809 <span class="comment">// Left become bottom</span>
+01810 _Borders[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>]=tmpLeft;
+01811
+01812 <span class="comment">// Invert size</span>
+01813 <a class="code" href="a04558.html#a10">sint32</a> tmpSize=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>;
+01814 _Width=<a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>;
+01815 _Height=tmpSize;
+01816 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera10" doxytag="NL3D::CTileBorder::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::CTileBorder::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> throw (<a class="el" href="a03781.html">NLMISC::EStream</a>)</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="a06536.html#l01599">1599</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l00920">NL3D::CTileSet::serial()</a>.
+<p>
+<div class="fragment"><pre>01600 {
+01601 (<span class="keywordtype">void</span>)f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(_Version);
+01602
+01603 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Set);
+01604 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Width);
+01605 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Height);
+01606 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_Borders[top]);
+01607 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_Borders[bottom]);
+01608 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_Borders[left]);
+01609 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_Borders[right]);
+01610 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBordera11" doxytag="NL3D::CTileBorder::set" ></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::CTileBorder::set </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">int&nbsp;</td>
+ <td class="mdname" nowrap> <em>width</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>int&nbsp;</td>
+ <td class="mdname" nowrap> <em>height</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const std::vector&lt; <a class="el" href="a02260.html">NLMISC::CBGRA</a> &gt; &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>array</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>
+
+<p>
+Definition at line <a class="el" href="a06536.html#l01612">1612</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00267">_Borders</a>, <a class="el" href="a06537.html#l00264">_Set</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>, <a class="el" href="a05646.html#l01013">height</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>, <a class="el" href="a05646.html#l00236">w</a>, and <a class="el" href="a05646.html#l01013">width</a>.
+<p>
+<div class="fragment"><pre>01613 {
+01614 <span class="comment">// Check array size</span>
+01615 <a class="code" href="a04199.html#a6">nlassert</a> (width&gt;0);
+01616 <a class="code" href="a04199.html#a6">nlassert</a> (height&gt;0);
+01617 <a class="code" href="a04199.html#a6">nlassert</a> ((<a class="code" href="a04558.html#a14">sint</a>)array.size()==<a class="code" href="a04223.html#a632">width</a>*<a class="code" href="a04223.html#a633">height</a>);
+01618
+01619 <span class="comment">// Copy size</span>
+01620 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>=<a class="code" href="a04223.html#a632">width</a>;
+01621 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>=<a class="code" href="a04223.html#a633">height</a>;
+01622
+01623 <span class="comment">// Last line</span>
+01624 <span class="keywordtype">int</span> lastLine=(<a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>-1)*<a class="code" href="a04223.html#a632">width</a>;
+01625 <span class="keywordtype">int</span> lastCol=(<a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>-1);
+01626 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>].resize (_Width);
+01627 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>].resize (_Width);
+01628 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>].resize (_Height);
+01629 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>].resize (_Height);
+01630
+01631 <span class="comment">// Copy top/bottom border</span>
+01632 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> <a class="code" href="a04223.html#a575">w</a>=0; <a class="code" href="a04223.html#a575">w</a>&lt;<a class="code" href="a03519.html#NL3D_1_1CTileBorderr3">_Width</a>; <a class="code" href="a04223.html#a575">w</a>++)
+01633 {
+01634 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw5">top</a>][<a class="code" href="a04223.html#a575">w</a>]=array[<a class="code" href="a04223.html#a575">w</a>];
+01635 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw1">bottom</a>][<a class="code" href="a04223.html#a575">w</a>]=array[<a class="code" href="a04223.html#a575">w</a>+lastLine];
+01636 }
+01637
+01638 <span class="comment">// Copy left/right border</span>
+01639 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> h=0; h&lt;<a class="code" href="a03519.html#NL3D_1_1CTileBorderr1">_Height</a>; h++)
+01640 {
+01641 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw2">left</a>][h]=array[h*_Width];
+01642 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr0">_Borders</a>[<a class="code" href="a03519.html#NL3D_1_1CTileBorderw4NL3D_1_1CTileBorderw3">right</a>][h]=array[h*_Width+lastCol];
+01643 }
+01644
+01645 <span class="comment">// Set</span>
+01646 <a class="code" href="a03519.html#NL3D_1_1CTileBorderr2">_Set</a>=<span class="keyword">true</span>;
+01647 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTileBorderr0" doxytag="NL3D::CTileBorder::_Borders" ></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"> std::vector&lt;<a class="el" href="a02260.html">NLMISC::CBGRA</a>&gt; <a class="el" href="a03519.html#NL3D_1_1CTileBorderr0">NL3D::CTileBorder::_Borders</a>[borderCount]<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="a06537.html#l00267">267</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01696">compare()</a>, <a class="el" href="a06536.html#l01765">doubleSize()</a>, <a class="el" href="a06536.html#l01649">get()</a>, <a class="el" href="a06536.html#l01753">operator=()</a>, <a class="el" href="a06536.html#l01748">operator==()</a>, <a class="el" href="a06537.html#l00242">reset()</a>, <a class="el" href="a06536.html#l01784">rotate()</a>, and <a class="el" href="a06536.html#l01612">set()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBorderr1" doxytag="NL3D::CTileBorder::_Height" ></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#a10">sint32</a> <a class="el" href="a03519.html#NL3D_1_1CTileBorderr1">NL3D::CTileBorder::_Height</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="a06537.html#l00266">266</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBorderr2" doxytag="NL3D::CTileBorder::_Set" ></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"> bool <a class="el" href="a03519.html#NL3D_1_1CTileBorderr2">NL3D::CTileBorder::_Set</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="a06537.html#l00264">264</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01649">get()</a>, <a class="el" href="a06537.html#l00238">isSet()</a>, <a class="el" href="a06536.html#l01753">operator=()</a>, <a class="el" href="a06537.html#l00242">reset()</a>, and <a class="el" href="a06536.html#l01612">set()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBorderv0" doxytag="NL3D::CTileBorder::_Version" ></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"> const <a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a03519.html#NL3D_1_1CTileBorderv0">NL3D::CTileBorder::_Version</a> = 0<code> [static, 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="a06536.html#l01597">1597</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTileBorderr3" doxytag="NL3D::CTileBorder::_Width" ></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#a10">sint32</a> <a class="el" href="a03519.html#NL3D_1_1CTileBorderr3">NL3D::CTileBorder::_Width</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="a06537.html#l00265">265</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a06537.html">tile_bank.h</a><li><a class="el" href="a06536.html">tile_bank.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:04:21 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>