NL3D::CTileSetTransition Class Reference

#include <tile_bank.h>


Detailed Description

This class manage a transition tile.
Author:
Cyril Corvazier

Nevrax France

Date:
2000

Definition at line 198 of file tile_bank.h.

Public Member Functions

 CTileSetTransition ()
sint32 getTile () const
void serial (class NLMISC::IStream &f) throw (NLMISC::EStream)

Private Attributes

sint32 _Tile

Static Private Attributes

const sint _Version = 1

Friends

class CTileBank
class CTileSet


Constructor & Destructor Documentation

NL3D::CTileSetTransition::CTileSetTransition  )  [inline]
 

Definition at line 203 of file tile_bank.h.

References _Tile.

00204         {
00205                 _Tile=-1;
00206         }


Member Function Documentation

sint32 NL3D::CTileSetTransition::getTile  )  const [inline]
 

Definition at line 207 of file tile_bank.h.

References _Tile, and sint32.

Referenced by NL3D::CTileBank::computeXRef(), NL3D::CLandscapeUser::flushTiles(), NL3D::CLandscape::initTileBanks(), and NL3D::CPatchInfo::transformTile().

00208         {
00209                 return _Tile;
00210         }

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

Definition at line 1828 of file tile_bank.cpp.

References sint.

01829 {
01830         sint streamver = f.serialVersion(_Version);
01831 
01832         switch (streamver)
01833         {
01834         case 0:
01835                 {
01836                         bool doomy;
01837                         f.serial (_Tile);
01838                         f.serial (doomy);               // skip the old argu
01839                 }
01840                 break;
01841         case 1:
01842                 f.serial (_Tile);
01843                 break;
01844         }
01845 }


Friends And Related Function Documentation

friend class CTileBank [friend]
 

Definition at line 201 of file tile_bank.h.

friend class CTileSet [friend]
 

Definition at line 200 of file tile_bank.h.


Field Documentation

sint32 NL3D::CTileSetTransition::_Tile [private]
 

Definition at line 214 of file tile_bank.h.

Referenced by NL3D::CTileSet::clearTransition(), CTileSetTransition(), NL3D::CTileSet::deleteBordersIfLast(), and getTile().

const sint NL3D::CTileSetTransition::_Version = 1 [static, private]
 

Definition at line 1826 of file tile_bank.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Mar 16 08:05:52 2004 for NeL by doxygen 1.3.6