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/classNL3D_1_1CTile.html | 668 +++++++++++++++++++++++++++++++ 1 file changed, 668 insertions(+) create mode 100644 docs/doxygen/nel/classNL3D_1_1CTile.html (limited to 'docs/doxygen/nel/classNL3D_1_1CTile.html') diff --git a/docs/doxygen/nel/classNL3D_1_1CTile.html b/docs/doxygen/nel/classNL3D_1_1CTile.html new file mode 100644 index 00000000..b6bb014b --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CTile.html @@ -0,0 +1,668 @@ + + + + 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::CTile Class Reference

Tiles. +More... +

+#include <tile_bank.h> +

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

Public Types

enum  TBitmap { diffuse = 0, +additive, +alpha, +bitmapCount + }

Public Methods

 CTile ()
const std::string & getRelativeFileName (TBitmap bitmapType) const
bool isFree () const
void serial (class NLMISC::IStream &f) throw (NLMISC::EStream)
void setFileName (TBitmap bitmapType, const std::string &name)
uint8 getRotAlpha ()
 Get the additional orientation (CCW) for alpha texture. More...

void setRotAlpha (uint8 rot)
 Set the additional orientation (CCW) for alpha texture. More...

uint getGroupFlags () const
 Get the group flags for this tile. More...

void setGroupFlags (uint group)
 Set the group flags for this tile. More...


Private Methods

void clearTile (CTile::TBitmap type)
void free ()

Private Attributes

uint32 _Flags
std::string _BitmapName [bitmapCount]

Static Private Attributes

const sint _Version = 4

Friends

class CTileSet
class CTileBank
+


Detailed Description

+Tiles. +

+

+Author:
+Cyril Corvazier , Nevrax France
+Date:
+2000
+

+ +

+Definition at line 57 of file tile_bank.h.


Member Enumeration Documentation

+

+ + + + +
+ + +
enum NL3D::CTile::TBitmap +
+
+ + + + + +
+   + + +

+

+Enumeration values:
+ + + + + +
diffuse  +
additive  +
alpha  +
bitmapCount  +
+
+ +

+Definition at line 74 of file tile_bank.h. +

+Referenced by getRelativeFileName, and setFileName.

+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NL3D::CTile::CTile   [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 76 of file tile_bank.h. +

+References _Flags, and NL3D_CTILE_FREE_FLAG.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CTile::clearTile CTile::TBitmap   type [private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 746 of file tile_bank.cpp. +

+References _BitmapName, and type.

+

+ + + + +
+ + + + + + + + + +
void NL3D::CTile::free   [inline, private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 146 of file tile_bank.h. +

+References _Flags, NL3D_CTILE_FREE_FLAG, and nlassert.

+

+ + + + +
+ + + + + + + + + +
uint NL3D::CTile::getGroupFlags   const [inline]
+
+ + + + + +
+   + + +

+Get the group flags for this tile. +

+If the tile is in the I-ne gourp, the flag 1<<I is set. There are 12 groups. +

+Definition at line 122 of file tile_bank.h. +

+References _Flags, NL3D_CTILE_GROUP_MASK, and NL3D_CTILE_GROUP_RSHIFT.

+

+ + + + +
+ + + + + + + + + + +
const std::string& NL3D::CTile::getRelativeFileName TBitmap   bitmapType const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 80 of file tile_bank.h. +

+References _BitmapName, and TBitmap.

+

+ + + + +
+ + + + + + + + + +
uint8 NL3D::CTile::getRotAlpha   [inline]
+
+ + + + + +
+   + + +

+Get the additional orientation (CCW) for alpha texture. +

+ +

+Definition at line 99 of file tile_bank.h. +

+References _Flags, NL3D_CTILE_ROT_MASK, and NL3D_CTILE_ROT_RSHIFT.

+

+ + + + +
+ + + + + + + + + +
bool NL3D::CTile::isFree   const [inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 84 of file tile_bank.h. +

+References _Flags, and NL3D_CTILE_FREE_FLAG.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CTile::serial class NLMISC::IStream  f throw (NLMISC::EStream)
+
+ + + + + +
+   + + +

+ +

+Definition at line 693 of file tile_bank.cpp. +

+References alpha, NL3D_CTILE_FREE_FLAG, NL3D_CTILE_FREE_FLAG_V2, NL3D_CTILE_FREE_FLAG_V3, NL3D_CTILE_GROUP_MASK_V2, NL3D_CTILE_GROUP_MASK_V3, and NL3D_CTILE_ROT_MASK.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NL3D::CTile::setFileName TBitmap   bitmapType,
const std::string &   name
[inline]
+
+ + + + + +
+   + + +

+ +

+Definition at line 89 of file tile_bank.h. +

+References _BitmapName, _Flags, NL3D_CTILE_FREE_FLAG, and TBitmap.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CTile::setGroupFlags uint   group [inline]
+
+ + + + + +
+   + + +

+Set the group flags for this tile. +

+If the tile is in the I-ne gourp, the flag 1<<I is set. There are 12 groups. +

+Definition at line 132 of file tile_bank.h. +

+References _Flags, NL3D_CTILE_GROUP_MASK, NL3D_CTILE_GROUP_RSHIFT, NL3D_CTILE_NUM_GROUP, and nlassert.

+

+ + + + +
+ + + + + + + + + + +
void NL3D::CTile::setRotAlpha uint8   rot [inline]
+
+ + + + + +
+   + + +

+Set the additional orientation (CCW) for alpha texture. +

+ +

+Definition at line 105 of file tile_bank.h. +

+References _Flags, NL3D_CTILE_ROT_MASK, NL3D_CTILE_ROT_RSHIFT, and nlassert.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CTileBank [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 73 of file tile_bank.h.

+

+ + + + +
+ + +
friend class CTileSet [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 72 of file tile_bank.h.

+


Member Data Documentation

+

+ + + + +
+ + +
std::string NL3D::CTile::_BitmapName[bitmapCount] [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 154 of file tile_bank.h. +

+Referenced by clearTile, getRelativeFileName, and setFileName.

+

+ + + + +
+ + +
uint32 NL3D::CTile::_Flags [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 153 of file tile_bank.h. +

+Referenced by CTile, free, getGroupFlags, getRotAlpha, isFree, setFileName, setGroupFlags, and setRotAlpha.

+

+ + + + +
+ + +
const sint NL3D::CTile::_Version = 4 [static, private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 691 of file tile_bank.cpp.

+


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