diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/a03524.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/a03524.html')
-rw-r--r-- | docs/doxygen/nel/a03524.html | 510 |
1 files changed, 510 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03524.html b/docs/doxygen/nel/a03524.html new file mode 100644 index 00000000..84fc79f7 --- /dev/null +++ b/docs/doxygen/nel/a03524.html @@ -0,0 +1,510 @@ +<!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::CTileFarBank 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NL3D::CTileFarBank Class Reference</h1><code>#include <<a class="el" href="a06543.html">tile_far_bank.h</a>></code> +<p> +<hr><a name="_details"></a><h2>Detailed Description</h2> +A bank for the far textures <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="a06543.html#l00055">55</a> of file <a class="el" href="a06543.html">tile_far_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 </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> { <a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw3">order0</a> = 0, +<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw4">order1</a> = 1, +<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw5">order2</a> = 2, +<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw6">orderCount</a> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8">TFarType</a> { <a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw2">diffuse</a> = 0, +<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw0">additive</a> = 1, +<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw1">alpha</a> = 2, +<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw9">typeCount</a> = 2 + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanka0">CTileFarBank</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CTileFarBanka0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanka1">getNumTile</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get number of tile in this bank. <a href="#NL3D_1_1CTileFarBanka1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03525.html">CTileFar</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanka2">getTile</a> (<a class="el" href="a04558.html#a14">sint</a> tile)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a far tile pointer. Return NULL if the tile doesn't exist. <a href="#NL3D_1_1CTileFarBanka2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03525.html">CTileFar</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanka3">getTile</a> (<a class="el" href="a04558.html#a14">sint</a> tile) const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get a read only far tile pointer. Return NULL if the tile doesn't exist. <a href="#NL3D_1_1CTileFarBanka3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanka4">serial</a> (class <a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Serial this bank. <a href="#NL3D_1_1CTileFarBanka4"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanka5">setNumTile</a> (<a class="el" href="a04558.html#a14">sint</a> numTile)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Resize the tile bank. <a href="#NL3D_1_1CTileFarBanka5"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanke0">getFarTileEdgeSize</a> (<a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> order)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the tile size. <a href="#NL3D_1_1CTileFarBanke0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a03525.html">CTileFar</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The far tile vector. <a href="#NL3D_1_1CTileFarBanko0"></a><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a04558.html#a14">sint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03524.html#NL3D_1_1CTileFarBanks0">_Version</a> = 0x0</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">The version of this class. <a href="#NL3D_1_1CTileFarBanks0"></a><br><br></td></tr> +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBankw7" doxytag="NL3D::CTileFarBank::TFarOrder" ></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="a03524.html#NL3D_1_1CTileFarBankw7">NL3D::CTileFarBank::TFarOrder</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CTileFarBankw7NL3D_1_1CTileFarBankw3" doxytag="order0" ></a>order0</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw4" doxytag="order1" ></a>order1</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw5" doxytag="order2" ></a>order2</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw6" doxytag="orderCount" ></a>orderCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06543.html#l00059">59</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +<div class="fragment"><pre>00059 { <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw3">order0</a>=0, <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw4">order1</a>=1, <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw5">order2</a>=2, <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw7NL3D_1_1CTileFarBankw6">orderCount</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBankw8" doxytag="NL3D::CTileFarBank::TFarType" ></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="a03524.html#NL3D_1_1CTileFarBankw8">NL3D::CTileFarBank::TFarType</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </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_1CTileFarBankw8NL3D_1_1CTileFarBankw2" doxytag="diffuse" ></a>diffuse</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw0" doxytag="additive" ></a>additive</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw1" doxytag="alpha" ></a>alpha</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw9" doxytag="typeCount" ></a>typeCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06543.html#l00060">60</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +<div class="fragment"><pre>00060 { <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw2">diffuse</a>=0, <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw0">additive</a>=1, <a class="code" href="a04223.html#a663">alpha</a>=2, <a class="code" href="a03524.html#NL3D_1_1CTileFarBankw8NL3D_1_1CTileFarBankw9">typeCount</a>=2 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBanka0" doxytag="NL3D::CTileFarBank::CTileFarBank" ></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::CTileFarBank::CTileFarBank </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06542.html#l00106">106</a> of file <a class="el" href="a06542.html">tile_far_bank.cpp</a>. +<p> +<div class="fragment"><pre>00107 { +00108 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBanke0" doxytag="NL3D::CTileFarBank::getFarTileEdgeSize" ></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::CTileFarBank::getFarTileEdgeSize </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03524.html#NL3D_1_1CTileFarBankw7">TFarOrder</a> </td> + <td class="mdname1" valign="top" nowrap> <em>order</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the tile size. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00155">155</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00156 { +00157 <span class="keywordflow">return</span> 4>>(<a class="code" href="a04558.html#a15">uint</a>)order; +00158 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBanka1" doxytag="NL3D::CTileFarBank::getNumTile" ></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#a14">sint</a> NL3D::CTileFarBank::getNumTile </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get number of tile in this bank. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00117">117</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a05862.html#l02592">NL3D::CLandscape::initTileBanks()</a>. +<p> +<div class="fragment"><pre>00118 { +00119 <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.size(); +00120 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBanka2" doxytag="NL3D::CTileFarBank::getTile" ></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="a03525.html">CTileFar</a>* NL3D::CTileFarBank::getTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>tile</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a far tile pointer. Return NULL if the tile doesn't exist. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00142">142</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00143 { +00144 <span class="preprocessor">#ifdef NL_DEBUG</span> +00145 <span class="preprocessor"></span> <span class="keywordflow">if</span> (tile>=(<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.size()) +00146 <span class="keywordflow">return</span> NULL; +00147 <span class="preprocessor">#else // NL_DEBUG</span> +00148 <span class="preprocessor"></span> <span class="keywordflow">if</span> (<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.begin()+tile>=<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.end()) +00149 <span class="keywordflow">return</span> NULL; +00150 <span class="preprocessor">#endif</span> +00151 <span class="preprocessor"></span> <span class="keywordflow">return</span> &<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>[tile]; +00152 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBanka3" doxytag="NL3D::CTileFarBank::getTile" ></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="a03525.html">CTileFar</a>* NL3D::CTileFarBank::getTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>tile</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get a read only far tile pointer. Return NULL if the tile doesn't exist. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00129">129</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06163.html#l00964">NL3D::CPatchDLMContext::computeTextureFar()</a>, <a class="el" href="a05862.html#l02552">NL3D::CLandscape::eraseTileFarIfNotGood()</a>, and <a class="el" href="a06519.html#l00465">NL3D::CTextureFar::rebuildPatch()</a>. +<p> +<div class="fragment"><pre>00130 { +00131 <span class="preprocessor">#ifdef NL_DEBUG</span> +00132 <span class="preprocessor"></span> <span class="keywordflow">if</span> (tile>=(<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.size()) +00133 <span class="keywordflow">return</span> NULL; +00134 <span class="preprocessor">#else // NL_DEBUG</span> +00135 <span class="preprocessor"></span> <span class="keywordflow">if</span> (<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.begin()+tile>=<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.end()) +00136 <span class="keywordflow">return</span> NULL; +00137 <span class="preprocessor">#endif</span> +00138 <span class="preprocessor"></span> <span class="keywordflow">return</span> &<a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>[tile]; +00139 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBanka4" doxytag="NL3D::CTileFarBank::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::CTileFarBank::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">class <a class="el" href="a02270.html">NLMISC::IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> 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> + + </td> + <td> + +<p> +Serial this bank. +<p> + +<p> +Definition at line <a class="el" href="a06542.html#l00113">113</a> of file <a class="el" href="a06542.html">tile_far_bank.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00064">NL3D::CLandscapeUser::loadBankFiles()</a>. +<p> +<div class="fragment"><pre>00114 { +00115 <span class="comment">// Write/Check "FAR_BANK" in header of the stream</span> +00116 f.serialCheck ((<a class="code" href="a04558.html#a11">uint32</a>)'_RAF'); +00117 f.serialCheck ((<a class="code" href="a04558.html#a11">uint32</a>)'KNAB'); +00118 +00119 <span class="comment">// Serial version</span> +00120 (<span class="keywordtype">void</span>)f.serialVersion(_Version); +00121 +00122 <span class="comment">// Serial tiles</span> +00123 f.serialCont (_TileVector); +00124 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBanka5" doxytag="NL3D::CTileFarBank::setNumTile" ></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::CTileFarBank::setNumTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a14">sint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>numTile</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Resize the tile bank. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00123">123</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00124 { +00125 <a class="code" href="a03524.html#NL3D_1_1CTileFarBanko0">_TileVector</a>.resize(numTile); +00126 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileFarBanko0" doxytag="NL3D::CTileFarBank::_TileVector" ></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<<a class="el" href="a03525.html">CTileFar</a>> <a class="el" href="a03524.html#NL3D_1_1CTileFarBanko0">NL3D::CTileFarBank::_TileVector</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The far tile vector. +<p> + +<p> +Definition at line <a class="el" href="a06543.html#l00164">164</a> of file <a class="el" href="a06543.html">tile_far_bank.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileFarBanks0" doxytag="NL3D::CTileFarBank::_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="a03524.html#NL3D_1_1CTileFarBanks0">NL3D::CTileFarBank::_Version</a> = 0x0<code> [static]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +The version of this class. +<p> + +<p> +Definition at line <a class="el" href="a06542.html#l00111">111</a> of file <a class="el" href="a06542.html">tile_far_bank.cpp</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06543.html">tile_far_bank.h</a><li><a class="el" href="a06542.html">tile_far_bank.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:04:40 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> |