# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::CZoneManager Class Reference

CZoneManager is a class that manage zone loading around of player. More...

#include <zone_manager.h>

Inheritance diagram for NL3D::CZoneManager

Inheritance graph
[legend]
Collaboration diagram for NL3D::CZoneManager:

Collaboration graph
[legend]
List of all members.

Public Methods

 CZoneManager ()
 Constructor. More...

 ~CZoneManager ()
 Destructeur. More...

void loadAllZonesAround (uint x, uint y, uint area, bool scanAll = false)
 LoadAllZonesAround Load all zones around a position. More...

NLMISC::CTaskManagergetTask (void)
 GetTask give a pointer on TaskManager. More...

uint getTaskListSize (void)
 Get Size of TaskList. More...

void setZonePath (std::string zonePath)
 Set Path for zone loading. More...

std::string getZonePath (void )
 Set Path for zone loading. More...


Public Attributes

uint16 IdZoneToRemove
bool ZoneRemoved
bool ZoneAdded
CZoneZone

Private Attributes

std::string _zonePath
NLMISC::CTaskManager_pLoadTask
std::multimap<uint32, CLoadZone_LoadZone
std::list<std::pair<std::string,
uint32> >::iterator 
_it2
std::list<std::pair<std::string,
uint32> >::iterator 
_itEnd
std::list<std::pair<std::string,
uint32> > 
_listZone
int step

Detailed Description

CZoneManager is a class that manage zone loading around of player.

Author(s):
Alain Saffray , Nevrax France
Date:
2000 sa See Also, CZoneSearch, CTaskManager

Definition at line 73 of file zone_manager.h.


Constructor & Destructor Documentation

NL3D::CZoneManager::CZoneManager ( )
 

Constructor.

Definition at line 43 of file zone_manager.cpp.

NL3D::CZoneManager::~CZoneManager ( )
 

Destructeur.

Definition at line 53 of file zone_manager.cpp.


Member Function Documentation

NLMISC::CTaskManager * NL3D::CZoneManager::getTask ( void ) [inline]
 

GetTask give a pointer on TaskManager.

Returns:
pointer of class CTaskManager

Definition at line 104 of file zone_manager.h.

uint NL3D::CZoneManager::getTaskListSize ( void ) [inline]
 

Get Size of TaskList.

Returns:
number of task in list

Definition at line 110 of file zone_manager.h.

std::string NL3D::CZoneManager::getZonePath ( void ) [inline]
 

Set Path for zone loading.

Definition at line 120 of file zone_manager.h.

void NL3D::CZoneManager::loadAllZonesAround ( uint x,
uint y,
uint area,
bool scanAll = false )
 

LoadAllZonesAround Load all zones around a position.

Parameters:
x   is axis x coordinate (in meters)
y   is axis y coordinate (in meters) \area is area of zone loading (in meters)

Definition at line 65 of file zone_manager.cpp.

void NL3D::CZoneManager::setZonePath ( std::string zonePath ) [inline]
 

Set Path for zone loading.

Definition at line 115 of file zone_manager.h.


Member Data Documentation

uint16 NL3D::CZoneManager::IdZoneToRemove
 

Definition at line 77 of file zone_manager.h.

CZone * NL3D::CZoneManager::Zone
 

Definition at line 84 of file zone_manager.h.

bool NL3D::CZoneManager::ZoneAdded
 

Definition at line 82 of file zone_manager.h.

bool NL3D::CZoneManager::ZoneRemoved
 

Definition at line 79 of file zone_manager.h.

std::multimap< uint32,CLoadZone > NL3D::CZoneManager::_LoadZone [private]
 

Definition at line 128 of file zone_manager.h.

std::list< std::pair< std::string,uint32 > >::iterator NL3D::CZoneManager::_it2 [private]
 

Definition at line 130 of file zone_manager.h.

std::list< std::pair< std::string,uint32 > >::iterator NL3D::CZoneManager::_itEnd [private]
 

Definition at line 131 of file zone_manager.h.

std::list< std::pair< std::string,uint32 > > NL3D::CZoneManager::_listZone [private]
 

Definition at line 132 of file zone_manager.h.

NLMISC::CTaskManager * NL3D::CZoneManager::_pLoadTask [private]
 

Definition at line 126 of file zone_manager.h.

std::string NL3D::CZoneManager::_zonePath [private]
 

Definition at line 124 of file zone_manager.h.

int NL3D::CZoneManager::step [private]
 

Definition at line 133 of file zone_manager.h.


The documentation for this class was generated from the following files: