|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::CTileBorder Class ReferenceThis class is a tile set.
More...
#include <tile_bank.h>
Collaboration diagram for NL3D::CTileBorder:
[legend]List of all members.
Public Types |
enum | TBorder {
top = 0,
bottom,
left,
right,
borderCount
} |
Public Methods |
| CTileBorder () |
void | set (int width, int height, const std::vector<NLMISC::CBGRA>& array) |
void | doubleSize () |
bool | operator== (const CTileBorder& border) const |
void | operator= (const CTileBorder& border) |
void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
bool | isSet () const |
void | reset () |
sint32 | getWidth () const |
sint32 | getHeight () const |
void | rotate () |
Static Public Methods |
bool | allAlphaSet (const CTileBorder& border, TBorder where, int& pixel, int& composante) |
bool | compare (const CTileBorder& border1, const CTileBorder& border2, TBorder where1, TBorder where2, int& pixel, int& composante) |
Private Attributes |
bool | _Set |
sint32 | _Width |
sint32 | _Height |
std::vector<NLMISC::CBGRA> | _Borders [borderCount] |
Static Private Attributes |
const sint | _Version = 0 |
Detailed Description
This class is a tile set.
It handles all the tile of the same material. -
Author(s):
-
Cyril Corvazier , Nevrax France
-
Date:
-
2000
Definition at line 220 of file tile_bank.h.
Member Enumeration Documentation
enum NL3D::CTileBorder::TBorder
|
|
|
-
Enumeration values:
-
top
|
|
bottom
|
|
left
|
|
right
|
|
borderCount
|
|
Definition at line 223 of file tile_bank.h. |
Constructor & Destructor Documentation
NL3D::CTileBorder::CTileBorder (
|
) [inline]
|
|
Member Function Documentation
bool NL3D::CTileBorder::allAlphaSet (
|
const CTileBorder & border,
|
|
TBorder where,
|
|
int & pixel,
|
|
int & composante ) [static]
|
|
bool NL3D::CTileBorder::compare (
|
const CTileBorder & border1,
|
|
const CTileBorder & border2,
|
|
TBorder where1,
|
|
TBorder where2,
|
|
int & pixel,
|
|
int & composante ) [static]
|
|
void NL3D::CTileBorder::doubleSize (
|
)
|
|
sint32 NL3D::CTileBorder::getHeight (
|
) const [inline]
|
|
sint32 NL3D::CTileBorder::getWidth (
|
) const [inline]
|
|
bool NL3D::CTileBorder::isSet (
|
) const [inline]
|
|
void NL3D::CTileBorder::operator= (
|
const CTileBorder & border )
|
|
bool NL3D::CTileBorder::operator== (
|
const CTileBorder & border ) const
|
|
void NL3D::CTileBorder::reset (
|
void ) [inline]
|
|
void NL3D::CTileBorder::rotate (
|
)
|
|
void NL3D::CTileBorder::set (
|
int width,
|
|
int height,
|
|
const std::vector< NLMISC::CBGRA >& array )
|
|
Member Data Documentation
std::vector< NLMISC::CBGRA > NL3D::CTileBorder::_Borders[borderCount] [private]
|
|
sint32 NL3D::CTileBorder::_Height [private]
|
|
bool NL3D::CTileBorder::_Set [private]
|
|
const sint NL3D::CTileBorder::_Version = 0 [static, private]
|
|
sint32 NL3D::CTileBorder::_Width [private]
|
|
The documentation for this class was generated from the following files:
|
|