#include <vertmodel.h>
Inherits model.

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 |
| vertmodel::vertmodel | ( | const char * | name | ) | [inline] |
| vertmodel::~vertmodel | ( | ) | [inline] |
| 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.
| 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.
modelcache vertmodel::dynalloc [static] |
bool vertmodel::enablealphablend = false [static] |
bool vertmodel::enablealphatest = false [static] |
bool vertmodel::enabledepthmask = true [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] |
| bool vertmodel::loaded |
| char* vertmodel::loadname |
int vertmodel::matrixpos = 0 [static] |
glmatrixf vertmodel::matrixstack [static] |
modelcache vertmodel::statalloc [static] |
1.5.7.1