diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a03753.html | 1412 |
1 files changed, 1412 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03753.html b/docs/doxygen/nel/a03753.html new file mode 100644 index 00000000..d0931a3d --- /dev/null +++ b/docs/doxygen/nel/a03753.html @@ -0,0 +1,1412 @@ +<!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::CZoneManager 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::CZoneManager Class Reference</h1><code>#include <<a class="el" href="a06771.html">zone_manager.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CZoneManager: +<p><center><img src="a03753.png" usemap="#NL3D::CZoneManager_map" border="0" alt=""></center> +<map name="NL3D::CZoneManager_map"> +<area href="a03754.html" alt="NL3D::CZoneSearch" shape="rect" coords="0,0,140,24"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<a class="el" href="a03753.html">CZoneManager</a> is a class that manage zone loading around of player <dl compact><dt><b>Author:</b></dt><dd>Alain Saffray <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2000 sa See Also, <a class="el" href="a03754.html">CZoneSearch</a>, CTaskManager </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06771.html#l00052">52</a> of file <a class="el" href="a06771.html">zone_manager.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></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="a03753.html#NL3D_1_1CZoneManagera0">checkZonesAround</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a15">uint</a> area)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera1">clear</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Remove all zones. <a href="#NL3D_1_1CZoneManagera1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera2">CZoneManager</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#NL3D_1_1CZoneManagera2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03754.html#NL3D_1_1CZoneSearcha1">getListZoneId</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a15">uint</a> sizeArea, std::vector< <a class="el" href="a04558.html#a9">uint16</a> > &l)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03754.html#NL3D_1_1CZoneSearcha2">getListZoneName</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a15">uint</a> sizeArea, std::list< std::pair< std::string, <a class="el" href="a04558.html#a11">uint32</a> > > &l)</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="a03753.html#NL3D_1_1CZoneManagera5">getNumZoneLeftToLoad</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the count of zone left to load. <a href="#NL3D_1_1CZoneManagera5"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03754.html#NL3D_1_1CZoneSearcha3">getZoneId</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a573">y</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::pair< std::string, <a class="el" href="a04558.html#a11">uint32</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03754.html#NL3D_1_1CZoneSearcha4">getZoneName</a> (<a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a15">uint</a> <a class="el" href="a04223.html#a573">y</a>, <a class="el" href="a04558.html#a15">uint</a> cx, <a class="el" href="a04558.html#a15">uint</a> cy)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03754.html#NL3D_1_1CZoneSearcha5">getZoneNameFromId</a> (<a class="el" href="a04558.html#a9">uint16</a> zoneid)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera9">getZonePath</a> (void)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">getZonePath : Get Path for zone loading <a href="#NL3D_1_1CZoneManagera9"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03754.html#NL3D_1_1CZoneSearcha6">getZonePos</a> (<a class="el" href="a04558.html#a9">uint16</a> zoneId, <a class="el" href="a04558.html#a15">uint</a> &<a class="el" href="a04223.html#a572">x</a>, <a class="el" href="a04558.html#a15">uint</a> &<a class="el" href="a04223.html#a573">y</a>) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera11">isLoading</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Does the manager is loading ? <a href="#NL3D_1_1CZoneManagera11"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera12">isRemoving</a> () const </td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Does the manager is removing ? <a href="#NL3D_1_1CZoneManagera12"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera13">isWorkComplete</a> (<a class="el" href="a03756.html">SZoneManagerWork</a> &rWork)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Is a work has been completed ? <a href="#NL3D_1_1CZoneManagera13"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera14">setZonePath</a> (std::string zonePath)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">setZonePath : Set Path for zone loading <a href="#NL3D_1_1CZoneManagera14"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera15">setZoneTileColor</a> (bool monochrome, float factor)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">set the zone tile color (if false tile are monochromed with the tile color) <a href="#NL3D_1_1CZoneManagera15"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagera16">~CZoneManager</a> ()</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#NL3D_1_1CZoneManagera16"></a><br><br></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="a04558.html#a9">uint16</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr0">_IdZoneToRemove</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="a03753.html#NL3D_1_1CZoneManagerr1">_LastX</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="a03753.html#NL3D_1_1CZoneManagerr2">_LastY</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a9">uint16</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::list< <a class="el" href="a03755.html">CLoadingZone</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::vector< <a class="el" href="a04558.html#a9">uint16</a> > </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr6">_ZoneList</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr7">_zonePath</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Path for zone loading. <a href="#NL3D_1_1CZoneManagerr7"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr8">_ZoneTileColorFactor</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="a03753.html#NL3D_1_1CZoneManagerr9">_ZoneTileColorMono</a></td></tr> + +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NL3D_1_1CZoneManagera2" doxytag="NL3D::CZoneManager::CZoneManager" ></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::CZoneManager::CZoneManager </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Constructor. +<p> + +<p> +Definition at line <a class="el" href="a06770.html#l00046">46</a> of file <a class="el" href="a06770.html">zone_manager.cpp</a>. +<p> +References <a class="el" href="a06771.html#l00149">_RemovingZone</a>, <a class="el" href="a06771.html#l00121">_ZoneTileColorFactor</a>, and <a class="el" href="a06771.html#l00120">_ZoneTileColorMono</a>. +<p> +<div class="fragment"><pre>00047 { +00048 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a>= <span class="keyword">false</span>; +00049 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr9">_ZoneTileColorMono</a> = <span class="keyword">true</span>; +00050 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr8">_ZoneTileColorFactor</a> = 1.0f; +00051 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera16" doxytag="NL3D::CZoneManager::~CZoneManager" ></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::CZoneManager::~<a class="el" href="a03753.html">CZoneManager</a> </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> +Destructor. +<p> + +<p> +Definition at line <a class="el" href="a06770.html#l00054">54</a> of file <a class="el" href="a06770.html">zone_manager.cpp</a>. +<p> +<div class="fragment"><pre>00055 { +00056 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NL3D_1_1CZoneManagera0" doxytag="NL3D::CZoneManager::checkZonesAround" ></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::CZoneManager::checkZonesAround </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>y</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>area</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> +checkZonesAround : Add/Remove all zomes around a certain point If a work is currently completed remove it and began another one +<p> +Definition at line <a class="el" href="a06770.html#l00080">80</a> of file <a class="el" href="a06770.html">zone_manager.cpp</a>. +<p> +References <a class="el" href="a06771.html#l00150">_IdZoneToRemove</a>, <a class="el" href="a06771.html#l00129">_LastY</a>, <a class="el" href="a06771.html#l00126">_LoadedZones</a>, <a class="el" href="a06771.html#l00146">_LoadingZones</a>, <a class="el" href="a06771.html#l00149">_RemovingZone</a>, <a class="el" href="a06771.html#l00128">_ZoneList</a>, <a class="el" href="a06771.html#l00121">_ZoneTileColorFactor</a>, <a class="el" href="a06771.html#l00120">_ZoneTileColorMono</a>, <a class="el" href="a06485.html#l00126">NLMISC::CTaskManager::addTask()</a>, <a class="el" href="a06774.html#l00158">NL3D::CZoneSearch::getListZoneId()</a>, <a class="el" href="a06774.html#l00206">NL3D::CZoneSearch::getZoneNameFromId()</a>, <a class="el" href="a06774.html#l00152">NL3D::CZoneSearch::getZonePos()</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00237">v</a>, <a class="el" href="a05646.html#l00236">x</a>, <a class="el" href="a05646.html#l00236">y</a>, <a class="el" href="a06771.html#l00142">NL3D::CZoneManager::CLoadingZone::Zone</a>, <a class="el" href="a06771.html#l00136">NL3D::CZoneManager::CLoadingZone::ZoneToAddId</a>, and <a class="el" href="a06771.html#l00139">NL3D::CZoneManager::CLoadingZone::ZoneToAddName</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00151">NL3D::CLandscapeUser::loadAllZonesAround()</a>, <a class="el" href="a05874.html#l00193">NL3D::CLandscapeUser::refreshAllZonesAround()</a>, and <a class="el" href="a05874.html#l00265">NL3D::CLandscapeUser::refreshZonesAround()</a>. +<p> +<div class="fragment"><pre>00081 { +00082 <span class="keywordflow">if</span> (<a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a>) <span class="keywordflow">return</span>; +00083 +00084 <span class="comment">// Obtain the new set of zones around</span> +00085 <span class="keywordflow">if</span> ((<a class="code" href="a04223.html#a572">x</a> != <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr1">_LastX</a>) || (<a class="code" href="a04223.html#a573">y</a> != <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr2">_LastY</a>)) +00086 <a class="code" href="a03754.html#NL3D_1_1CZoneSearcha1">getListZoneId</a> (x, y, area, _ZoneList); +00087 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr1">_LastX</a> = <a class="code" href="a04223.html#a572">x</a>; +00088 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr2">_LastY</a> = <a class="code" href="a04223.html#a573">y</a>; +00089 +00090 <span class="comment">// Look if we have zone loaded that is not needed anymore</span> +00091 <a class="code" href="a04558.html#a11">uint32</a> i, j; +00092 <span class="keywordflow">for</span> (i = 0; i < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.size(); ++i) +00093 { +00094 <span class="comment">// If the loadedzone i do not appear in the zone list so we have to remove it</span> +00095 <span class="keywordtype">bool</span> bFound = <span class="keyword">false</span>; +00096 <a class="code" href="a04558.html#a9">uint16</a> nLoadedZone = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>[i]; +00097 <span class="keywordflow">for</span> (j = 0; j < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr6">_ZoneList</a>.size(); ++j) +00098 { +00099 <span class="keywordflow">if</span> (<a class="code" href="a03753.html#NL3D_1_1CZoneManagerr6">_ZoneList</a>[j] == nLoadedZone) +00100 { +00101 bFound = <span class="keyword">true</span>; +00102 <span class="keywordflow">break</span>; +00103 } +00104 } +00105 +00106 <span class="keywordflow">if</span> (!bFound) +00107 { +00108 <span class="comment">// Remove the zone nLoadedZone</span> +00109 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr0">_IdZoneToRemove</a> = nLoadedZone; +00110 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a> = <span class="keyword">true</span>; +00111 <span class="keywordflow">return</span>; +00112 } +00113 } +00114 +00115 <span class="comment">// Look if we have zone not already loaded</span> +00116 <span class="keywordflow">for</span> (i = 0; i < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr6">_ZoneList</a>.size(); ++i) +00117 { +00118 <span class="comment">// If the zone requested do not appear in the zone loaded list so we have to load it</span> +00119 <span class="keywordtype">bool</span> bFound = <span class="keyword">false</span>; +00120 <a class="code" href="a04558.html#a9">uint16</a> nZone = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr6">_ZoneList</a>[i]; +00121 <span class="keywordflow">for</span> (j = 0; j < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.size(); ++j) +00122 { +00123 <span class="keywordflow">if</span> (<a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>[j] == nZone) +00124 { +00125 bFound = <span class="keyword">true</span>; +00126 <span class="keywordflow">break</span>; +00127 } +00128 } +00129 +00130 <span class="keywordflow">if</span> (!bFound) +00131 { +00132 <span class="comment">// Already loading ?</span> +00133 std::list<CLoadingZone>::iterator ite = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.begin (); +00134 <span class="keywordflow">while</span> (ite != <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.end()) +00135 { +00136 <span class="keywordflow">if</span> (ite->ZoneToAddId == nZone) +00137 <span class="keywordflow">break</span>; +00138 +00139 <span class="comment">// Next loading zone</span> +00140 ite++; +00141 } +00142 +00143 <span class="comment">// Not loading ?</span> +00144 <span class="keywordflow">if</span> (ite == <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.end()) +00145 { +00146 <span class="comment">// Add a new zone to load</span> +00147 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.push_back(CLoadingZone ()); +00148 CLoadingZone &newZone = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.back(); +00149 newZone.ZoneToAddName = <a class="code" href="a03754.html#NL3D_1_1CZoneSearcha5">getZoneNameFromId</a>(nZone); +00150 newZone.ZoneToAddId = nZone; +00151 newZone.Zone = NULL; +00152 +00153 <span class="comment">// We have to load this zone ! and return because only one load at a time</span> +00154 <a class="code" href="a02215.html">CAsyncFileManager</a> &rAFM = <a class="code" href="a02215.html#NLMISC_1_1CAsyncFileManagere0">CAsyncFileManager::getInstance</a>(); +00155 +00156 <span class="comment">// Make a position</span> +00157 <a class="code" href="a04558.html#a15">uint</a> <a class="code" href="a04223.html#a572">x</a>, <a class="code" href="a04223.html#a573">y</a>; +00158 <a class="code" href="a03754.html#NL3D_1_1CZoneSearcha6">getZonePos</a> (newZone.ZoneToAddId, x, y); +00159 <span class="comment">// rAFM.addTask (new CZoneLoadingTask(newZone.ZoneToAddName, &newZone.Zone, CVector ((float)x, -(float)y, 0)));</span> +00160 CVector <a class="code" href="a04223.html#a576">v</a> = CVector ((<span class="keywordtype">float</span>)x, -(<span class="keywordtype">float</span>)y, 0); +00161 rAFM.<a class="code" href="a02216.html#NLMISC_1_1CTaskManagera0">addTask</a> (<span class="keyword">new</span> CZoneLoadingTask(newZone.ZoneToAddName, &newZone.Zone, v, _ZoneTileColorMono, _ZoneTileColorFactor)); +00162 } +00163 } +00164 } +00165 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera1" doxytag="NL3D::CZoneManager::clear" ></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::CZoneManager::clear </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> +Remove all zones. +<p> + +<p> +Definition at line <a class="el" href="a06770.html#l00220">220</a> of file <a class="el" href="a06770.html">zone_manager.cpp</a>. +<p> +References <a class="el" href="a06771.html#l00126">_LoadedZones</a>, <a class="el" href="a06771.html#l00146">_LoadingZones</a>, <a class="el" href="a06771.html#l00149">_RemovingZone</a>, and <a class="el" href="a05622.html#l00290">nlassert</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00315">NL3D::CLandscapeUser::removeAllZones()</a>. +<p> +<div class="fragment"><pre>00221 { +00222 <a class="code" href="a04199.html#a6">nlassert</a>(<a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.size() == 0); +00223 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.clear(); +00224 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a> = <span class="keyword">false</span>; +00225 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneSearcha1" doxytag="NL3D::CZoneManager::getListZoneId" ></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::CZoneSearch::getListZoneId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>y</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>sizeArea</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::vector< <a class="el" href="a04558.html#a9">uint16</a> > & </td> + <td class="mdname" nowrap> <em>l</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</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="a06774.html#l00158">158</a> of file <a class="el" href="a06774.html">zone_search.cpp</a>. +<p> +References <a class="el" href="a06775.html#l00078">NL3D::CZoneSearch::_NbZoneX</a>, <a class="el" href="a06775.html#l00081">NL3D::CZoneSearch::_NbZoneY</a>, <a class="el" href="a06775.html#l00084">NL3D::CZoneSearch::_SizeZoneX</a>, <a class="el" href="a06775.html#l00087">NL3D::CZoneSearch::_SizeZoneY</a>, <a class="el" href="a06774.html#l00144">NL3D::CZoneSearch::getZoneId()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>. +<p> +<div class="fragment"><pre>00159 { +00160 <a class="code" href="a04558.html#a14">sint</a> startPosX, startPosY; +00161 <a class="code" href="a04558.html#a15">uint</a> lastPosX, lastPosY, sizeAreaX, sizeAreaY; +00162 +00163 startPosX = <a class="code" href="a04223.html#a572">x</a> - sizeArea; +00164 startPosY = <a class="code" href="a04223.html#a573">y</a> - sizeArea; +00165 +00166 sizeArea += sizeArea; +00167 sizeAreaX = sizeAreaY = sizeArea; +00168 +00169 <span class="keywordflow">if</span>(startPosX < 0) +00170 { +00171 sizeAreaX += startPosX; +00172 startPosX = 0; +00173 } +00174 +00175 lastPosX = startPosX + sizeAreaX; +00176 <span class="keywordflow">if</span>(lastPosX >= (_NbZoneX * _SizeZoneX)) +00177 { +00178 sizeAreaX -= _NbZoneX * _SizeZoneX - lastPosX; +00179 lastPosX = _NbZoneX * _SizeZoneX - 1; +00180 } +00181 +00182 <span class="keywordflow">if</span>(startPosY < 0) +00183 { +00184 sizeAreaY += startPosY; +00185 startPosY = 0; +00186 } +00187 +00188 lastPosY = startPosY + sizeAreaY; +00189 <span class="keywordflow">if</span>(lastPosY >= (_NbZoneY * _SizeZoneY)) +00190 { +00191 sizeAreaY -= _NbZoneY * _SizeZoneY - lastPosY; +00192 lastPosY = _NbZoneY * _SizeZoneY - 1; +00193 } +00194 +00195 <a class="code" href="a05373.html#a2">l</a>.clear(); +00196 +00197 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i = startPosY; i <= lastPosY; i += _SizeZoneY) +00198 { +00199 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> j = startPosX; j <= lastPosX; j += _SizeZoneX) +00200 { +00201 <a class="code" href="a05373.html#a2">l</a>.push_back(<a class="code" href="a03754.html#NL3D_1_1CZoneSearcha3">getZoneId</a>(j, i)); +00202 } +00203 } +00204 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneSearcha2" doxytag="NL3D::CZoneManager::getListZoneName" ></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::CZoneSearch::getListZoneName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>y</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>sizeArea</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>std::list< std::pair< std::string, <a class="el" href="a04558.html#a11">uint32</a> > > & </td> + <td class="mdname" nowrap> <em>l</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</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="a06774.html#l00096">96</a> of file <a class="el" href="a06774.html">zone_search.cpp</a>. +<p> +References <a class="el" href="a06775.html#l00078">NL3D::CZoneSearch::_NbZoneX</a>, <a class="el" href="a06775.html#l00081">NL3D::CZoneSearch::_NbZoneY</a>, <a class="el" href="a06775.html#l00084">NL3D::CZoneSearch::_SizeZoneX</a>, <a class="el" href="a06775.html#l00087">NL3D::CZoneSearch::_SizeZoneY</a>, <a class="el" href="a06774.html#l00067">NL3D::CZoneSearch::getZoneName()</a>, <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +<div class="fragment"><pre>00097 { +00098 <a class="code" href="a04558.html#a14">sint</a> startPosX, startPosY; +00099 <a class="code" href="a04558.html#a15">uint</a> lastPosX, lastPosY, sizeAreaX, sizeAreaY; +00100 +00101 startPosX = <a class="code" href="a04223.html#a572">x</a> - sizeArea; +00102 startPosY = <a class="code" href="a04223.html#a573">y</a> - sizeArea; +00103 +00104 sizeArea += sizeArea; +00105 sizeAreaX = sizeAreaY = sizeArea; +00106 +00107 <span class="keywordflow">if</span>(startPosX < 0) +00108 { +00109 sizeAreaX += startPosX; +00110 startPosX = 0; +00111 } +00112 +00113 lastPosX = startPosX + sizeAreaX; +00114 <span class="keywordflow">if</span>(lastPosX >= (_NbZoneX * _SizeZoneX)) +00115 { +00116 sizeAreaX -= _NbZoneX * _SizeZoneX - lastPosX; +00117 lastPosX = _NbZoneX * _SizeZoneX - 1; +00118 } +00119 +00120 <span class="keywordflow">if</span>(startPosY < 0) +00121 { +00122 sizeAreaY += startPosY; +00123 startPosY = 0; +00124 } +00125 +00126 lastPosY = startPosY + sizeAreaY; +00127 <span class="keywordflow">if</span>(lastPosY >= (_NbZoneY * _SizeZoneY)) +00128 { +00129 sizeAreaY -= _NbZoneY * _SizeZoneY - lastPosY; +00130 lastPosY = _NbZoneY * _SizeZoneY - 1; +00131 } +00132 +00133 <a class="code" href="a05373.html#a2">l</a>.clear(); +00134 +00135 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> i = startPosY; i <= lastPosY; i += _SizeZoneY) +00136 { +00137 <span class="keywordflow">for</span>(<a class="code" href="a04558.html#a15">uint</a> j = startPosX; j <= lastPosX; j += _SizeZoneX) +00138 { +00139 <a class="code" href="a05373.html#a2">l</a>.push_back(<a class="code" href="a03754.html#NL3D_1_1CZoneSearcha4">getZoneName</a>(j, i, x, y)); +00140 } +00141 } +00142 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera5" doxytag="NL3D::CZoneManager::getNumZoneLeftToLoad" ></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::CZoneManager::getNumZoneLeftToLoad </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 count of zone left to load. +<p> + +<p> +Definition at line <a class="el" href="a06770.html#l00059">59</a> of file <a class="el" href="a06770.html">zone_manager.cpp</a>. +<p> +References <a class="el" href="a06771.html#l00126">_LoadedZones</a>, <a class="el" href="a06771.html#l00128">_ZoneList</a>, <a class="el" href="a05981.html#l00105">uint</a>, and <a class="el" href="a05981.html#l00100">uint32</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00193">NL3D::CLandscapeUser::refreshAllZonesAround()</a>. +<p> +<div class="fragment"><pre>00060 { +00061 <span class="comment">// Make a set of the loaded zone</span> +00062 set<uint16> zoneLoaded; +00063 <a class="code" href="a04558.html#a11">uint32</a> i; +00064 <span class="keywordflow">for</span> (i = 0; i < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.size(); ++i) +00065 { +00066 zoneLoaded.insert (_LoadedZones[i]); +00067 } +00068 +00069 <span class="comment">// Check for each zone in the list if they are loaded or not</span> +00070 <a class="code" href="a04558.html#a15">uint</a> zoneCount = 0; +00071 <span class="keywordflow">for</span> (i = 0; i < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr6">_ZoneList</a>.size(); ++i) +00072 { +00073 <span class="keywordflow">if</span> (zoneLoaded.find (_ZoneList[i]) == zoneLoaded.end ()) +00074 zoneCount++; +00075 } +00076 <span class="keywordflow">return</span> zoneCount; +00077 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneSearcha3" doxytag="NL3D::CZoneManager::getZoneId" ></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#a9">uint16</a> NL3D::CZoneSearch::getZoneId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</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="a06774.html#l00144">144</a> of file <a class="el" href="a06774.html">zone_search.cpp</a>. +<p> +References <a class="el" href="a06775.html#l00084">NL3D::CZoneSearch::_SizeZoneX</a>, <a class="el" href="a06775.html#l00087">NL3D::CZoneSearch::_SizeZoneY</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +Referenced by <a class="el" href="a06774.html#l00158">NL3D::CZoneSearch::getListZoneId()</a>. +<p> +<div class="fragment"><pre>00145 { +00146 <a class="code" href="a04558.html#a15">uint</a> zoneY = <a class="code" href="a04223.html#a573">y</a> / _SizeZoneY; +00147 <a class="code" href="a04558.html#a15">uint</a> zoneX = <a class="code" href="a04223.html#a572">x</a> / _SizeZoneX; +00148 +00149 <span class="keywordflow">return</span> (zoneX&255)+(zoneY<<8); +00150 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneSearcha4" doxytag="NL3D::CZoneManager::getZoneName" ></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"> pair< string, <a class="el" href="a04558.html#a11">uint32</a> > NL3D::CZoneSearch::getZoneName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>y</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>cx</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> </td> + <td class="mdname" nowrap> <em>cy</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inherited]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Get the zone name corresponding to coordinate <dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>x</em> </td><td>is axis X coordinate (in meters) </td></tr> + <tr><td valign=top><em>y</em> </td><td>is axis Y coordinate (in meters) </td></tr> + <tr><td valign=top><em>cx</em> </td><td>is axis X coordinate of center area (in meters) </td></tr> + <tr><td valign=top><em>cy</em> </td><td>is axis Y coordinate of center area (in meters) </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>a pair of the zone name and square distance between zone and center area (in zone unit)</dd></dl> + +<p> +Definition at line <a class="el" href="a06774.html#l00067">67</a> of file <a class="el" href="a06774.html">zone_search.cpp</a>. +<p> +References <a class="el" href="a06775.html#l00084">NL3D::CZoneSearch::_SizeZoneX</a>, <a class="el" href="a06775.html#l00087">NL3D::CZoneSearch::_SizeZoneY</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +Referenced by <a class="el" href="a06774.html#l00096">NL3D::CZoneSearch::getListZoneName()</a>, and <a class="el" href="a05874.html#l00406">NL3D::CLandscapeUser::getZoneName()</a>. +<p> +<div class="fragment"><pre>00068 { +00069 <span class="keywordtype">char</span> name[13]; +00070 +00071 <a class="code" href="a04558.html#a15">uint</a> zoneY = <a class="code" href="a04223.html#a573">y</a> / _SizeZoneY + 1; +00072 <a class="code" href="a04558.html#a15">uint</a> zoneX = <a class="code" href="a04223.html#a572">x</a> / _SizeZoneX; +00073 +00074 <a class="code" href="a04558.html#a15">uint</a> zoneCenterY = cy / _SizeZoneY + 1; +00075 <a class="code" href="a04558.html#a15">uint</a> zoneCenterX = cx / _SizeZoneX; +00076 +00077 <a class="code" href="a04558.html#a11">uint32</a> distance = (zoneX - zoneCenterX) * (zoneX - zoneCenterX) + (zoneY - zoneCenterY) * (zoneY - zoneCenterY); +00078 +00079 <span class="keywordtype">char</span> firstLetter = zoneX / 26 + <span class="charliteral">'A'</span>; +00080 <span class="keywordtype">char</span> secondLetter = zoneX % 26 + <span class="charliteral">'A'</span>; +00081 +00082 sprintf(name, <span class="stringliteral">"%d_%c%c.zonel"</span>, zoneY, firstLetter, secondLetter); +00083 +00084 <span class="keywordflow">return</span> make_pair<string, uint32>(string(name), distance); +00085 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneSearcha5" doxytag="NL3D::CZoneManager::getZoneNameFromId" ></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 NL3D::CZoneSearch::getZoneNameFromId </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> </td> + <td class="mdname1" valign="top" nowrap> <em>zoneid</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inherited]</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="a06774.html#l00206">206</a> of file <a class="el" href="a06774.html">zone_search.cpp</a>. +<p> +References <a class="el" href="a05981.html#l00104">sint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, and <a class="el" href="a06770.html#l00168">isWorkComplete()</a>. +<p> +<div class="fragment"><pre>00207 { +00208 <span class="keywordtype">char</span> name[16]; +00209 +00210 <a class="code" href="a04558.html#a14">sint</a> <a class="code" href="a04223.html#a572">x</a> = zoneid & 255; +00211 <a class="code" href="a04558.html#a14">sint</a> <a class="code" href="a04223.html#a573">y</a> = zoneid >> 8; +00212 sprintf (name, <span class="stringliteral">"%d_%c%c.zonel"</span>, y+1, (<span class="keywordtype">char</span>)(<span class="charliteral">'A'</span>+(x/26)), (<span class="keywordtype">char</span>)(<span class="charliteral">'A'</span>+(x%26))); +00213 <span class="keywordflow">return</span> string(name); +00214 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera9" doxytag="NL3D::CZoneManager::getZonePath" ></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 NL3D::CZoneManager::getZonePath </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">void </td> + <td class="mdname1" valign="top" nowrap> </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> +getZonePath : Get Path for zone loading +<p> + +<p> +Definition at line <a class="el" href="a06771.html#l00112">112</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +References <a class="el" href="a06771.html#l00124">_zonePath</a>. +<p> +<div class="fragment"><pre>00112 { <span class="keywordflow">return</span> <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr7">_zonePath</a>; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneSearcha6" doxytag="NL3D::CZoneManager::getZonePos" ></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::CZoneSearch::getZonePos </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a9">uint16</a> </td> + <td class="mdname" nowrap> <em>zoneId</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>x</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap><a class="el" href="a04558.html#a15">uint</a> & </td> + <td class="mdname" nowrap> <em>y</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inherited]</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="a06774.html#l00152">152</a> of file <a class="el" href="a06774.html">zone_search.cpp</a>. +<p> +References <a class="el" href="a06775.html#l00087">NL3D::CZoneSearch::_SizeZoneY</a>, <a class="el" href="a05981.html#l00105">uint</a>, <a class="el" href="a05981.html#l00098">uint16</a>, <a class="el" href="a05646.html#l00236">x</a>, and <a class="el" href="a05646.html#l00236">y</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>. +<p> +<div class="fragment"><pre>00153 { +00154 <a class="code" href="a04223.html#a572">x</a> = _SizeZoneY*(zoneId&255); +00155 <a class="code" href="a04223.html#a573">y</a> = _SizeZoneY*(zoneId>>8); +00156 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera11" doxytag="NL3D::CZoneManager::isLoading" ></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::CZoneManager::isLoading </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> +Does the manager is loading ? +<p> + +<p> +Definition at line <a class="el" href="a06771.html#l00093">93</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +References <a class="el" href="a06771.html#l00146">_LoadingZones</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00151">NL3D::CLandscapeUser::loadAllZonesAround()</a>, <a class="el" href="a05874.html#l00193">NL3D::CLandscapeUser::refreshAllZonesAround()</a>, and <a class="el" href="a05874.html#l00315">NL3D::CLandscapeUser::removeAllZones()</a>. +<p> +<div class="fragment"><pre>00093 {<span class="keywordflow">return</span> <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.size () != 0;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera12" doxytag="NL3D::CZoneManager::isRemoving" ></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::CZoneManager::isRemoving </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> +Does the manager is removing ? +<p> + +<p> +Definition at line <a class="el" href="a06771.html#l00096">96</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +References <a class="el" href="a06771.html#l00149">_RemovingZone</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00193">NL3D::CLandscapeUser::refreshAllZonesAround()</a>. +<p> +<div class="fragment"><pre>00096 {<span class="keywordflow">return</span> <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a>;} +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera13" doxytag="NL3D::CZoneManager::isWorkComplete" ></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::CZoneManager::isWorkComplete </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03756.html">SZoneManagerWork</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>rWork</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> +Is a work has been completed ? +<p> + +<p> +Definition at line <a class="el" href="a06770.html#l00168">168</a> of file <a class="el" href="a06770.html">zone_manager.cpp</a>. +<p> +References <a class="el" href="a06771.html#l00150">_IdZoneToRemove</a>, <a class="el" href="a06771.html#l00126">_LoadedZones</a>, <a class="el" href="a06771.html#l00146">_LoadingZones</a>, <a class="el" href="a06771.html#l00149">_RemovingZone</a>, <a class="el" href="a06774.html#l00206">NL3D::CZoneSearch::getZoneNameFromId()</a>, <a class="el" href="a06771.html#l00065">NL3D::CZoneManager::SZoneManagerWork::IdZoneToRemove</a>, <a class="el" href="a06771.html#l00074">NL3D::CZoneManager::SZoneManagerWork::NameZoneAdded</a>, <a class="el" href="a06771.html#l00067">NL3D::CZoneManager::SZoneManagerWork::NameZoneRemoved</a>, <a class="el" href="a05981.html#l00100">uint32</a>, <a class="el" href="a06771.html#l00072">NL3D::CZoneManager::SZoneManagerWork::Zone</a>, <a class="el" href="a06771.html#l00070">NL3D::CZoneManager::SZoneManagerWork::ZoneAdded</a>, and <a class="el" href="a06771.html#l00063">NL3D::CZoneManager::SZoneManagerWork::ZoneRemoved</a>. +<p> +Referenced by <a class="el" href="a05874.html#l00151">NL3D::CLandscapeUser::loadAllZonesAround()</a>, <a class="el" href="a05874.html#l00265">NL3D::CLandscapeUser::refreshZonesAround()</a>, and <a class="el" href="a05874.html#l00315">NL3D::CLandscapeUser::removeAllZones()</a>. +<p> +<div class="fragment"><pre>00169 { +00170 <span class="comment">// Check if there is someting to add</span> +00171 std::list<CLoadingZone>::iterator ite = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.begin (); +00172 <span class="keywordflow">while</span> (ite != <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.end()) +00173 { +00174 <span class="comment">// Loaded ?</span> +00175 <span class="keywordflow">if</span> (ite->Zone) +00176 { +00177 rWork.ZoneAdded = <span class="keyword">true</span>; +00178 rWork.NameZoneAdded = ite->ZoneToAddName; +00179 rWork.ZoneRemoved = <span class="keyword">false</span>; +00180 rWork.IdZoneToRemove = 0; +00181 rWork.NameZoneRemoved = <span class="stringliteral">""</span>; +00182 rWork.Zone = const_cast<CZone*>(ite->Zone); +00183 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.push_back (ite->ZoneToAddId); +00184 +00185 <span class="comment">// Remove from loading zone</span> +00186 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr4">_LoadingZones</a>.erase(ite); +00187 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00188 } +00189 +00190 <span class="comment">// Next zone</span> +00191 ite++; +00192 } +00193 +00194 <span class="keywordflow">if</span> (<a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a>) +00195 { +00196 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr5">_RemovingZone</a> = <span class="keyword">false</span>; +00197 rWork.ZoneAdded = <span class="keyword">false</span>; +00198 rWork.NameZoneAdded = <span class="stringliteral">""</span>; +00199 rWork.ZoneRemoved = <span class="keyword">true</span>; +00200 rWork.IdZoneToRemove = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr0">_IdZoneToRemove</a>; +00201 rWork.NameZoneRemoved = <a class="code" href="a03754.html#NL3D_1_1CZoneSearcha5">getZoneNameFromId</a>(_IdZoneToRemove); +00202 <a class="code" href="a04558.html#a11">uint32</a> i, j; +00203 <span class="keywordflow">for</span> (i = 0 ; i < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.size(); ++i) +00204 <span class="keywordflow">if</span> (<a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>[i] == <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr0">_IdZoneToRemove</a>) +00205 <span class="keywordflow">break</span>; +00206 <span class="keywordflow">if</span> (i < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.size()) +00207 { +00208 <span class="keywordflow">for</span> (j = i; j < <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>.size()-1; ++j) +00209 <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>[j] = <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr3">_LoadedZones</a>[j+1]; +00210 _LoadedZones.resize(_LoadedZones.size()-1); +00211 } +00212 rWork.Zone = NULL; +00213 <span class="keywordflow">return</span> <span class="keyword">true</span>; +00214 } +00215 +00216 <span class="keywordflow">return</span> <span class="keyword">false</span>; +00217 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera14" doxytag="NL3D::CZoneManager::setZonePath" ></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::CZoneManager::setZonePath </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string </td> + <td class="mdname1" valign="top" nowrap> <em>zonePath</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> +setZonePath : Set Path for zone loading +<p> +Accessors +<p> +Definition at line <a class="el" href="a06771.html#l00109">109</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +References <a class="el" href="a06771.html#l00124">_zonePath</a>. +<p> +<div class="fragment"><pre>00109 { <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr7">_zonePath</a> = zonePath; } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagera15" doxytag="NL3D::CZoneManager::setZoneTileColor" ></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::CZoneManager::setZoneTileColor </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">bool </td> + <td class="mdname" nowrap> <em>monochrome</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>factor</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +set the zone tile color (if false tile are monochromed with the tile color) +<p> + +<p> +Definition at line <a class="el" href="a06771.html#l00115">115</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +References <a class="el" href="a06771.html#l00121">_ZoneTileColorFactor</a>, and <a class="el" href="a06771.html#l00120">_ZoneTileColorMono</a>. +<p> +Referenced by <a class="el" href="a05875.html#l00144">NL3D::CLandscapeUser::setTileColor()</a>. +<p> +<div class="fragment"><pre>00115 { <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr9">_ZoneTileColorMono</a> = monochrome; <a class="code" href="a03753.html#NL3D_1_1CZoneManagerr8">_ZoneTileColorFactor</a> = factor; } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NL3D_1_1CZoneManagerr0" doxytag="NL3D::CZoneManager::_IdZoneToRemove" ></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#a9">uint16</a> <a class="el" href="a03753.html#NL3D_1_1CZoneManagerr0">NL3D::CZoneManager::_IdZoneToRemove</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="a06771.html#l00150">150</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, and <a class="el" href="a06770.html#l00168">isWorkComplete()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr1" doxytag="NL3D::CZoneManager::_LastX" ></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="a03753.html#NL3D_1_1CZoneManagerr1">NL3D::CZoneManager::_LastX</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="a06771.html#l00129">129</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr2" doxytag="NL3D::CZoneManager::_LastY" ></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="a03753.html#NL3D_1_1CZoneManagerr2">NL3D::CZoneManager::_LastY</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="a06771.html#l00129">129</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr3" doxytag="NL3D::CZoneManager::_LoadedZones" ></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#a9">uint16</a>> <a class="el" href="a03753.html#NL3D_1_1CZoneManagerr3">NL3D::CZoneManager::_LoadedZones</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="a06771.html#l00126">126</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, <a class="el" href="a06770.html#l00220">clear()</a>, <a class="el" href="a06770.html#l00059">getNumZoneLeftToLoad()</a>, and <a class="el" href="a06770.html#l00168">isWorkComplete()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr4" doxytag="NL3D::CZoneManager::_LoadingZones" ></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::list<<a class="el" href="a03755.html">CLoadingZone</a>> <a class="el" href="a03753.html#NL3D_1_1CZoneManagerr4">NL3D::CZoneManager::_LoadingZones</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="a06771.html#l00146">146</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, <a class="el" href="a06770.html#l00220">clear()</a>, <a class="el" href="a06771.html#l00093">isLoading()</a>, and <a class="el" href="a06770.html#l00168">isWorkComplete()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr5" doxytag="NL3D::CZoneManager::_RemovingZone" ></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="a03753.html#NL3D_1_1CZoneManagerr5">NL3D::CZoneManager::_RemovingZone</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="a06771.html#l00149">149</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, <a class="el" href="a06770.html#l00220">clear()</a>, <a class="el" href="a06770.html#l00046">CZoneManager()</a>, <a class="el" href="a06771.html#l00096">isRemoving()</a>, and <a class="el" href="a06770.html#l00168">isWorkComplete()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr6" doxytag="NL3D::CZoneManager::_ZoneList" ></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#a9">uint16</a>> <a class="el" href="a03753.html#NL3D_1_1CZoneManagerr6">NL3D::CZoneManager::_ZoneList</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="a06771.html#l00128">128</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, and <a class="el" href="a06770.html#l00059">getNumZoneLeftToLoad()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr7" doxytag="NL3D::CZoneManager::_zonePath" ></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="a03753.html#NL3D_1_1CZoneManagerr7">NL3D::CZoneManager::_zonePath</a><code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Path for zone loading. +<p> + +<p> +Definition at line <a class="el" href="a06771.html#l00124">124</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06771.html#l00112">getZonePath()</a>, and <a class="el" href="a06771.html#l00109">setZonePath()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr8" doxytag="NL3D::CZoneManager::_ZoneTileColorFactor" ></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"> float <a class="el" href="a03753.html#NL3D_1_1CZoneManagerr8">NL3D::CZoneManager::_ZoneTileColorFactor</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="a06771.html#l00121">121</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, <a class="el" href="a06770.html#l00046">CZoneManager()</a>, and <a class="el" href="a06771.html#l00115">setZoneTileColor()</a>. </td> + </tr> +</table> +<a class="anchor" name="NL3D_1_1CZoneManagerr9" doxytag="NL3D::CZoneManager::_ZoneTileColorMono" ></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="a03753.html#NL3D_1_1CZoneManagerr9">NL3D::CZoneManager::_ZoneTileColorMono</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="a06771.html#l00120">120</a> of file <a class="el" href="a06771.html">zone_manager.h</a>. +<p> +Referenced by <a class="el" href="a06770.html#l00080">checkZonesAround()</a>, <a class="el" href="a06770.html#l00046">CZoneManager()</a>, and <a class="el" href="a06771.html#l00115">setZoneTileColor()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06771.html">zone_manager.h</a><li><a class="el" href="a06770.html">zone_manager.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 08:36:11 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> |