aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a03515.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a03515.html746
1 files changed, 746 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03515.html b/docs/doxygen/nel/a03515.html
new file mode 100644
index 00000000..81a356ac
--- /dev/null
+++ b/docs/doxygen/nel/a03515.html
@@ -0,0 +1,746 @@
+<!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::CTile 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::CTile 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>
+Tiles <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#l00057">57</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="a03515.html#NL3D_1_1CTilew4">TBitmap</a> { <a class="el" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew3">diffuse</a> = 0,
+<a class="el" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew0">additive</a>,
+<a class="el" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew1">alpha</a>,
+<a class="el" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew2">bitmapCount</a>
+ }</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="a03515.html#NL3D_1_1CTilea0">CTile</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilea1">getGroupFlags</a> () const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilea2">getRelativeFileName</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">TBitmap</a> bitmapType) const </td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilea3">getRotAlpha</a> ()</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the additional orientation (CCW) for alpha texture. <a href="#NL3D_1_1CTilea3"></a><br><br></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>bool&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilea4">isFree</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="a03515.html#NL3D_1_1CTilea5">serial</a> (class <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="a03515.html#NL3D_1_1CTilea6">setFileName</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">TBitmap</a> bitmapType, const std::string &amp;name)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilea7">setGroupFlags</a> (<a class="el" href="a04558.html#a15">uint</a> group)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilea8">setRotAlpha</a> (<a class="el" href="a04558.html#a7">uint8</a> rot)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the additional orientation (CCW) for alpha texture. <a href="#NL3D_1_1CTilea8"></a><br><br></td></tr>
+<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTiled0">clearTile</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>)</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTiled1">free</a> ()</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>std::string&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTiler0">_BitmapName</a> [bitmapCount]</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTiler1">_Flags</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="a03515.html#NL3D_1_1CTilev0">_Version</a> = 4</td></tr>
+
+<tr><td colspan=2><br><h2>Friends</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilen0">CTileBank</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>class&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a03515.html#NL3D_1_1CTilen1">CTileSet</a></td></tr>
+
+</table>
+<hr><h2>Member Enumeration Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTilew4" doxytag="NL3D::CTile::TBitmap" ></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="a03515.html#NL3D_1_1CTilew4">NL3D::CTile::TBitmap</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_1CTilew4NL3D_1_1CTilew3" doxytag="diffuse" ></a>diffuse</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTilew4NL3D_1_1CTilew0" doxytag="additive" ></a>additive</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTilew4NL3D_1_1CTilew1" doxytag="alpha" ></a>alpha</em>&nbsp;</td><td>
+</td></tr>
+<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTilew4NL3D_1_1CTilew2" doxytag="bitmapCount" ></a>bitmapCount</em>&nbsp;</td><td>
+</td></tr>
+</table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00074">74</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+<div class="fragment"><pre>00074 { <a class="code" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew3">diffuse</a>=0, <a class="code" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew0">additive</a>, <a class="code" href="a04223.html#a663">alpha</a>, <a class="code" href="a03515.html#NL3D_1_1CTilew4NL3D_1_1CTilew2">bitmapCount</a> };
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTilea0" doxytag="NL3D::CTile::CTile" ></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::CTile::CTile </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#l00076">76</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00066">NL3D_CTILE_FREE_FLAG</a>.
+<p>
+<div class="fragment"><pre>00077 {
+00078 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>=<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>;
+00079 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTiled0" doxytag="NL3D::CTile::clearTile" ></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::CTile::clearTile </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>type</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [private]</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#l00810">810</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a06537.html#l00154">_BitmapName</a>, and <a class="el" href="a05646.html#l00244">type</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01399">NL3D::CTileSet::clearTile128()</a>, <a class="el" href="a06536.html#l01408">NL3D::CTileSet::clearTile256()</a>, and <a class="el" href="a06536.html#l01417">NL3D::CTileSet::clearTransition()</a>.
+<p>
+<div class="fragment"><pre>00811 {
+00812 <a class="code" href="a03515.html#NL3D_1_1CTiler0">_BitmapName</a>[<a class="code" href="a04223.html#a581">type</a>]=<span class="stringliteral">""</span>;
+00813 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTiled1" doxytag="NL3D::CTile::free" ></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::CTile::free </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, private]</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#l00146">146</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00066">NL3D_CTILE_FREE_FLAG</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>.
+<p>
+<div class="fragment"><pre>00147 {
+00148 <a class="code" href="a04199.html#a6">nlassert</a> ((_Flags&amp;=NL3D_CTILE_FREE_FLAG)==0);
+00149 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>|=<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>;
+00150 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea1" doxytag="NL3D::CTile::getGroupFlags" ></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#a15">uint</a> NL3D::CTile::getGroupFlags </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap> const<code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Get the group flags for this tile.<p>
+If the tile is in the I-ne gourp, the flag 1&lt;&lt;I is set. There are 12 groups.
+<p>
+Definition at line <a class="el" href="a06537.html#l00122">122</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00062">NL3D_CTILE_GROUP_MASK</a>, <a class="el" href="a06537.html#l00065">NL3D_CTILE_GROUP_RSHIFT</a>, and <a class="el" href="a05981.html#l00105">uint</a>.
+<p>
+<div class="fragment"><pre>00123 {
+00124 <span class="keywordflow">return</span> ((<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a2">NL3D_CTILE_GROUP_MASK</a>)&gt;&gt;<a class="code" href="a05114.html#a5">NL3D_CTILE_GROUP_RSHIFT</a>);
+00125 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea2" doxytag="NL3D::CTile::getRelativeFileName" ></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 std::string&amp; NL3D::CTile::getRelativeFileName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">TBitmap</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>bitmapType</em> </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#l00080">80</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00154">_BitmapName</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01429">NL3D::CTileSet::deleteBordersIfLast()</a>, and <a class="el" href="a05862.html#l01670">NL3D::CLandscape::loadTile()</a>.
+<p>
+<div class="fragment"><pre>00081 {
+00082 <span class="keywordflow">return</span> <a class="code" href="a03515.html#NL3D_1_1CTiler0">_BitmapName</a>[bitmapType];
+00083 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea3" doxytag="NL3D::CTile::getRotAlpha" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a7">uint8</a> NL3D::CTile::getRotAlpha </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>
+Get the additional orientation (CCW) for alpha texture.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00099">99</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00060">NL3D_CTILE_ROT_MASK</a>, <a class="el" href="a06537.html#l00061">NL3D_CTILE_ROT_RSHIFT</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a05862.html#l01670">NL3D::CLandscape::loadTile()</a>.
+<p>
+<div class="fragment"><pre>00100 {
+00101 <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a7">uint8</a>)((<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a0">NL3D_CTILE_ROT_MASK</a>)&gt;&gt;<a class="code" href="a05114.html#a1">NL3D_CTILE_ROT_RSHIFT</a>);
+00102 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea4" doxytag="NL3D::CTile::isFree" ></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::CTile::isFree </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#l00084">84</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00066">NL3D_CTILE_FREE_FLAG</a>.
+<p>
+<div class="fragment"><pre>00085 {
+00086 <span class="keywordflow">return</span> (<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>)!=0;
+00087 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea5" doxytag="NL3D::CTile::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::CTile::serial </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">class <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#l00757">757</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>.
+<p>
+References <a class="el" href="a05646.html#l01173">alpha</a>, <a class="el" href="a06537.html#l00066">NL3D_CTILE_FREE_FLAG</a>, <a class="el" href="a06537.html#l00067">NL3D_CTILE_FREE_FLAG_V2</a>, <a class="el" href="a06537.html#l00068">NL3D_CTILE_FREE_FLAG_V3</a>, <a class="el" href="a06537.html#l00063">NL3D_CTILE_GROUP_MASK_V2</a>, <a class="el" href="a06537.html#l00064">NL3D_CTILE_GROUP_MASK_V3</a>, <a class="el" href="a06537.html#l00060">NL3D_CTILE_ROT_MASK</a>, and <a class="el" href="a05981.html#l00104">sint</a>.
+<p>
+<div class="fragment"><pre>00758 {
+00759 <a class="code" href="a04558.html#a14">sint</a> streamver = f.serialVersion(_Version);
+00760
+00761 <span class="comment">// Tmp value</span>
+00762 <span class="keywordtype">bool</span> tmp;
+00763 string tmpStr;
+00764
+00765 <span class="keywordflow">switch</span> (streamver)
+00766 {
+00767 <span class="keywordflow">case</span> 4:
+00768 <span class="keywordflow">case</span> 3:
+00769 <span class="keywordflow">case</span> 2:
+00770 f.serial (_Flags);
+00771
+00772 <span class="comment">// Version 2, flags are not the same</span>
+00773 <span class="keywordflow">if</span> (streamver==2)
+00774 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>=(<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a0">NL3D_CTILE_ROT_MASK</a>)|(<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a3">NL3D_CTILE_GROUP_MASK_V2</a>)|(((<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a7">NL3D_CTILE_FREE_FLAG_V2</a>)!=0)?<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>:0);
+00775 <span class="keywordflow">if</span> (streamver==3)
+00776 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>=(<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a0">NL3D_CTILE_ROT_MASK</a>)|(<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a4">NL3D_CTILE_GROUP_MASK_V3</a>)|(((<a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;<a class="code" href="a05114.html#a8">NL3D_CTILE_FREE_FLAG_V3</a>)!=0)?<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>:0);
+00777
+00778 f.serial (_BitmapName[diffuse]);
+00779 f.serial (_BitmapName[additive]);
+00780 f.serial (_BitmapName[<a class="code" href="a04223.html#a663">alpha</a>]);
+00781 <span class="keywordflow">break</span>;
+00782 <span class="keywordflow">case</span> 1:
+00783 <span class="comment">// Don't need invert many more</span>
+00784 f.serial (tmp);
+00785 <span class="keywordflow">case</span> 0:
+00786 <span class="comment">// Initialize flags</span>
+00787 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>=0;
+00788
+00789 <span class="comment">// Initialize alpha name</span>
+00790 <a class="code" href="a03515.html#NL3D_1_1CTiler0">_BitmapName</a>[<a class="code" href="a04223.html#a663">alpha</a>]=<span class="stringliteral">""</span>;
+00791
+00792 <span class="comment">// Read free flag</span>
+00793 f.serial (tmp);
+00794
+00795 <span class="comment">// If free, set the flag</span>
+00796 <span class="keywordflow">if</span> (tmp)
+00797 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>|=<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>;
+00798
+00799 <span class="comment">// Read diffuse bitmap and additive</span>
+00800 f.serial (_BitmapName[diffuse]);
+00801 f.serial (_BitmapName[additive]);
+00802
+00803 <span class="comment">// Don't need bump name</span>
+00804 f.serial (tmpStr);
+00805
+00806 <span class="keywordflow">break</span>;
+00807 }
+00808 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea6" doxytag="NL3D::CTile::setFileName" ></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::CTile::setFileName </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">TBitmap</a>&nbsp;</td>
+ <td class="mdname" nowrap> <em>bitmapType</em>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td></td>
+ <td class="md" nowrap>const std::string &amp;&nbsp;</td>
+ <td class="mdname" nowrap> <em>name</em></td>
+ </tr>
+ <tr>
+ <td></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"><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#l00089">89</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00154">_BitmapName</a>, and <a class="el" href="a06537.html#l00066">NL3D_CTILE_FREE_FLAG</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01018">NL3D::CTileSet::setTile128()</a>, <a class="el" href="a06536.html#l01108">NL3D::CTileSet::setTile256()</a>, <a class="el" href="a06536.html#l01116">NL3D::CTileSet::setTileTransition()</a>, and <a class="el" href="a06536.html#l01130">NL3D::CTileSet::setTileTransitionAlpha()</a>.
+<p>
+<div class="fragment"><pre>00090 {
+00091 <span class="comment">// not free</span>
+00092 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;=~<a class="code" href="a05114.html#a6">NL3D_CTILE_FREE_FLAG</a>;
+00093
+00094 <span class="comment">// set filename</span>
+00095 <a class="code" href="a03515.html#NL3D_1_1CTiler0">_BitmapName</a>[bitmapType]=name;
+00096 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea7" doxytag="NL3D::CTile::setGroupFlags" ></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::CTile::setGroupFlags </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>group</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the group flags for this tile.<p>
+If the tile is in the I-ne gourp, the flag 1&lt;&lt;I is set. There are 12 groups.
+<p>
+Definition at line <a class="el" href="a06537.html#l00132">132</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00062">NL3D_CTILE_GROUP_MASK</a>, <a class="el" href="a06537.html#l00065">NL3D_CTILE_GROUP_RSHIFT</a>, <a class="el" href="a06537.html#l00069">NL3D_CTILE_NUM_GROUP</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+<div class="fragment"><pre>00133 {
+00134 <span class="comment">// Checks</span>
+00135 <a class="code" href="a04199.html#a6">nlassert</a> (group&lt;NL3D_CTILE_NUM_GROUP);
+00136
+00137 <span class="comment">// Clear flags</span>
+00138 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;=~<a class="code" href="a05114.html#a2">NL3D_CTILE_GROUP_MASK</a>;
+00139
+00140 <span class="comment">// Set flags</span>
+00141 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>|=(((<a class="code" href="a04558.html#a11">uint32</a>)group)&lt;&lt;<a class="code" href="a05114.html#a5">NL3D_CTILE_GROUP_RSHIFT</a>);
+00142 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilea8" doxytag="NL3D::CTile::setRotAlpha" ></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::CTile::setRotAlpha </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a7">uint8</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>rot</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap><code> [inline]</code></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Set the additional orientation (CCW) for alpha texture.
+<p>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00105">105</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+References <a class="el" href="a06537.html#l00060">NL3D_CTILE_ROT_MASK</a>, <a class="el" href="a06537.html#l00061">NL3D_CTILE_ROT_RSHIFT</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a05981.html#l00100">uint32</a>, and <a class="el" href="a05981.html#l00096">uint8</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l01018">NL3D::CTileSet::setTile128()</a>, <a class="el" href="a06536.html#l01108">NL3D::CTileSet::setTile256()</a>, and <a class="el" href="a06536.html#l01130">NL3D::CTileSet::setTileTransitionAlpha()</a>.
+<p>
+<div class="fragment"><pre>00106 {
+00107 <span class="comment">// Checks</span>
+00108 <a class="code" href="a04199.html#a6">nlassert</a> (rot&lt;4);
+00109
+00110 <span class="comment">// Clear flags</span>
+00111 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>&amp;=~<a class="code" href="a05114.html#a0">NL3D_CTILE_ROT_MASK</a>;
+00112
+00113 <span class="comment">// Set flags</span>
+00114 <a class="code" href="a03515.html#NL3D_1_1CTiler1">_Flags</a>|=(((<a class="code" href="a04558.html#a11">uint32</a>)rot)&lt;&lt;<a class="code" href="a05114.html#a1">NL3D_CTILE_ROT_RSHIFT</a>);
+00115 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Friends And Related Function Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTilen0" doxytag="NL3D::CTile::CTileBank" ></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"> friend class <a class="el" href="a03517.html">CTileBank</a><code> [friend]</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#l00073">73</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilen1" doxytag="NL3D::CTile::CTileSet" ></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"> friend class <a class="el" href="a03534.html">CTileSet</a><code> [friend]</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#l00072">72</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NL3D_1_1CTiler0" doxytag="NL3D::CTile::_BitmapName" ></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::string <a class="el" href="a03515.html#NL3D_1_1CTiler0">NL3D::CTile::_BitmapName</a>[bitmapCount]<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#l00154">154</a> of file <a class="el" href="a06537.html">tile_bank.h</a>.
+<p>
+Referenced by <a class="el" href="a06536.html#l00810">clearTile()</a>, <a class="el" href="a06537.html#l00080">getRelativeFileName()</a>, and <a class="el" href="a06537.html#l00089">setFileName()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTiler1" doxytag="NL3D::CTile::_Flags" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a03515.html#NL3D_1_1CTiler1">NL3D::CTile::_Flags</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a06537.html#l00153">153</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NL3D_1_1CTilev0" doxytag="NL3D::CTile::_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="a03515.html#NL3D_1_1CTilev0">NL3D::CTile::_Version</a> = 4<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#l00755">755</a> of file <a class="el" href="a06536.html">tile_bank.cpp</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:03:48 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>