|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTileElement Class ReferenceAn Element for CPatchTexture.
More...
#include <tile_element.h>
List of all members.
Detailed Description
An Element for CPatchTexture.
Temporary! since CPatchTexture should be compressed... NB: no default ctor => must init all fields. -
Author:
-
Lionel Berenguier , Nevrax France
-
Date:
-
2000
Definition at line 64 of file tile_element.h.
Member Enumeration Documentation
enum NL3D::CTileElement::TVegetableInfo
|
|
|
Micro vegetation position. Above water is the default.
-
Enumeration values:
-
AboveWater |
|
UnderWater |
|
IntersectWater |
|
VegetableDisabled |
|
VegetInfoLast |
|
Definition at line 125 of file tile_element.h.
Referenced by getVegetableState. |
Member Function Documentation
void NL3D::CTileElement::copyFlagsFromOther |
( |
const CTileElement & |
other |
) |
[inline] |
|
void NL3D::CTileElement::getTile256Info |
( |
bool & |
is256x256, |
|
|
uint8 & |
uvOff |
|
) |
const |
|
uint8 NL3D::CTileElement::getTileOrient |
( |
sint |
i |
) |
const |
|
uint8 NL3D::CTileElement::getTileSubNoise |
( |
|
) |
const [inline] |
|
TVegetableInfo NL3D::CTileElement::getVegetableState |
( |
|
) |
const [inline] |
|
void NL3D::CTileElement::setTile256Info |
( |
bool |
is256x256, |
|
|
uint8 |
uvOff = 0 |
|
) |
|
|
|
Set the tile 256x256 information of pass 0.
NB: During UV computing, orient is applied first, then tile256x256 uvOffset (only if the tile is 256x256). -
Parameters:
-
is256x256 |
is this tile a part of a 256x256 |
uvOff |
the UV offset of tile 256x256. uvOff E [0,3]. Meanings: --------- | 0 | 3 | |___|___| | | | | 1 | 2 | --------- |
Definition at line 54 of file tile_element.cpp.
References Flags, NL_TILE_ELM_MASK_UVINFO, NL_TILE_ELM_OFFSET_UVINFO, and nlassert. |
void NL3D::CTileElement::setTileOrient |
( |
sint |
i, |
|
|
uint8 |
orient |
|
) |
|
|
void NL3D::CTileElement::setTileSubNoise |
( |
uint8 |
subNoise |
) |
|
|
Member Data Documentation
uint16 NL3D::CTileElement::Flags [private]
|
|
uint16 NL3D::CTileElement::Tile[3]
|
|
|
The three tile ident.
NL_TILE_ELM_LAYER_EMPTY means no Tile for this pass. Tile[0] should be !=NL_TILE_ELM_LAYER_EMPTY. Else cross are drawn...
Definition at line 77 of file tile_element.h.
Referenced by serial. |
The documentation for this class was generated from the following files:
|
|