vertmodel Struct Reference

#include <vertmodel.h>

Inherits model.

Inherited by md2, and md3.

Collaboration diagram for vertmodel:

Collaboration graph
[legend]

List of all members.

Classes

struct  animinfo
struct  anpos
struct  bb
struct  dyncacheentry
struct  lightcacheentry
struct  lightvert
struct  linkedpart
struct  mesh
struct  part
struct  particleemitter
struct  shadowcacheentry
struct  tag
struct  tcvert
struct  tri

Public Types

typedef tristrip::drawcall drawcall

Public Member Functions

 vertmodel (const char *name)
 ~vertmodel ()
char * name ()
void cleanup ()
bool link (part *link, const char *tag, vec *pos=NULL)
void setskin (int tex=0)
void genshadows (float height, float rad)
bool hasshadows ()
float calcradius ()
void calcneighbors ()
void calcbbs ()
void startrender ()
void endrender ()

Public Attributes

bool loaded
char * loadname
vector< part * > parts

Static Public Attributes

static bool enablealphablend = false
static bool enablealphatest = false
static bool enabledepthmask = true
static bool enableoffset = false
static GLuint lasttex = 0
static float lastalphatest = -1
static void * lastvertexarray = NULL
static void * lasttexcoordarray = NULL
static void * lastcolorarray = NULL
static glmatrixf matrixstack [32]
static int matrixpos = 0
static modelcache dynalloc
static modelcache statalloc


Member Typedef Documentation


Constructor & Destructor Documentation

vertmodel::vertmodel ( const char *  name  )  [inline]

vertmodel::~vertmodel (  )  [inline]


Member Function Documentation

void vertmodel::calcbbs (  )  [inline]

void vertmodel::calcneighbors (  )  [inline]

float vertmodel::calcradius (  )  [inline]

void vertmodel::cleanup (  )  [inline, virtual]

Implements model.

void vertmodel::endrender (  )  [inline, virtual]

Reimplemented from model.

void vertmodel::genshadows ( float  height,
float  rad 
) [inline, virtual]

Reimplemented from model.

bool vertmodel::hasshadows (  )  [inline, virtual]

Reimplemented from model.

bool vertmodel::link ( part *  link,
const char *  tag,
vec *  pos = NULL 
) [inline]

char* vertmodel::name (  )  [inline, virtual]

Implements model.

void vertmodel::setskin ( int  tex = 0  )  [inline, virtual]

Implements model.

void vertmodel::startrender (  )  [inline, virtual]

Reimplemented from model.


Member Data Documentation

bool vertmodel::enablealphablend = false [static]

bool vertmodel::enablealphatest = false [static]

bool vertmodel::enableoffset = false [static]

float vertmodel::lastalphatest = -1 [static]

void * vertmodel::lastcolorarray = NULL [static]

GLuint vertmodel::lasttex = 0 [static]

void * vertmodel::lasttexcoordarray = NULL [static]

void * vertmodel::lastvertexarray = NULL [static]

int vertmodel::matrixpos = 0 [static]


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

Generated on Mon Dec 8 21:41:37 2008 for AssaultCube by  doxygen 1.5.7.1