diff options
Diffstat (limited to 'docs/doxygen/nel/a03534.html')
-rw-r--r-- | docs/doxygen/nel/a03534.html | 3804 |
1 files changed, 3804 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03534.html b/docs/doxygen/nel/a03534.html new file mode 100644 index 00000000..d2e3a815 --- /dev/null +++ b/docs/doxygen/nel/a03534.html @@ -0,0 +1,3804 @@ +<!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::CTileSet 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::CTileSet Class Reference</h1><code>#include <<a class="el" href="a06537.html">tile_bank.h</a>></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#l00277">277</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 </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetw26">TBorder</a> { <br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw30">top</a> = 0, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8">bottom</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18">left</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22">right</a>, +<br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw7">borderCount</a> +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> { <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a> = 0, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw17">LastDisplace</a> = 15, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11">CountDisplace</a> = 16 + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetw28">TError</a> { <br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a> = 0, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>, +<br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6">addFirstA128128</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31">topBottomNotTheSame</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24">rightLeftNotTheSame</a>, +<br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25">sizeInvalide</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw13">errorCount</a> +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> { <br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a> = 0, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>, +<br> + <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a> = -1 +<br> + }</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> { <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a> = 0, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw16">last</a> = 47, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw10">count</a> = 48, +<a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a> = -1 + }</td></tr> + +<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta0">addChild</a> (const std::string &name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta1">addTile128</a> (int &indexInTileSet, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta2">addTile256</a> (int &indexInTileSet, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw28">TError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta3">checkTile128</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, const <a class="el" href="a03519.html">CTileBorder</a> &<a class="el" href="a04223.html#a635">border</a>, int &pixel, int &composante)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw28">TError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta4">checkTile256</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, const <a class="el" href="a03519.html">CTileBorder</a> &<a class="el" href="a04223.html#a635">border</a>, int &pixel, int &composante)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw28">TError</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta5">checkTileTransition</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> transition, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, const <a class="el" href="a03519.html">CTileBorder</a> &<a class="el" href="a04223.html#a635">border</a>, int &indexError, int &pixel, int &composante)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta6">cleanUnusedData</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta7">clearDisplacement</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> displacement, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta8">clearTile128</a> (int indexInTileSet, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta9">clearTile256</a> (int indexInTileSet, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta10">clearTransition</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> transition, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta11">CTileSet</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03519.html">CTileBorder</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta12">getBorder128</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> bitmapType) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03519.html">CTileBorder</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta13">getBorder256</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> bitmapType) const </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="a03534.html#NL3D_1_1CTileSeta14">getDisplacementTile</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> displacement) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> _top, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> _bottom, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> _left, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> _right, int reject, <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>const std::string & </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta16">getName</a> () const </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="a03534.html#NL3D_1_1CTileSeta17">getNumTile128</a> () const </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="a03534.html#NL3D_1_1CTileSeta18">getNumTile256</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta19">getOriented</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta20">getTile128</a> (<a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a10">sint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta21">getTile256</a> (<a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03536.html">CTileVegetableDesc</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta22">getTileVegetableDesc</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03536.html">CTileVegetableDesc</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta23">getTileVegetableDesc</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">return the TileVegetable <a href="#NL3D_1_1CTileSeta23"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>const std::string & </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta24">getTileVegetableDescFileName</a> () const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03535.html">CTileSetTransition</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta25">getTransition</a> (<a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a04223.html#a566">index</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03535.html">CTileSetTransition</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta26">getTransition</a> (<a class="el" href="a04558.html#a14">sint</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta27">isChild</a> (const std::string &name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta28">loadTileVegetableDesc</a> ()</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta29">removeChild</a> (const std::string &name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta30">removeTile128</a> (int indexInTileSet, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta31">removeTile256</a> (int indexInTileSet, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta32">serial</a> (<a class="el" href="a02270.html">NLMISC::IStream</a> &f) throw (NLMISC::EStream)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta33">setBorder</a> (<a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, const <a class="el" href="a03519.html">CTileBorder</a> &<a class="el" href="a04223.html#a635">border</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta34">setDisplacement</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> displacement, const std::string &fileName, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta35">setName</a> (const std::string &name)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta36">setOriented</a> (bool oriented)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta37">setTile128</a> (int indexInTileSet, const std::string &name, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta38">setTile256</a> (int indexInTileSet, const std::string &name, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03517.html">CTileBank</a> &bank)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta39">setTileTransition</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> transition, const std::string &name, <a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> <a class="el" href="a04223.html#a581">type</a>, <a class="el" href="a03517.html">CTileBank</a> &bank, const <a class="el" href="a03519.html">CTileBorder</a> &<a class="el" href="a04223.html#a635">border</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta40">setTileTransitionAlpha</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> transition, const std::string &name, <a class="el" href="a03517.html">CTileBank</a> &bank, const <a class="el" href="a03519.html">CTileBorder</a> &<a class="el" href="a04223.html#a635">border</a>, <a class="el" href="a04558.html#a7">uint8</a> rotAlpha)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta41">setTileVegetableDesc</a> (const <a class="el" href="a03536.html">CTileVegetableDesc</a> &tvd)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeta42">setTileVegetableDescFileName</a> (const std::string &fileName)</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="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete0">getComplementaryTransition</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> transition)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete1">getEdgeType</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> _what, <a class="el" href="a03534.html#NL3D_1_1CTileSetw26">TBorder</a> _where)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete2">getErrorMessage</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw28">TError</a> error)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete3">getInvertBorder</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> <a class="el" href="a04223.html#a635">border</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete4">getOrientedBorder</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw26">TBorder</a> where, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> <a class="el" href="a04223.html#a635">border</a>)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete5">getTransitionTile</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> top, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> bottom, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> left, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> right)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSete6">rotateTransition</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> transition)</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeto0">SurfaceData</a></td></tr> + +<tr><td colspan=2><br><h2>Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (const <a class="el" href="a03517.html">CTileBank</a> &bank, <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 colspan=2><br><h2>Static Private Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSeth0">getComplementaryBorder</a> (<a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> <a class="el" href="a04223.html#a635">border</a>)</td></tr> + +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03519.html">CTileBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a> [2]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03519.html">CTileBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a> [2]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03519.html">CTileBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a> [<a class="el" href="a04223.html#a577">count</a>][CTile::bitmapCount]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::set< std::string > </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr3">_ChildName</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr4">_DisplacementBitmap</a> [CTileSet::CountDisplace]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr5">_Name</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr6">_Oriented</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a10">sint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03535.html">CTileSetTransition</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr9">_TileTransition</a> [<a class="el" href="a04223.html#a577">count</a>]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03536.html">CTileVegetableDesc</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr10">_TileVegetableDesc</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetr11">_TileVegetableDescFileName</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 char * </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetv0">_ErrorMessage</a> [CTileSet::errorCount]</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a> [<a class="el" href="a04223.html#a577">count</a>][4]</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="a03534.html#NL3D_1_1CTileSetv2">_Version</a> = 5</td></tr> + +<tr><td colspan=2><br><h2>Friends</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>class </td><td class="memItemRight" valign=bottom><a class="el" href="a03534.html#NL3D_1_1CTileSetn0">CTileBank</a></td></tr> + +</table> +<hr><h2>Member Enumeration Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileSetw26" doxytag="NL3D::CTileSet::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="a03534.html#NL3D_1_1CTileSetw26">NL3D::CTileSet::TBorder</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_1CTileSetw26NL3D_1_1CTileSetw30" doxytag="top" ></a>top</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8" doxytag="bottom" ></a>bottom</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18" doxytag="left" ></a>left</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22" doxytag="right" ></a>right</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw26NL3D_1_1CTileSetw7" doxytag="borderCount" ></a>borderCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06537.html#l00287">287</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +<div class="fragment"><pre>00287 { <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw30">top</a>=0, <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8">bottom</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18">left</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22">right</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw7">borderCount</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetw27" doxytag="NL3D::CTileSet::TDisplacement" ></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="a03534.html#NL3D_1_1CTileSetw27">NL3D::CTileSet::TDisplacement</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_1CTileSetw27NL3D_1_1CTileSetw15" doxytag="FirstDisplace" ></a>FirstDisplace</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw27NL3D_1_1CTileSetw17" doxytag="LastDisplace" ></a>LastDisplace</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11" doxytag="CountDisplace" ></a>CountDisplace</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06537.html#l00286">286</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +<div class="fragment"><pre>00286 { <a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>=0, <a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw17">LastDisplace</a>=15, <a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11">CountDisplace</a>=16 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetw28" doxytag="NL3D::CTileSet::TError" ></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="a03534.html#NL3D_1_1CTileSetw28">NL3D::CTileSet::TError</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_1CTileSetw28NL3D_1_1CTileSetw21" doxytag="ok" ></a>ok</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32" doxytag="topInterfaceProblem" ></a>topInterfaceProblem</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9" doxytag="bottomInterfaceProblem" ></a>bottomInterfaceProblem</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19" doxytag="leftInterfaceProblem" ></a>leftInterfaceProblem</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23" doxytag="rightInterfaceProblem" ></a>rightInterfaceProblem</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6" doxytag="addFirstA128128" ></a>addFirstA128128</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31" doxytag="topBottomNotTheSame" ></a>topBottomNotTheSame</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24" doxytag="rightLeftNotTheSame" ></a>rightLeftNotTheSame</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25" doxytag="sizeInvalide" ></a>sizeInvalide</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw28NL3D_1_1CTileSetw13" doxytag="errorCount" ></a>errorCount</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06537.html#l00282">282</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +<div class="fragment"><pre>00282 { <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>=0, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>, +00283 <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6">addFirstA128128</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31">topBottomNotTheSame</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24">rightLeftNotTheSame</a>, +00284 <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25">sizeInvalide</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw13">errorCount</a> }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetw29" doxytag="NL3D::CTileSet::TFlagBorder" ></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="a03534.html#NL3D_1_1CTileSetw29">NL3D::CTileSet::TFlagBorder</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_1CTileSetw29NL3D_1_1CTileSetw5" doxytag="_1111" ></a>_1111</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2" doxytag="_0111" ></a>_0111</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4" doxytag="_1110" ></a>_1110</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1" doxytag="_0001" ></a>_0001</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3" doxytag="_1000" ></a>_1000</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0" doxytag="_0000" ></a>_0000</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12" doxytag="dontcare" ></a>dontcare</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06537.html#l00288">288</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01145">checkTileTransition()</a>, <a class="el" href="a06537.html#l00401">getEdgeType()</a>, <a class="el" href="a06536.html#l01289">getExistingTransitionTile()</a>, and <a class="el" href="a06536.html#l01274">getTransitionTile()</a>. +<p> +<div class="fragment"><pre>00288 { <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>=0, <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>, <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>=-1 }; +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetw33" doxytag="NL3D::CTileSet::TTransition" ></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="a03534.html#NL3D_1_1CTileSetw33">NL3D::CTileSet::TTransition</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_1CTileSetw33NL3D_1_1CTileSetw14" doxytag="first" ></a>first</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw33NL3D_1_1CTileSetw16" doxytag="last" ></a>last</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw33NL3D_1_1CTileSetw10" doxytag="count" ></a>count</em> </td><td> +</td></tr> +<tr><td valign=top><em><a class="anchor" name="NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20" doxytag="notfound" ></a>notfound</em> </td><td> +</td></tr> +</table> +</dl> + +<p> +Definition at line <a class="el" href="a06537.html#l00285">285</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01316">getComplementaryTransition()</a>, <a class="el" href="a06536.html#l01289">getExistingTransitionTile()</a>, and <a class="el" href="a06536.html#l01274">getTransitionTile()</a>. +<p> +<div class="fragment"><pre>00285 { <a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a>=0, <a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw16">last</a>=47, <a class="code" href="a04223.html#a577">count</a>=48, <a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a>=-1 }; +</pre></div> </td> + </tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileSeta11" doxytag="NL3D::CTileSet::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"> NL3D::CTileSet::CTileSet </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> + +<p> +Definition at line <a class="el" href="a06536.html#l00898">898</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00434">_DisplacementBitmap</a>, <a class="el" href="a06537.html#l00426">_Oriented</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11">CountDisplace</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>, <a class="el" href="a06537.html#l00442">SurfaceData</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00899 { +00900 <span class="comment">// Default, tileset 0</span> +00901 <a class="code" href="a03534.html#NL3D_1_1CTileSetr6">_Oriented</a> = <span class="keyword">false</span>; +00902 <a class="code" href="a04558.html#a15">uint</a> displace; +00903 <span class="keywordflow">for</span> (displace=<a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>; displace<<a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11">CountDisplace</a>; displace++) +00904 <a class="code" href="a03534.html#NL3D_1_1CTileSetr4">_DisplacementBitmap</a>[displace]=0; +00905 +00906 <span class="comment">// Default user surface data</span> +00907 <a class="code" href="a03534.html#NL3D_1_1CTileSeto0">SurfaceData</a> = 0; +00908 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileSeta0" doxytag="NL3D::CTileSet::addChild" ></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::CTileSet::addChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </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> + +<p> +Definition at line <a class="el" href="a06536.html#l01306">1306</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00430">_ChildName</a>. +<p> +<div class="fragment"><pre>01307 { +01308 <a class="code" href="a03534.html#NL3D_1_1CTileSetr3">_ChildName</a>.insert (name); +01309 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta1" doxytag="NL3D::CTileSet::addTile128" ></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::CTileSet::addTile128 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int & </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l00998">998</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00427">_Tile128</a>, <a class="el" href="a06536.html#l00226">NL3D::CTileBank::createTile()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00999 { +01000 <span class="comment">// Create a tile</span> +01001 <a class="code" href="a04558.html#a14">sint</a> <a class="code" href="a04223.html#a566">index</a>=bank.createTile (); +01002 +01003 <span class="comment">// Index of the new tile</span> +01004 indexInTileSet=<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.size(); +01005 +01006 <span class="comment">// Add to the end of the list</span> +01007 <a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.push_back (index); +01008 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta2" doxytag="NL3D::CTileSet::addTile256" ></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::CTileSet::addTile256 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int & </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01057">1057</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00428">_Tile256</a>, <a class="el" href="a06536.html#l00226">NL3D::CTileBank::createTile()</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>01058 { +01059 <span class="comment">// Create a tile</span> +01060 <a class="code" href="a04558.html#a14">sint</a> <a class="code" href="a04223.html#a566">index</a>=bank.createTile (); +01061 +01062 <span class="comment">// Index of the new tile</span> +01063 indexInTileSet=<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.size(); +01064 +01065 <span class="comment">// Add to the end of the list</span> +01066 <a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.push_back (index); +01067 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta3" doxytag="NL3D::CTileSet::checkTile128" ></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="a03534.html#NL3D_1_1CTileSetw28">CTileSet::TError</a> NL3D::CTileSet::checkTile128 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</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> & </td> + <td class="mdname" nowrap> <em>border</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int & </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 & </td> + <td class="mdname" nowrap> <em>composante</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01026">1026</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00431">_Border128</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6">addFirstA128128</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>, <a class="el" href="a06537.html#l00238">NL3D::CTileBorder::isSet()</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24">rightLeftNotTheSame</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25">sizeInvalide</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31">topBottomNotTheSame</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01027 { +01028 <span class="comment">// Self check</span> +01029 <span class="keywordflow">if</span> ((<a class="code" href="a04223.html#a635">border</a>.getWidth()!=128)||(<a class="code" href="a04223.html#a635">border</a>.getHeight()!=128)) +01030 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25">sizeInvalide</a>; +01031 <span class="keywordflow">if</span> (!CTileBorder::compare (border, border, CTileBorder::top, CTileBorder::bottom, pixel, composante)) +01032 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31">topBottomNotTheSame</a>; +01033 <span class="keywordflow">if</span> (!CTileBorder::compare (border, border, CTileBorder::left, CTileBorder::right, pixel, composante)) +01034 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24">rightLeftNotTheSame</a>; +01035 +01036 <span class="comment">// Check</span> +01037 <span class="keywordflow">if</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[<a class="code" href="a04223.html#a581">type</a>].isSet()) +01038 { +01039 <span class="comment">// Other check</span> +01040 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border128[type], CTileBorder::top, CTileBorder::top, pixel, composante)) +01041 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>; +01042 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border128[type], CTileBorder::bottom, CTileBorder::bottom, pixel, composante)) +01043 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>; +01044 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border128[type], CTileBorder::left, CTileBorder::left, pixel, composante)) +01045 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>; +01046 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border128[type], CTileBorder::right, CTileBorder::right, pixel, composante)) +01047 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>; +01048 } +01049 <span class="keywordflow">else</span> +01050 { +01051 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6">addFirstA128128</a>; +01052 } +01053 +01054 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>; +01055 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta4" doxytag="NL3D::CTileSet::checkTile256" ></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="a03534.html#NL3D_1_1CTileSetw28">CTileSet::TError</a> NL3D::CTileSet::checkTile256 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</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> & </td> + <td class="mdname" nowrap> <em>border</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int & </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 & </td> + <td class="mdname" nowrap> <em>composante</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01069">1069</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00431">_Border128</a>, <a class="el" href="a06537.html#l00432">_Border256</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6">addFirstA128128</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>, <a class="el" href="a06536.html#l01765">NL3D::CTileBorder::doubleSize()</a>, <a class="el" href="a06537.html#l00238">NL3D::CTileBorder::isSet()</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24">rightLeftNotTheSame</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25">sizeInvalide</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31">topBottomNotTheSame</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01070 { +01071 <span class="comment">// Self check</span> +01072 <span class="keywordflow">if</span> ((<a class="code" href="a04223.html#a635">border</a>.getWidth()!=256)||(<a class="code" href="a04223.html#a635">border</a>.getHeight()!=256)) +01073 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw25">sizeInvalide</a>; +01074 <span class="keywordflow">if</span> (!CTileBorder::compare (border, border, CTileBorder::top, CTileBorder::bottom, pixel, composante)) +01075 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw31">topBottomNotTheSame</a>; +01076 <span class="keywordflow">if</span> (!CTileBorder::compare (border, border, CTileBorder::left, CTileBorder::right, pixel, composante)) +01077 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw24">rightLeftNotTheSame</a>; +01078 +01079 <span class="comment">// Check if prb</span> +01080 <span class="keywordflow">if</span> ((!<a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>].isSet())&&(<a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[<a class="code" href="a04223.html#a581">type</a>].isSet())) +01081 { +01082 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>]=<a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[<a class="code" href="a04223.html#a581">type</a>]; +01083 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>].doubleSize (); +01084 } +01085 +01086 <span class="comment">// Check</span> +01087 <span class="keywordflow">if</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>].isSet()) +01088 { +01089 +01090 <span class="comment">// Other check</span> +01091 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border256[type], CTileBorder::top, CTileBorder::top, pixel, composante)) +01092 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>; +01093 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border256[type], CTileBorder::bottom, CTileBorder::bottom, pixel, composante)) +01094 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>; +01095 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border256[type], CTileBorder::left, CTileBorder::left, pixel, composante)) +01096 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>; +01097 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _Border256[type], CTileBorder::right, CTileBorder::right, pixel, composante)) +01098 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>; +01099 } +01100 <span class="keywordflow">else</span> +01101 { +01102 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw6">addFirstA128128</a>; +01103 } +01104 +01105 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>; +01106 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta5" doxytag="NL3D::CTileSet::checkTileTransition" ></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="a03534.html#NL3D_1_1CTileSetw28">CTileSet::TError</a> NL3D::CTileSet::checkTileTransition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname" nowrap> <em>transition</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</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> & </td> + <td class="mdname" nowrap> <em>border</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int & </td> + <td class="mdname" nowrap> <em>indexError</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int & </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 & </td> + <td class="mdname" nowrap> <em>composante</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01145">1145</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>, <a class="el" href="a06537.html#l00433">_BorderTransition</a>, <a class="el" href="a06536.html#l00839">_TransitionFlags</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>, <a class="el" href="a06536.html#l01289">getExistingTransitionTile()</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>, <a class="el" href="a06537.html#l00288">TFlagBorder</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01147 { +01148 <a class="code" href="a04199.html#a6">nlassert</a> (transition>=0); +01149 <a class="code" href="a04199.html#a6">nlassert</a> (transition<<a class="code" href="a04223.html#a577">count</a>); +01150 +01151 <span class="comment">// Check</span> +01152 indexError=-1; +01153 +01154 <span class="comment">// Top</span> +01155 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> ((TFlagBorder)_TransitionFlags[transition][top], dontcare, dontcare, dontcare, transition, type); +01156 <span class="keywordflow">if</span> (indexError!=-1) +01157 { +01158 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::top, CTileBorder::top, pixel, composante)) +01159 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>; +01160 } +01161 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (dontcare, (TFlagBorder)_TransitionFlags[transition][top], dontcare, dontcare, transition, type); +01162 <span class="keywordflow">if</span> (indexError!=-1) +01163 { +01164 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::top, CTileBorder::bottom, pixel, composante)) +01165 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>; +01166 } +01167 indexError=-1; +01168 <span class="keywordflow">if</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[transition][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw30">top</a>]==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>) +01169 { +01170 <span class="keywordflow">if</span> (!CTileBorder::allAlphaSet (border, CTileBorder::top, pixel, composante)) +01171 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw32">topInterfaceProblem</a>; +01172 } +01173 +01174 <span class="comment">// Bottom</span> +01175 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (dontcare, (TFlagBorder)_TransitionFlags[transition][bottom], dontcare, dontcare, transition, type); +01176 <span class="keywordflow">if</span> (indexError!=-1) +01177 { +01178 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::bottom, CTileBorder::bottom, pixel, composante)) +01179 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>; +01180 } +01181 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> ((TFlagBorder)_TransitionFlags[transition][bottom], dontcare, dontcare, dontcare, transition, type); +01182 <span class="keywordflow">if</span> (indexError!=-1) +01183 { +01184 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::bottom, CTileBorder::top, pixel, composante)) +01185 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>; +01186 } +01187 indexError=-1; +01188 <span class="keywordflow">if</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[transition][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8">bottom</a>]==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>) +01189 { +01190 <span class="keywordflow">if</span> (!CTileBorder::allAlphaSet (border, CTileBorder::bottom, pixel, composante)) +01191 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw9">bottomInterfaceProblem</a>; +01192 } +01193 +01194 <span class="comment">// Left</span> +01195 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (dontcare, dontcare, (TFlagBorder)_TransitionFlags[transition][left], dontcare, transition, type); +01196 <span class="keywordflow">if</span> (indexError!=-1) +01197 { +01198 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::left, CTileBorder::left, pixel, composante)) +01199 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>; +01200 } +01201 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (dontcare, dontcare, dontcare, (TFlagBorder)_TransitionFlags[transition][left], transition, type); +01202 <span class="keywordflow">if</span> (indexError!=-1) +01203 { +01204 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::left, CTileBorder::right, pixel, composante)) +01205 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>; +01206 } +01207 indexError=-1; +01208 <span class="keywordflow">if</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[transition][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18">left</a>]==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>) +01209 { +01210 <span class="keywordflow">if</span> (!CTileBorder::allAlphaSet (border, CTileBorder::left, pixel, composante)) +01211 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw19">leftInterfaceProblem</a>; +01212 } +01213 +01214 <span class="comment">// Right</span> +01215 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (dontcare, dontcare, dontcare, (TFlagBorder)_TransitionFlags[transition][right], transition, type); +01216 <span class="keywordflow">if</span> (indexError!=-1) +01217 { +01218 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::right, CTileBorder::right, pixel, composante)) +01219 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>; +01220 } +01221 indexError=<a class="code" href="a03534.html#NL3D_1_1CTileSeta15">getExistingTransitionTile</a> (dontcare, dontcare, (TFlagBorder)_TransitionFlags[transition][right], dontcare, transition, type); +01222 <span class="keywordflow">if</span> (indexError!=-1) +01223 { +01224 <span class="keywordflow">if</span> (!CTileBorder::compare (border, _BorderTransition[indexError][type], CTileBorder::right, CTileBorder::left, pixel, composante)) +01225 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>; +01226 } +01227 indexError=-1; +01228 <span class="keywordflow">if</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[transition][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22">right</a>]==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>) +01229 { +01230 <span class="keywordflow">if</span> (!CTileBorder::allAlphaSet (border, CTileBorder::right, pixel, composante)) +01231 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw23">rightInterfaceProblem</a>; +01232 } +01233 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw28NL3D_1_1CTileSetw21">ok</a>; +01234 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta6" doxytag="NL3D::CTileSet::cleanUnusedData" ></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::CTileSet::cleanUnusedData </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> + +<p> +Definition at line <a class="el" href="a06536.html#l01527">1527</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00431">_Border128</a>, <a class="el" href="a06537.html#l00432">_Border256</a>, <a class="el" href="a06537.html#l00433">_BorderTransition</a>, <a class="el" href="a06537.html#l00430">_ChildName</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a06537.html#l00242">NL3D::CTileBorder::reset()</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>01528 { +01529 <a class="code" href="a03534.html#NL3D_1_1CTileSetr5">_Name</a>=<span class="stringliteral">""</span>; +01530 <a class="code" href="a03534.html#NL3D_1_1CTileSetr3">_ChildName</a>.clear(); +01531 <a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[0].reset (); +01532 <a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[1].reset (); +01533 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[0].reset (); +01534 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[1].reset (); +01535 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> i=0; i<<a class="code" href="a04223.html#a577">count</a>; i++) +01536 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> j=0; j<CTile::bitmapCount; j++) +01537 <a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[i][j].reset(); +01538 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta7" doxytag="NL3D::CTileSet::clearDisplacement" ></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::CTileSet::clearDisplacement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> </td> + <td class="mdname" nowrap> <em>displacement</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01498">1498</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00434">_DisplacementBitmap</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw17">LastDisplace</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06536.html#l00558">NL3D::CTileBank::removeDisplacementMap()</a>. +<p> +<div class="fragment"><pre>01499 { +01500 <span class="comment">// checks</span> +01501 <a class="code" href="a04199.html#a6">nlassert</a> (displacement>=FirstDisplace); +01502 <a class="code" href="a04199.html#a6">nlassert</a> (displacement<=LastDisplace); +01503 +01504 <span class="comment">// Backup the id</span> +01505 <span class="keywordtype">int</span> <span class="keywordtype">id</span>=<a class="code" href="a03534.html#NL3D_1_1CTileSetr4">_DisplacementBitmap</a>[displacement]; +01506 +01507 <span class="comment">// Clear map id</span> +01508 _DisplacementBitmap[displacement]=0; +01509 +01510 <span class="comment">// Tell the bank we remove it</span> +01511 bank.removeDisplacementMap (<span class="keywordtype">id</span>); +01512 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta8" doxytag="NL3D::CTileSet::clearTile128" ></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::CTileSet::clearTile128 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01399">1399</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00427">_Tile128</a>, <a class="el" href="a06536.html#l00810">NL3D::CTile::clearTile()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01400 { +01401 <span class="keywordtype">int</span> nTile=<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>[indexInTileSet]; +01402 bank.getTile (nTile)->clearTile(type); +01403 +01404 <span class="comment">// Erase border if it is the last texture</span> +01405 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, type); +01406 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta9" doxytag="NL3D::CTileSet::clearTile256" ></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::CTileSet::clearTile256 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01408">1408</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00428">_Tile256</a>, <a class="el" href="a06536.html#l00810">NL3D::CTile::clearTile()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01409 { +01410 <span class="keywordtype">int</span> nTile=<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>[indexInTileSet]; +01411 bank.getTile (nTile)->clearTile(type); +01412 +01413 <span class="comment">// Erase border if it is the last texture</span> +01414 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, type); +01415 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta10" doxytag="NL3D::CTileSet::clearTransition" ></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::CTileSet::clearTransition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname" nowrap> <em>transition</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01417">1417</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00433">_BorderTransition</a>, <a class="el" href="a06537.html#l00214">NL3D::CTileSetTransition::_Tile</a>, <a class="el" href="a06537.html#l00429">_TileTransition</a>, <a class="el" href="a06536.html#l00810">NL3D::CTile::clearTile()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, <a class="el" href="a06537.html#l00242">NL3D::CTileBorder::reset()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01418 { +01419 <span class="keywordtype">int</span> nTile=<a class="code" href="a03534.html#NL3D_1_1CTileSetr9">_TileTransition</a>[transition]._Tile; +01420 <span class="keywordflow">if</span> (nTile!=-1) +01421 bank.getTile (nTile)->clearTile(type); +01422 <a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[transition][<a class="code" href="a04223.html#a581">type</a>].reset(); +01423 +01424 <span class="comment">// Erase border if it is the last texture</span> +01425 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, type); +01426 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetd0" doxytag="NL3D::CTileSet::deleteBordersIfLast" ></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::CTileSet::deleteBordersIfLast </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01429">1429</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00431">_Border128</a>, <a class="el" href="a06537.html#l00432">_Border256</a>, <a class="el" href="a06537.html#l00214">NL3D::CTileSetTransition::_Tile</a>, <a class="el" href="a06537.html#l00427">_Tile128</a>, <a class="el" href="a06537.html#l00428">_Tile256</a>, <a class="el" href="a06537.html#l00429">_TileTransition</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a06537.html#l00080">NL3D::CTile::getRelativeFileName()</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, <a class="el" href="a06537.html#l00242">NL3D::CTileBorder::reset()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01399">clearTile128()</a>, <a class="el" href="a06536.html#l01408">clearTile256()</a>, <a class="el" href="a06536.html#l01417">clearTransition()</a>, <a class="el" href="a06536.html#l01236">removeTile128()</a>, and <a class="el" href="a06536.html#l01255">removeTile256()</a>. +<p> +<div class="fragment"><pre>01430 { +01431 <span class="comment">// delete is true</span> +01432 <span class="keywordtype">bool</span> bDelete=<span class="keyword">true</span>; +01433 +01434 <span class="comment">// iterator..</span> +01435 std::vector<sint32>::iterator ite=<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.begin(); +01436 +01437 <span class="comment">// Check all the 128x128 tiles</span> +01438 <span class="keywordflow">while</span> (ite!=<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.end()) +01439 { +01440 <span class="comment">// If the file name is valid</span> +01441 <span class="keywordflow">if</span> (bank.getTile (*ite)->getRelativeFileName(type)!=<span class="stringliteral">""</span>) +01442 { +01443 <span class="comment">// Don't delete, </span> +01444 bDelete=<span class="keyword">false</span>; +01445 <span class="keywordflow">break</span>; +01446 } +01447 ite++; +01448 } +01449 <span class="comment">// If break, not empty, return</span> +01450 <span class="keywordflow">if</span> (ite!=<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.end()) +01451 <span class="keywordflow">return</span>; +01452 +01453 <span class="comment">// Check all the 256x256 tiles</span> +01454 ite=<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.begin(); +01455 <span class="keywordflow">while</span> (ite!=<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.end()) +01456 { +01457 <span class="comment">// If the file name is valid</span> +01458 <span class="keywordflow">if</span> (bank.getTile (*ite)->getRelativeFileName(type)!=<span class="stringliteral">""</span>) +01459 { +01460 <span class="comment">// Don't delete, </span> +01461 bDelete=<span class="keyword">false</span>; +01462 <span class="keywordflow">break</span>; +01463 } +01464 ite++; +01465 } +01466 <span class="comment">// If break, not empty, return</span> +01467 <span class="keywordflow">if</span> (ite!=<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.end()) +01468 <span class="keywordflow">return</span>; +01469 +01470 +01471 <span class="comment">// Check all the transitions tiles</span> +01472 <a class="code" href="a04558.html#a14">sint</a> trans; +01473 <span class="keywordflow">for</span> (trans=0; trans<<a class="code" href="a04223.html#a577">count</a>; trans++) +01474 { +01475 <span class="comment">// Get the tile associed with the transition</span> +01476 <span class="keywordtype">int</span> nTile=<a class="code" href="a03534.html#NL3D_1_1CTileSetr9">_TileTransition</a>[trans]._Tile; +01477 +01478 <span class="comment">// If it is not NULL..</span> +01479 <span class="keywordflow">if</span> (nTile!=-1) +01480 { +01481 <span class="comment">// If the file name is valid</span> +01482 <span class="keywordflow">if</span> (bank.getTile (nTile)->getRelativeFileName(type)!=<span class="stringliteral">""</span>) +01483 { +01484 <span class="comment">// Don't delete, </span> +01485 bDelete=<span class="keyword">false</span>; +01486 <span class="keywordflow">break</span>; +01487 } +01488 } +01489 } +01490 <span class="keywordflow">if</span> (trans!=<a class="code" href="a04223.html#a577">count</a>) +01491 <span class="keywordflow">return</span>; +01492 +01493 <span class="comment">// Ok, erase borders because no tile use it anymore</span> +01494 <a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[<a class="code" href="a04223.html#a581">type</a>].reset(); +01495 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>].reset(); +01496 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta12" doxytag="NL3D::CTileSet::getBorder128" ></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="a03519.html">CTileBorder</a>* NL3D::CTileSet::getBorder128 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bitmapType</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00361">361</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00431">_Border128</a>. +<p> +<div class="fragment"><pre>00362 { +00363 <span class="keywordflow">return</span> &(<a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[bitmapType]); +00364 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta13" doxytag="NL3D::CTileSet::getBorder256" ></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="a03519.html">CTileBorder</a>* NL3D::CTileSet::getBorder256 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname1" valign="top" nowrap> <em>bitmapType</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00365">365</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00432">_Border256</a>. +<p> +<div class="fragment"><pre>00366 { +00367 <span class="keywordflow">return</span> &(<a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[bitmapType]); +00368 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeth0" doxytag="NL3D::CTileSet::getComplementaryBorder" ></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="a03534.html#NL3D_1_1CTileSetw29">CTileSet::TFlagBorder</a> NL3D::CTileSet::getComplementaryBorder </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname1" valign="top" nowrap> <em>border</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static, private]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01329">1329</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>, <a class="el" href="a05646.html#l01013">border</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01316">getComplementaryTransition()</a>. +<p> +<div class="fragment"><pre>01330 { +01331 <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a635">border</a>) +01332 { +01333 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>: +01334 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>; +01335 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>: +01336 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>; +01337 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>: +01338 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>; +01339 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>: +01340 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>; +01341 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>: +01342 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>; +01343 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>: +01344 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>; +01345 <span class="keywordflow">default</span>: +01346 <a class="code" href="a04199.html#a6">nlassert</a> (0); <span class="comment">// no</span> +01347 } +01348 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>; +01349 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete0" doxytag="NL3D::CTileSet::getComplementaryTransition" ></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="a03534.html#NL3D_1_1CTileSetw33">CTileSet::TTransition</a> NL3D::CTileSet::getComplementaryTransition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname1" valign="top" nowrap> <em>transition</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01316">1316</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06536.html#l00839">_TransitionFlags</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a>, <a class="el" href="a06536.html#l01329">getComplementaryBorder()</a>, <a class="el" href="a06536.html#l01274">getTransitionTile()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a>, and <a class="el" href="a06537.html#l00285">TTransition</a>. +<p> +<div class="fragment"><pre>01317 { +01318 <a class="code" href="a04199.html#a6">nlassert</a> ((transition>=first)&&(transition<=last)); +01319 <a class="code" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> trans=<a class="code" href="a03534.html#NL3D_1_1CTileSete5">getTransitionTile</a> (getComplementaryBorder (_TransitionFlags[transition][top]), +01320 getComplementaryBorder (_TransitionFlags[transition][bottom]), +01321 getComplementaryBorder (_TransitionFlags[transition][left]), +01322 getComplementaryBorder (_TransitionFlags[transition][right])); +01323 +01324 <a class="code" href="a04199.html#a6">nlassert</a> (trans!=notfound); +01325 +01326 <span class="keywordflow">return</span> trans; +01327 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta14" doxytag="NL3D::CTileSet::getDisplacementTile" ></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::CTileSet::getDisplacementTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> </td> + <td class="mdname1" valign="top" nowrap> <em>displacement</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> +Return the file name of the displacement map for the map nb displacement. This file name is relative at the absolute path. +<p> +Definition at line <a class="el" href="a06537.html#l00375">375</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00434">_DisplacementBitmap</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw17">LastDisplace</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00376 { +00377 <span class="comment">// checks</span> +00378 <a class="code" href="a04199.html#a6">nlassert</a> (displacement>=FirstDisplace); +00379 <a class="code" href="a04199.html#a6">nlassert</a> (displacement<=LastDisplace); +00380 +00381 <span class="comment">// return file name</span> +00382 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr4">_DisplacementBitmap</a>[displacement]; +00383 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete1" doxytag="NL3D::CTileSet::getEdgeType" ></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="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> NL3D::CTileSet::getEdgeType </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname" nowrap> <em>_what</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw26">TBorder</a> </td> + <td class="mdname" nowrap> <em>_where</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline, static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00401">401</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06536.html#l00839">_TransitionFlags</a>, and <a class="el" href="a06537.html#l00288">TFlagBorder</a>. +<p> +<div class="fragment"><pre>00402 { +00403 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[_what][_where]; +00404 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete2" doxytag="NL3D::CTileSet::getErrorMessage" ></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 char* NL3D::CTileSet::getErrorMessage </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw28">TError</a> </td> + <td class="mdname1" valign="top" nowrap> <em>error</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00391">391</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06536.html#l00826">_ErrorMessage</a>. +<p> +<div class="fragment"><pre>00392 { +00393 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetv0">_ErrorMessage</a>[error]; +00394 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta15" doxytag="NL3D::CTileSet::getExistingTransitionTile" ></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="a03534.html#NL3D_1_1CTileSetw33">CTileSet::TTransition</a> NL3D::CTileSet::getExistingTransitionTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>_top</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>_bottom</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>_left</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>_right</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>int </td> + <td class="mdname" nowrap> <em>reject</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01289">1289</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00433">_BorderTransition</a>, <a class="el" href="a06536.html#l00839">_TransitionFlags</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a>, <a class="el" href="a06537.html#l00238">NL3D::CTileBorder::isSet()</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a>, <a class="el" href="a06537.html#l00288">TFlagBorder</a>, <a class="el" href="a06537.html#l00285">TTransition</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01145">checkTileTransition()</a>. +<p> +<div class="fragment"><pre>01290 { +01291 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n=<a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a>; n<<a class="code" href="a04223.html#a577">count</a>; n++) +01292 { +01293 <span class="keywordflow">if</span> ((n!=reject)&& +01294 (<a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[n][<a class="code" href="a04223.html#a581">type</a>].isSet ())&& +01295 ((_top==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_top==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw30">top</a>]))&& +01296 ((_bottom==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_bottom==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8">bottom</a>]))&& +01297 ((_left==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_left==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18">left</a>]))&& +01298 ((_right==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_right==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22">right</a>]))) +01299 { +01300 <span class="keywordflow">return</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a>)n; +01301 } +01302 } +01303 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a>; +01304 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete3" doxytag="NL3D::CTileSet::getInvertBorder" ></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="a03534.html#NL3D_1_1CTileSetw29">CTileSet::TFlagBorder</a> NL3D::CTileSet::getInvertBorder </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname1" valign="top" nowrap> <em>border</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01351">1351</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>, <a class="el" href="a05646.html#l01013">border</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01373">getOrientedBorder()</a>. +<p> +<div class="fragment"><pre>01352 { +01353 <span class="keywordflow">switch</span> (<a class="code" href="a04223.html#a635">border</a>) +01354 { +01355 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>: +01356 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>; +01357 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>: +01358 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>; +01359 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>: +01360 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>; +01361 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>: +01362 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>; +01363 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>: +01364 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>; +01365 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>: +01366 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>; +01367 <span class="keywordflow">default</span>: +01368 <a class="code" href="a04199.html#a6">nlassert</a> (0); <span class="comment">// no</span> +01369 } +01370 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>; +01371 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta16" doxytag="NL3D::CTileSet::getName" ></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 & NL3D::CTileSet::getName </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</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l00915">915</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +<div class="fragment"><pre>00916 { +00917 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr5">_Name</a>; +00918 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta17" doxytag="NL3D::CTileSet::getNumTile128" ></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::CTileSet::getNumTile128 </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> + +<p> +Definition at line <a class="el" href="a06537.html#l00337">337</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00427">_Tile128</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00288">NL3D::CTileBank::computeXRef()</a>, <a class="el" href="a05874.html#l00091">NL3D::CLandscapeUser::flushTiles()</a>, and <a class="el" href="a05862.html#l02592">NL3D::CLandscape::initTileBanks()</a>. +<p> +<div class="fragment"><pre>00338 { +00339 <span class="keywordflow">return</span> (<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.size(); +00340 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta18" doxytag="NL3D::CTileSet::getNumTile256" ></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::CTileSet::getNumTile256 </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> + +<p> +Definition at line <a class="el" href="a06537.html#l00341">341</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00428">_Tile256</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00288">NL3D::CTileBank::computeXRef()</a>, <a class="el" href="a05874.html#l00091">NL3D::CLandscapeUser::flushTiles()</a>, and <a class="el" href="a05862.html#l02592">NL3D::CLandscape::initTileBanks()</a>. +<p> +<div class="fragment"><pre>00342 { +00343 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.size(); +00344 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta19" doxytag="NL3D::CTileSet::getOriented" ></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::CTileSet::getOriented </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> + +<p> +Definition at line <a class="el" href="a06537.html#l00333">333</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00426">_Oriented</a>. +<p> +Referenced by <a class="el" href="a06758.html#l01667">NL3D::CPatchInfo::getTileSymmetryRotate()</a>, <a class="el" href="a06778.html#l00670">NL3D::CZoneSymmetrisation::propagateTileState()</a>, <a class="el" href="a06778.html#l00472">NL3D::CZoneSymmetrisation::setOrientedTileState()</a>, and <a class="el" href="a06778.html#l00312">NL3D::CZoneSymmetrisation::setTileState()</a>. +<p> +<div class="fragment"><pre>00334 { +00335 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr6">_Oriented</a>; +00336 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete4" doxytag="NL3D::CTileSet::getOrientedBorder" ></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="a03534.html#NL3D_1_1CTileSetw29">CTileSet::TFlagBorder</a> NL3D::CTileSet::getOrientedBorder </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw26">TBorder</a> </td> + <td class="mdname" nowrap> <em>where</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>border</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01373">1373</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a06536.html#l01351">getInvertBorder()</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01389">rotateTransition()</a>, and <a class="el" href="a06758.html#l01708">NL3D::CPatchInfo::transformTile()</a>. +<p> +<div class="fragment"><pre>01374 { +01375 <span class="keywordflow">switch</span> (where) +01376 { +01377 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18">left</a>: +01378 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8">bottom</a>: +01379 <span class="keywordflow">return</span> <a class="code" href="a04223.html#a635">border</a>; +01380 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw30">top</a>: +01381 <span class="keywordflow">case</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22">right</a>: +01382 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSete3">getInvertBorder</a> (border); +01383 <span class="keywordflow">default</span>: +01384 <a class="code" href="a04199.html#a6">nlassert</a> (0); <span class="comment">// no</span> +01385 } +01386 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>; +01387 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta20" doxytag="NL3D::CTileSet::getTile128" ></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::CTileSet::getTile128 </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>index</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00345">345</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00427">_Tile128</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00288">NL3D::CTileBank::computeXRef()</a>, <a class="el" href="a05874.html#l00091">NL3D::CLandscapeUser::flushTiles()</a>, and <a class="el" href="a05862.html#l02592">NL3D::CLandscape::initTileBanks()</a>. +<p> +<div class="fragment"><pre>00346 { +00347 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>[<a class="code" href="a04223.html#a566">index</a>]; +00348 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta21" doxytag="NL3D::CTileSet::getTile256" ></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::CTileSet::getTile256 </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>index</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00349">349</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00428">_Tile256</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00099">sint32</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00288">NL3D::CTileBank::computeXRef()</a>, <a class="el" href="a05874.html#l00091">NL3D::CLandscapeUser::flushTiles()</a>, and <a class="el" href="a05862.html#l02592">NL3D::CLandscape::initTileBanks()</a>. +<p> +<div class="fragment"><pre>00350 { +00351 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>[<a class="code" href="a04223.html#a566">index</a>]; +00352 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta22" doxytag="NL3D::CTileSet::getTileVegetableDesc" ></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="a03536.html">CTileVegetableDesc</a> & NL3D::CTileSet::getTileVegetableDesc </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</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01564">1564</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00436">_TileVegetableDesc</a>. +<p> +<div class="fragment"><pre>01565 { +01566 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr10">_TileVegetableDesc</a>; +01567 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta23" doxytag="NL3D::CTileSet::getTileVegetableDesc" ></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="a03536.html">CTileVegetableDesc</a> & NL3D::CTileSet::getTileVegetableDesc </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> +return the TileVegetable +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01558">1558</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00436">_TileVegetableDesc</a>. +<p> +<div class="fragment"><pre>01559 { +01560 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr10">_TileVegetableDesc</a>; +01561 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta24" doxytag="NL3D::CTileSet::getTileVegetableDescFileName" ></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 & NL3D::CTileSet::getTileVegetableDescFileName </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</td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01547">1547</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00437">_TileVegetableDescFileName</a>. +<p> +<div class="fragment"><pre>01548 { +01549 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr11">_TileVegetableDescFileName</a>; +01550 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta25" doxytag="NL3D::CTileSet::getTransition" ></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="a03535.html">CTileSetTransition</a>* NL3D::CTileSet::getTransition </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>index</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00357">357</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00429">_TileTransition</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>00358 { +00359 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr9">_TileTransition</a>+<a class="code" href="a04223.html#a566">index</a>; +00360 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta26" doxytag="NL3D::CTileSet::getTransition" ></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="a03535.html">CTileSetTransition</a>* NL3D::CTileSet::getTransition </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>index</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00353">353</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00429">_TileTransition</a>, <a class="el" href="a05646.html#l00225">index</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00288">NL3D::CTileBank::computeXRef()</a>, <a class="el" href="a05874.html#l00091">NL3D::CLandscapeUser::flushTiles()</a>, <a class="el" href="a05862.html#l02592">NL3D::CLandscape::initTileBanks()</a>, and <a class="el" href="a06758.html#l01708">NL3D::CPatchInfo::transformTile()</a>. +<p> +<div class="fragment"><pre>00354 { +00355 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr9">_TileTransition</a>+<a class="code" href="a04223.html#a566">index</a>; +00356 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete5" doxytag="NL3D::CTileSet::getTransitionTile" ></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="a03534.html#NL3D_1_1CTileSetw33">CTileSet::TTransition</a> NL3D::CTileSet::getTransitionTile </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>top</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>bottom</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>left</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a> </td> + <td class="mdname" nowrap> <em>right</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01274">1274</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06536.html#l00839">_TransitionFlags</a>, <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a>, <a class="el" href="a06537.html#l00288">TFlagBorder</a>, and <a class="el" href="a06537.html#l00285">TTransition</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01316">getComplementaryTransition()</a>, <a class="el" href="a06536.html#l01389">rotateTransition()</a>, and <a class="el" href="a06758.html#l01708">NL3D::CPatchInfo::transformTile()</a>. +<p> +<div class="fragment"><pre>01275 { +01276 <span class="keywordflow">for</span> (<span class="keywordtype">int</span> n=<a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw14">first</a>; n<<a class="code" href="a04223.html#a577">count</a>; n++) +01277 { +01278 <span class="keywordflow">if</span> (((_top==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_top==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw30">top</a>]))&& +01279 ((_bottom==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_bottom==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw8">bottom</a>]))&& +01280 ((_left==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_left==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw18">left</a>]))&& +01281 ((_right==<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw12">dontcare</a>)||(_right==(<a class="code" href="a03534.html#NL3D_1_1CTileSetw29">TFlagBorder</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetv1">_TransitionFlags</a>[n][<a class="code" href="a03534.html#NL3D_1_1CTileSetw26NL3D_1_1CTileSetw22">right</a>]))) +01282 { +01283 <span class="keywordflow">return</span> (<a class="code" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a>)n; +01284 } +01285 } +01286 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetw33NL3D_1_1CTileSetw20">notfound</a>; +01287 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta27" doxytag="NL3D::CTileSet::isChild" ></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::CTileSet::isChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00413">413</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00430">_ChildName</a>. +<p> +<div class="fragment"><pre>00414 { +00415 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSetr3">_ChildName</a>.find(name)!=<a class="code" href="a03534.html#NL3D_1_1CTileSetr3">_ChildName</a>.end(); +00416 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta28" doxytag="NL3D::CTileSet::loadTileVegetableDesc" ></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::CTileSet::loadTileVegetableDesc </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> +try to load the vegetable tile desc associated with the fileName (<a class="el" href="a04199.html#a1">nlinfo()</a> if can't) lookup into CPath. no-op if string=="". +<p> +Definition at line <a class="el" href="a06536.html#l01570">1570</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00436">_TileVegetableDesc</a>, <a class="el" href="a06537.html#l00437">_TileVegetableDescFileName</a>, <a class="el" href="a05622.html#l00111">nlinfo</a>, and <a class="el" href="a06462.html#l00232">NLMISC::IStream::serial()</a>. +<p> +<div class="fragment"><pre>01571 { +01572 <span class="keywordflow">if</span>(<a class="code" href="a03534.html#NL3D_1_1CTileSetr11">_TileVegetableDescFileName</a>!=<span class="stringliteral">""</span>) +01573 { +01574 <span class="keywordflow">try</span> +01575 { +01576 string fname= CPath::lookup(_TileVegetableDescFileName); +01577 <a class="code" href="a02653.html">CIFile</a> f(fname); +01578 <span class="comment">// load the TileVegetableDesc</span> +01579 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_TileVegetableDesc); +01580 } +01581 <span class="keywordflow">catch</span>(<a class="code" href="a02482.html">Exception</a> &e) +01582 { +01583 <a class="code" href="a04199.html#a1">nlinfo</a>(<span class="stringliteral">"Error loading TileVegetableDesc: %s"</span>, e.what()); +01584 } +01585 } +01586 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta29" doxytag="NL3D::CTileSet::removeChild" ></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::CTileSet::removeChild </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </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> + +<p> +Definition at line <a class="el" href="a06536.html#l01311">1311</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00430">_ChildName</a>. +<p> +<div class="fragment"><pre>01312 { +01313 <a class="code" href="a03534.html#NL3D_1_1CTileSetr3">_ChildName</a>.erase (name); +01314 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta30" doxytag="NL3D::CTileSet::removeTile128" ></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::CTileSet::removeTile128 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01236">1236</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00427">_Tile128</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06536.html#l00248">NL3D::CTileBank::freeTile()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>01237 { +01238 <span class="comment">// Check args</span> +01239 <a class="code" href="a04199.html#a6">nlassert</a> (indexInTileSet>=0); +01240 <a class="code" href="a04199.html#a6">nlassert</a> (indexInTileSet<(<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>.size()); +01241 +01242 <span class="comment">// Old index</span> +01243 <span class="keywordtype">int</span> <a class="code" href="a04223.html#a566">index</a>=<a class="code" href="a03534.html#NL3D_1_1CTileSetr7">_Tile128</a>[indexInTileSet]; +01244 +01245 <span class="comment">// Erase</span> +01246 _Tile128.erase (_Tile128.begin()+indexInTileSet); +01247 bank.freeTile (index); +01248 +01249 <span class="comment">// Erase border if it is the last texture</span> +01250 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, CTile::diffuse); +01251 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, CTile::additive); +01252 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, CTile::alpha); +01253 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta31" doxytag="NL3D::CTileSet::removeTile256" ></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::CTileSet::removeTile256 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01255">1255</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00428">_Tile256</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06536.html#l00248">NL3D::CTileBank::freeTile()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a05981.html#l00104">sint</a>. +<p> +<div class="fragment"><pre>01256 { +01257 <span class="comment">// Check args</span> +01258 <a class="code" href="a04199.html#a6">nlassert</a> (indexInTileSet>=0); +01259 <a class="code" href="a04199.html#a6">nlassert</a> (indexInTileSet<(<a class="code" href="a04558.html#a14">sint</a>)<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>.size()); +01260 +01261 <span class="comment">// Old index</span> +01262 <span class="keywordtype">int</span> <a class="code" href="a04223.html#a566">index</a>=<a class="code" href="a03534.html#NL3D_1_1CTileSetr8">_Tile256</a>[indexInTileSet]; +01263 +01264 <span class="comment">// Erase</span> +01265 _Tile256.erase (_Tile256.begin()+indexInTileSet); +01266 bank.freeTile (index); +01267 +01268 <span class="comment">// Erase border if it is the last texture</span> +01269 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, CTile::diffuse); +01270 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, CTile::additive); +01271 <a class="code" href="a03534.html#NL3D_1_1CTileSetd0">deleteBordersIfLast</a> (bank, CTile::alpha); +01272 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSete6" doxytag="NL3D::CTileSet::rotateTransition" ></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="a03534.html#NL3D_1_1CTileSetw33">CTileSet::TTransition</a> NL3D::CTileSet::rotateTransition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname1" valign="top" nowrap> <em>transition</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01389">1389</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06536.html#l00839">_TransitionFlags</a>, <a class="el" href="a06536.html#l01373">getOrientedBorder()</a>, and <a class="el" href="a06536.html#l01274">getTransitionTile()</a>. +<p> +<div class="fragment"><pre>01390 { +01391 <span class="keywordflow">return</span> <a class="code" href="a03534.html#NL3D_1_1CTileSete5">getTransitionTile</a> ( +01392 getOrientedBorder (top, getOrientedBorder (right, _TransitionFlags[transition][right])), <span class="comment">// top</span> +01393 getOrientedBorder (bottom, getOrientedBorder (left, _TransitionFlags[transition][left])), <span class="comment">// bottom</span> +01394 getOrientedBorder (left, getOrientedBorder (top, _TransitionFlags[transition][top])), <span class="comment">// left</span> +01395 getOrientedBorder (right, getOrientedBorder (bottom, _TransitionFlags[transition][bottom])) <span class="comment">// right</span> +01396 ); +01397 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta32" doxytag="NL3D::CTileSet::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::CTileSet::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><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> + +<p> +Definition at line <a class="el" href="a06536.html#l00920">920</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00240">count</a>, <a class="el" href="a06536.html#l01599">NL3D::CTileBorder::serial()</a>, <a class="el" href="a05981.html#l00104">sint</a>, and <a class="el" href="a05981.html#l00105">uint</a>. +<p> +<div class="fragment"><pre>00921 { +00922 <a class="code" href="a04558.html#a14">sint</a> streamver = f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2035_8">serialVersion</a>(_Version); +00923 +00924 CTileBorder tmp; +00925 +00926 <span class="comment">// serial the user surface data</span> +00927 <span class="keywordflow">if</span> (streamver>=5) +00928 { +00929 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (SurfaceData); +00930 } +00931 +00932 <span class="comment">// serial the oriented info which tell if the tile has a special orientation</span> +00933 <span class="keywordflow">if</span> (streamver>=4) +00934 { +00935 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Oriented); +00936 } +00937 +00938 <span class="comment">// serial vegetable info.</span> +00939 <span class="keywordflow">if</span> (streamver>=3) +00940 { +00941 <span class="comment">// serialisze only the FileName, not the descrpitor</span> +00942 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a>(_TileVegetableDescFileName); +00943 } +00944 +00945 <span class="comment">// New version</span> +00946 <span class="keywordflow">if</span> (streamver>=2) +00947 { +00948 <a class="code" href="a04558.html#a15">uint</a> displace; +00949 <span class="keywordflow">for</span> (displace=<a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>; displace<<a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11">CountDisplace</a>; displace++) +00950 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_DisplacementBitmap[displace]); +00951 } +00952 +00953 <span class="comment">// Serial displacement map filename, obsolete</span> +00954 <span class="keywordflow">if</span> (streamver==1) +00955 { +00956 <span class="comment">// Remove obsolete data</span> +00957 string tmp; +00958 <span class="keywordflow">for</span> (<a class="code" href="a04558.html#a15">uint</a> displace=<a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>; displace<<a class="code" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw11">CountDisplace</a>; displace++) +00959 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (tmp); +00960 } +00961 +00962 <span class="keywordtype">int</span> i; +00963 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Name); +00964 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_Tile128); +00965 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_Tile256); +00966 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a04223.html#a577">count</a>; i++) +00967 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_TileTransition[i]); +00968 f.<a class="code" href="a02270.html#NLMISC_1_1IStreamz2033_9">serialCont</a> (_ChildName); +00969 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Border128[CTile::diffuse]); +00970 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Border128[CTile::additive]); +00971 +00972 <span class="comment">// old field, border bump 128</span> +00973 <span class="keywordflow">if</span> (streamver==0) +00974 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (tmp); +00975 +00976 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Border256[CTile::diffuse]); +00977 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_Border256[CTile::additive]); +00978 +00979 <span class="comment">// old field, border bump 256</span> +00980 <span class="keywordflow">if</span> (streamver==0) +00981 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (tmp); +00982 +00983 <span class="keywordflow">for</span> (i=0; i<<a class="code" href="a04223.html#a577">count</a>; i++) +00984 { +00985 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_BorderTransition[i][CTile::diffuse]); +00986 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_BorderTransition[i][CTile::additive]); +00987 f.<a class="code" href="a02270.html#NLMISC_1_1IStreama5">serial</a> (_BorderTransition[i][CTile::alpha]); +00988 +00989 <span class="comment">// Reset the diffuse and alpha border if old version</span> +00990 <span class="keywordflow">if</span> (streamver==0) +00991 { +00992 <a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[i][CTile::diffuse].reset(); +00993 <a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[i][CTile::alpha].reset(); +00994 } +00995 } +00996 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta33" doxytag="NL3D::CTileSet::setBorder" ></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::CTileSet::setBorder </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</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> & </td> + <td class="mdname" nowrap> <em>border</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01010">1010</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00431">_Border128</a>, <a class="el" href="a06537.html#l00432">_Border256</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a06536.html#l01765">NL3D::CTileBorder::doubleSize()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01011 { +01012 <span class="comment">// This is our new border desc</span> +01013 <a class="code" href="a03534.html#NL3D_1_1CTileSetr0">_Border128</a>[<a class="code" href="a04223.html#a581">type</a>]=<a class="code" href="a04223.html#a635">border</a>; +01014 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>]=<a class="code" href="a04223.html#a635">border</a>; +01015 <a class="code" href="a03534.html#NL3D_1_1CTileSetr1">_Border256</a>[<a class="code" href="a04223.html#a581">type</a>].doubleSize (); +01016 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta34" doxytag="NL3D::CTileSet::setDisplacement" ></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::CTileSet::setDisplacement </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw27">TDisplacement</a> </td> + <td class="mdname" nowrap> <em>displacement</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>fileName</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01514">1514</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00434">_DisplacementBitmap</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw15">FirstDisplace</a>, <a class="el" href="a06536.html#l00631">NL3D::CTileBank::getDisplacementMap()</a>, <a class="el" href="a03534.html#NL3D_1_1CTileSetw27NL3D_1_1CTileSetw17">LastDisplace</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, and <a class="el" href="a06536.html#l00558">NL3D::CTileBank::removeDisplacementMap()</a>. +<p> +<div class="fragment"><pre>01515 { +01516 <span class="comment">// checks</span> +01517 <a class="code" href="a04199.html#a6">nlassert</a> (displacement>=FirstDisplace); +01518 <a class="code" href="a04199.html#a6">nlassert</a> (displacement<=LastDisplace); +01519 +01520 <span class="comment">// Clear it</span> +01521 bank.removeDisplacementMap (_DisplacementBitmap[displacement]); +01522 +01523 <span class="comment">// Get displacement map</span> +01524 <a class="code" href="a03534.html#NL3D_1_1CTileSetr4">_DisplacementBitmap</a>[displacement]=bank.getDisplacementMap (fileName); +01525 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta35" doxytag="NL3D::CTileSet::setName" ></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::CTileSet::setName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>name</em> </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> + +<p> +Definition at line <a class="el" href="a06536.html#l00910">910</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +<div class="fragment"><pre>00911 { +00912 <a class="code" href="a03534.html#NL3D_1_1CTileSetr5">_Name</a>=name; +00913 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta36" doxytag="NL3D::CTileSet::setOriented" ></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::CTileSet::setOriented </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname1" valign="top" nowrap> <em>oriented</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> + +<p> +Definition at line <a class="el" href="a06537.html#l00309">309</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +References <a class="el" href="a06537.html#l00426">_Oriented</a>. +<p> +<div class="fragment"><pre>00309 { <a class="code" href="a03534.html#NL3D_1_1CTileSetr6">_Oriented</a> = oriented; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta37" doxytag="NL3D::CTileSet::setTile128" ></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::CTileSet::setTile128 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01018">1018</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00427">_Tile128</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, <a class="el" href="a06537.html#l00089">NL3D::CTile::setFileName()</a>, <a class="el" href="a06537.html#l00105">NL3D::CTile::setRotAlpha()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01019 { +01020 <span class="comment">// Edit a tile</span> +01021 CTile *tile=bank.getTile (_Tile128[indexInTileSet]); +01022 tile->setFileName (type, name); +01023 tile->setRotAlpha (0); +01024 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta38" doxytag="NL3D::CTileSet::setTile256" ></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::CTileSet::setTile256 </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">int </td> + <td class="mdname" nowrap> <em>indexInTileSet</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01108">1108</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00428">_Tile256</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, <a class="el" href="a06537.html#l00089">NL3D::CTile::setFileName()</a>, <a class="el" href="a06537.html#l00105">NL3D::CTile::setRotAlpha()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01109 { +01110 <span class="comment">// Edit a tile</span> +01111 CTile *tile=bank.getTile (_Tile256[indexInTileSet]); +01112 tile->setFileName (type, name); +01113 tile->setRotAlpha (0); +01114 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta39" doxytag="NL3D::CTileSet::setTileTransition" ></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::CTileSet::setTileTransition </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname" nowrap> <em>transition</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03515.html#NL3D_1_1CTilew4">CTile::TBitmap</a> </td> + <td class="mdname" nowrap> <em>type</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</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> & </td> + <td class="mdname" nowrap> <em>border</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01116">1116</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00433">_BorderTransition</a>, <a class="el" href="a06537.html#l00429">_TileTransition</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06537.html#l00089">NL3D::CTile::setFileName()</a>, and <a class="el" href="a05646.html#l00244">type</a>. +<p> +<div class="fragment"><pre>01118 { +01119 <span class="comment">// Check is not an alpha channel</span> +01120 <a class="code" href="a04199.html#a6">nlassert</a> (type!=CTile::alpha); <span class="comment">// use setTileTransitionAlpha</span> +01121 +01122 <span class="comment">// Create a tile</span> +01123 <a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[transition][<a class="code" href="a04223.html#a581">type</a>]=<a class="code" href="a04223.html#a635">border</a>; +01124 +01125 <span class="comment">// Set the tile file name</span> +01126 CTile *tile=bank.getTile (_TileTransition[transition]._Tile); +01127 tile->setFileName (type, name); +01128 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta40" doxytag="NL3D::CTileSet::setTileTransitionAlpha" ></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::CTileSet::setTileTransitionAlpha </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03534.html#NL3D_1_1CTileSetw33">TTransition</a> </td> + <td class="mdname" nowrap> <em>transition</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>name</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a03517.html">CTileBank</a> & </td> + <td class="mdname" nowrap> <em>bank</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> & </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="a04558.html#a7">uint8</a> </td> + <td class="mdname" nowrap> <em>rotAlpha</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l01130">1130</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00433">_BorderTransition</a>, <a class="el" href="a06537.html#l00429">_TileTransition</a>, <a class="el" href="a05646.html#l01013">border</a>, <a class="el" href="a06537.html#l00532">NL3D::CTileBank::getTile()</a>, <a class="el" href="a05622.html#l00290">nlassert</a>, <a class="el" href="a06537.html#l00089">NL3D::CTile::setFileName()</a>, <a class="el" href="a06537.html#l00105">NL3D::CTile::setRotAlpha()</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>01132 { +01133 <span class="comment">// Check some args</span> +01134 <a class="code" href="a04199.html#a6">nlassert</a> (rot<4); +01135 +01136 <span class="comment">// Create a tile</span> +01137 <a class="code" href="a03534.html#NL3D_1_1CTileSetr2">_BorderTransition</a>[transition][CTile::alpha]=<a class="code" href="a04223.html#a635">border</a>; +01138 +01139 <span class="comment">// Set the tile file name</span> +01140 CTile *tile=bank.getTile (_TileTransition[transition]._Tile); +01141 tile->setFileName (CTile::alpha, name); +01142 tile->setRotAlpha (rot); +01143 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta41" doxytag="NL3D::CTileSet::setTileVegetableDesc" ></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::CTileSet::setTileVegetableDesc </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03536.html">CTileVegetableDesc</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>tvd</em> </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> + +<p> +Definition at line <a class="el" href="a06536.html#l01552">1552</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00436">_TileVegetableDesc</a>. +<p> +<div class="fragment"><pre>01553 { +01554 <a class="code" href="a03534.html#NL3D_1_1CTileSetr10">_TileVegetableDesc</a>= tvd; +01555 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeta42" doxytag="NL3D::CTileSet::setTileVegetableDescFileName" ></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::CTileSet::setTileVegetableDescFileName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>fileName</em> </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> + +<p> +Definition at line <a class="el" href="a06536.html#l01542">1542</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +References <a class="el" href="a06537.html#l00437">_TileVegetableDescFileName</a>. +<p> +<div class="fragment"><pre>01543 { +01544 <a class="code" href="a03534.html#NL3D_1_1CTileSetr11">_TileVegetableDescFileName</a>= fileName; +01545 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Friends And Related Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CTileSetn0" doxytag="NL3D::CTileSet::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> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00279">279</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_1CTileSetr0" doxytag="NL3D::CTileSet::_Border128" ></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="a03519.html">CTileBorder</a> <a class="el" href="a03534.html#NL3D_1_1CTileSetr0">NL3D::CTileSet::_Border128</a>[2]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00431">431</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01026">checkTile128()</a>, <a class="el" href="a06536.html#l01069">checkTile256()</a>, <a class="el" href="a06536.html#l01527">cleanUnusedData()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00361">getBorder128()</a>, and <a class="el" href="a06536.html#l01010">setBorder()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr1" doxytag="NL3D::CTileSet::_Border256" ></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="a03519.html">CTileBorder</a> <a class="el" href="a03534.html#NL3D_1_1CTileSetr1">NL3D::CTileSet::_Border256</a>[2]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00432">432</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01069">checkTile256()</a>, <a class="el" href="a06536.html#l01527">cleanUnusedData()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00365">getBorder256()</a>, and <a class="el" href="a06536.html#l01010">setBorder()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr2" doxytag="NL3D::CTileSet::_BorderTransition" ></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="a03519.html">CTileBorder</a> <a class="el" href="a03534.html#NL3D_1_1CTileSetr2">NL3D::CTileSet::_BorderTransition</a>[<a class="el" href="a04223.html#a577">count</a>][CTile::bitmapCount]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00433">433</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01145">checkTileTransition()</a>, <a class="el" href="a06536.html#l01527">cleanUnusedData()</a>, <a class="el" href="a06536.html#l01417">clearTransition()</a>, <a class="el" href="a06536.html#l01289">getExistingTransitionTile()</a>, <a class="el" href="a06536.html#l01116">setTileTransition()</a>, and <a class="el" href="a06536.html#l01130">setTileTransitionAlpha()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr3" doxytag="NL3D::CTileSet::_ChildName" ></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::set<std::string> <a class="el" href="a03534.html#NL3D_1_1CTileSetr3">NL3D::CTileSet::_ChildName</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00430">430</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01306">addChild()</a>, <a class="el" href="a06536.html#l01527">cleanUnusedData()</a>, <a class="el" href="a06537.html#l00413">isChild()</a>, and <a class="el" href="a06536.html#l01311">removeChild()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr4" doxytag="NL3D::CTileSet::_DisplacementBitmap" ></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="a03534.html#NL3D_1_1CTileSetr4">NL3D::CTileSet::_DisplacementBitmap</a>[CTileSet::CountDisplace]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00434">434</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01498">clearDisplacement()</a>, <a class="el" href="a06536.html#l00898">CTileSet()</a>, <a class="el" href="a06537.html#l00375">getDisplacementTile()</a>, and <a class="el" href="a06536.html#l01514">setDisplacement()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetv0" doxytag="NL3D::CTileSet::_ErrorMessage" ></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 char * <a class="el" href="a03534.html#NL3D_1_1CTileSetv0">NL3D::CTileSet::_ErrorMessage</a><code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<b>Initial value:</b><div class="fragment"><pre> +{ + <span class="stringliteral">"No error."</span>, + <span class="stringliteral">"Top interface is incompatible."</span>, + <span class="stringliteral">"Bottom interface is incompatible."</span>, + <span class="stringliteral">"Left interface is incompatible."</span>, + <span class="stringliteral">"Right interface is incompatible."</span>, + <span class="stringliteral">"Add first a 128x128 tile."</span>, + <span class="stringliteral">"Top and bottom interface not the same."</span>, + <span class="stringliteral">"Right and left interface not the same."</span>, + <span class="stringliteral">"Invalide bitmap size."</span>, +} +</pre></div> +<p> +Definition at line <a class="el" href="a06536.html#l00826">826</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +Referenced by <a class="el" href="a06537.html#l00391">getErrorMessage()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr5" doxytag="NL3D::CTileSet::_Name" ></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="a03534.html#NL3D_1_1CTileSetr5">NL3D::CTileSet::_Name</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00425">425</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr6" doxytag="NL3D::CTileSet::_Oriented" ></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="a03534.html#NL3D_1_1CTileSetr6">NL3D::CTileSet::_Oriented</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00426">426</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00898">CTileSet()</a>, <a class="el" href="a06537.html#l00333">getOriented()</a>, and <a class="el" href="a06537.html#l00309">setOriented()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr7" doxytag="NL3D::CTileSet::_Tile128" ></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="a04558.html#a10">sint32</a>> <a class="el" href="a03534.html#NL3D_1_1CTileSetr7">NL3D::CTileSet::_Tile128</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00427">427</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00998">addTile128()</a>, <a class="el" href="a06536.html#l01399">clearTile128()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00337">getNumTile128()</a>, <a class="el" href="a06537.html#l00345">getTile128()</a>, <a class="el" href="a06536.html#l01236">removeTile128()</a>, and <a class="el" href="a06536.html#l01018">setTile128()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr8" doxytag="NL3D::CTileSet::_Tile256" ></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="a04558.html#a10">sint32</a>> <a class="el" href="a03534.html#NL3D_1_1CTileSetr8">NL3D::CTileSet::_Tile256</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00428">428</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01057">addTile256()</a>, <a class="el" href="a06536.html#l01408">clearTile256()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00341">getNumTile256()</a>, <a class="el" href="a06537.html#l00349">getTile256()</a>, <a class="el" href="a06536.html#l01255">removeTile256()</a>, and <a class="el" href="a06536.html#l01108">setTile256()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr9" doxytag="NL3D::CTileSet::_TileTransition" ></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="a03535.html">CTileSetTransition</a> <a class="el" href="a03534.html#NL3D_1_1CTileSetr9">NL3D::CTileSet::_TileTransition</a>[<a class="el" href="a04223.html#a577">count</a>]<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00429">429</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01417">clearTransition()</a>, <a class="el" href="a06536.html#l01429">deleteBordersIfLast()</a>, <a class="el" href="a06537.html#l00353">getTransition()</a>, <a class="el" href="a06536.html#l01116">setTileTransition()</a>, and <a class="el" href="a06536.html#l01130">setTileTransitionAlpha()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr10" doxytag="NL3D::CTileSet::_TileVegetableDesc" ></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="a03536.html">CTileVegetableDesc</a> <a class="el" href="a03534.html#NL3D_1_1CTileSetr10">NL3D::CTileSet::_TileVegetableDesc</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00436">436</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01558">getTileVegetableDesc()</a>, <a class="el" href="a06536.html#l01570">loadTileVegetableDesc()</a>, and <a class="el" href="a06536.html#l01552">setTileVegetableDesc()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetr11" doxytag="NL3D::CTileSet::_TileVegetableDescFileName" ></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="a03534.html#NL3D_1_1CTileSetr11">NL3D::CTileSet::_TileVegetableDescFileName</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00437">437</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01547">getTileVegetableDescFileName()</a>, <a class="el" href="a06536.html#l01570">loadTileVegetableDesc()</a>, and <a class="el" href="a06536.html#l01542">setTileVegetableDescFileName()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetv1" doxytag="NL3D::CTileSet::_TransitionFlags" ></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="a03534.html#NL3D_1_1CTileSetw29">CTileSet::TFlagBorder</a> <a class="el" href="a03534.html#NL3D_1_1CTileSetv1">NL3D::CTileSet::_TransitionFlags</a><code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +<b>Initial value:</b><div class="fragment"><pre> +{ + {<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw2">_0111</a>,_0111}, + {_0111,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw5">_1111</a>,_0111,_1111}, + {<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>,_0111,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>,_0111}, + {<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_1111,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw0">_0000</a>}, + {<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_1111,_1111,_0111}, + {_0000,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_0111,_0000}, + + {_0000,_1111,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw1">_0001</a>,_0001}, + {_0000,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>,_0001,_0000}, + {_1111,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw3">_1000</a>,_1111,_1000}, + {_1000,_1000,_1111,_0000}, + {_1000,_0000,_1000,_0000}, + {_1111,_0001,_1000,_1111}, + + {_0000,_1111,_0111,_0001}, + {_0000,_1111,_0001,_0111}, + {_0111,_1111,_0001,_1111}, + {<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_1000,_1111,_0000}, + {_1000,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_1111,_0000}, + {_1111,_0001,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_1111}, + + {_1000,_0000,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>,_0000}, + {_0000,_0111,_0000,_0001}, + {_1111,_1000,_1111,<a class="code" href="a03534.html#NL3D_1_1CTileSetw29NL3D_1_1CTileSetw4">_1110</a>}, + {_0111,_0000,_0000,_1000}, + {_0000,_1000,_0111,_0000}, + {_1111,_0111,_1000,_1111}, + + {_1111,_0000,_1110,_1110}, + {_1111,_1110,_1111,_1110}, + {_1110,_0000,_1110,_0000}, + {_0111,_0111,_0000,_1111}, + {_1111,_0111,_1110,_1111}, + {_0111,_0000,_0000,_1110}, + + {_1111,_0000,_1000,_1000}, + {_0001,_0000,_0000,_1000}, + {_0001,_1111,_0001,_1111}, + {_0001,_0001,_0000,_1111}, + {_0000,_0001,_0000,_0001}, + {_1000,_1111,_1111,_0001}, + + {_1111,_0000,_1000,_1110}, + {_1111,_0000,_1110,_1000}, + {_1000,_1111,_1111,_0111}, + {_0001,_0111,_0000,_1111}, + {_0111,_0001,_0000,_1111}, + {_1111,_1110,_1111,_1000}, + + {_0000,_0001,_0000,_0111}, + {_1110,_0000,_1000,_0000}, + {_0001,_1111,_0111,_1111}, + {_0000,_1110,_0001,_0000}, + {_0001,_0000,_0000,_1110}, + {_1110,_1111,_1111,_0001} +} +</pre></div> +<p> +Definition at line <a class="el" href="a06536.html#l00839">839</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. +<p> +Referenced by <a class="el" href="a06536.html#l01145">checkTileTransition()</a>, <a class="el" href="a06536.html#l01316">getComplementaryTransition()</a>, <a class="el" href="a06537.html#l00401">getEdgeType()</a>, <a class="el" href="a06536.html#l01289">getExistingTransitionTile()</a>, <a class="el" href="a06536.html#l01274">getTransitionTile()</a>, and <a class="el" href="a06536.html#l01389">rotateTransition()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSetv2" doxytag="NL3D::CTileSet::_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="a03534.html#NL3D_1_1CTileSetv2">NL3D::CTileSet::_Version</a> = 5<code> [static, private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06536.html#l00824">824</a> of file <a class="el" href="a06536.html">tile_bank.cpp</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CTileSeto0" doxytag="NL3D::CTileSet::SurfaceData" ></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="a03534.html#NL3D_1_1CTileSeto0">NL3D::CTileSet::SurfaceData</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06537.html#l00442">442</a> of file <a class="el" href="a06537.html">tile_bank.h</a>. +<p> +Referenced by <a class="el" href="a06536.html#l00898">CTileSet()</a>, and <a class="el" href="a06725.html#l00565">NL3D::CVisualCollisionEntity::getSurfaceInfo()</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:05:49 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> |