# 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::CTileFarBank Class Reference

A bank for the far textures. More...

#include <tile_far_bank.h>

Collaboration diagram for NL3D::CTileFarBank:

Collaboration graph
[legend]
List of all members.

Public Types

enum  TFarOrder {
  order0 = 0,
  order1 = 1,
  order2 = 2,
  orderCount
}
enum  TFarType {
  diffuse = 0,
  additive = 1,
  alpha = 2,
  typeCount = 2
}

Public Methods

 CTileFarBank ()
 Constructor. More...

sint getNumTile () const
 Get number of tile in this bank. More...

void setNumTile (sint numTile)
 Resize the tile bank. More...

const CTileFargetTile (sint tile) const
 Get a read only far tile pointer. Return NULL if the tile doesn't exist. More...

CTileFargetTile (sint tile)
 Get a far tile pointer. Return NULL if the tile doesn't exist. More...

void serial (class NLMISC::IStream &f) throw (NLMISC::EStream)
 Serial this bank. More...


Public Attributes

std::vector<CTileFar_TileVector
 The far tile vector. More...


Static Public Methods

uint getFarTileEdgeSize (TFarOrder order)
 Get the tile size. More...


Static Public Attributes

const sint _Version = 0x0
 The version of this class. More...


Detailed Description

A bank for the far textures.

Author(s):
Cyril Corvazier , Nevrax France
Date:
2000

Definition at line 55 of file tile_far_bank.h.


Member Enumeration Documentation

enum NL3D::CTileFarBank::TFarOrder
 

Enumeration values:
order0  
order1  
order2  
orderCount  

Definition at line 59 of file tile_far_bank.h.

enum NL3D::CTileFarBank::TFarType
 

Enumeration values:
diffuse  
additive  
alpha  
typeCount  

Definition at line 60 of file tile_far_bank.h.


Constructor & Destructor Documentation

NL3D::CTileFarBank::CTileFarBank ( )
 

Constructor.

Definition at line 89 of file tile_far_bank.cpp.


Member Function Documentation

uint NL3D::CTileFarBank::getFarTileEdgeSize ( TFarOrder order ) [inline, static]
 

Get the tile size.

Definition at line 155 of file tile_far_bank.h.

sint NL3D::CTileFarBank::getNumTile ( ) const [inline]
 

Get number of tile in this bank.

Definition at line 117 of file tile_far_bank.h.

CTileFar * NL3D::CTileFarBank::getTile ( sint tile ) [inline]
 

Get a far tile pointer. Return NULL if the tile doesn't exist.

Definition at line 142 of file tile_far_bank.h.

const CTileFar * NL3D::CTileFarBank::getTile ( sint tile ) const [inline]
 

Get a read only far tile pointer. Return NULL if the tile doesn't exist.

Definition at line 129 of file tile_far_bank.h.

void NL3D::CTileFarBank::serial ( class NLMISC::IStream & f ) throw (NLMISC::EStream)
 

Serial this bank.

Definition at line 96 of file tile_far_bank.cpp.

void NL3D::CTileFarBank::setNumTile ( sint numTile ) [inline]
 

Resize the tile bank.

Definition at line 123 of file tile_far_bank.h.


Member Data Documentation

std::vector< CTileFar > NL3D::CTileFarBank::_TileVector
 

The far tile vector.

Definition at line 164 of file tile_far_bank.h.

const sint NL3D::CTileFarBank::_Version = 0x0 [static]
 

The version of this class.

Definition at line 94 of file tile_far_bank.cpp.


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