From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/class_NL3D__CTileElement.html | 360 +++++++++++++++++++++++++ 1 file changed, 360 insertions(+) create mode 100644 docs/doxygen/nel/class_NL3D__CTileElement.html (limited to 'docs/doxygen/nel/class_NL3D__CTileElement.html') diff --git a/docs/doxygen/nel/class_NL3D__CTileElement.html b/docs/doxygen/nel/class_NL3D__CTileElement.html new file mode 100644 index 00000000..61a33ad6 --- /dev/null +++ b/docs/doxygen/nel/class_NL3D__CTileElement.html @@ -0,0 +1,360 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# 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::CTileElement Class Reference

An Element for CPatchTexture. +More... +

+#include <tile_element.h> +

+List of all members. + + + + + + + + + + + + + + + +

Public Methods

void setTileOrient (sint i, uint8 orient)
 Set the tile orientation of pass i, to "orient". More...

uint8 getTileOrient (sint i) const
 Get the tile orientation of pass i. More...

void setTile256Info (bool is256x256, uint8 uvOff=0)
 Set the tile 256x256 information of pass 0. More...

void getTile256Info (bool &is256x256, uint8 &uvOff) const
 Get the tile 256x256 information. More...

void serial (NLMISC::IStream &f)

Public Attributes

uint16 Tile [3]
 The three tile ident. More...


Private Attributes

uint16 Flags
+


Detailed Description

+An Element for CPatchTexture. +

+Temporary! since CPatchTexture should be compressed... NB: no default ctor => must init all fields.

+Author(s):
+ Lionel Berenguier , Nevrax France
+Date:
+ 2000
+

+ +

+Definition at line 53 of file tile_element.h.


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
+void NL3D::CTileElement::getTile256Info ( + +bool & is256x256, +
+uint8 & uvOff ) const +
+
+ + + + + +
+   + + +

+Get the tile 256x256 information. +

+ +

+Definition at line 62 of file tile_element.cpp.

+

+ + + + +
+ + + + + + +
+uint8 NL3D::CTileElement::getTileOrient ( + +sint i ) const +
+
+ + + + + +
+   + + +

+Get the tile orientation of pass i. +

+orient E [0,3]. The rotation is CCW. +

+Definition at line 44 of file tile_element.cpp.

+

+ + + + +
+ + + + + + +
+void NL3D::CTileElement::serial ( + +NLMISC::IStream & f ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 71 of file tile_element.cpp.

+

+ + + + +
+ + + + + + + + + + +
+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 52 of file tile_element.cpp.

+

+ + + + +
+ + + + + + + + + + +
+void NL3D::CTileElement::setTileOrient ( + +sint i, +
+uint8 orient ) +
+
+ + + + + +
+   + + +

+Set the tile orientation of pass i, to "orient". +

+orient E [0,3]. The rotation is CCW. +

+Definition at line 34 of file tile_element.cpp.

+


Member Data Documentation

+

+ + + + +
+ + + + + +
+uint16 NL3D::CTileElement::Flags [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 56 of file tile_element.h.

+

+ + + + +
+ + + + + +
+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 62 of file tile_element.h.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1