Inexor
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
LightMap Struct Reference

#include <lightmap.hpp>

Public Member Functions

 LightMap ()
 
 ~LightMap ()
 
void finalize ()
 
void copy (ushort tx, ushort ty, uchar *src, ushort tw, ushort th)
 
bool insert (ushort &tx, ushort &ty, uchar *src, ushort tw, ushort th)
 

Public Attributes

int type
 
int bpp
 
int tex
 
int offsetx
 
int offsety
 
PackNode packroot
 
uint lightmaps
 
uint lumels
 
int unlitx
 
int unlity
 
uchardata
 

Constructor & Destructor Documentation

LightMap::LightMap ( )
inline
LightMap::~LightMap ( )
inline

References data.

Member Function Documentation

void LightMap::copy ( ushort  tx,
ushort  ty,
uchar src,
ushort  tw,
ushort  th 
)

References bpp, data, lightmaps, LM_PACKW, loopi(), and lumels.

Referenced by insert().

void LightMap::finalize ( )
inline

References PackNode::available, PackNode::clear(), and packroot.

Referenced by load_world().

bool LightMap::insert ( ushort tx,
ushort ty,
uchar src,
ushort  tw,
ushort  th 
)

Member Data Documentation

int LightMap::bpp
uchar* LightMap::data
uint LightMap::lightmaps

Referenced by copy().

uint LightMap::lumels

Referenced by copy().

int LightMap::offsetx
int LightMap::offsety
PackNode LightMap::packroot

Referenced by finalize(), and insert().

int LightMap::tex
int LightMap::type
int LightMap::unlitx
int LightMap::unlity

The documentation for this struct was generated from the following files: