model Struct Reference

#include <model.h>

Inherited by vertmodel.

Collaboration diagram for model:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 model ()
virtual ~model ()
virtual bool load ()=0
virtual char * name ()=0
virtual int type ()=0
virtual void cleanup ()=0
virtual void render (int anim, int varseed, float speed, int basetime, const vec &o, float yaw, float pitch, dynent *d, modelattach *a=NULL, float scale=1.0f)=0
virtual void setskin (int tex=0)=0
virtual void genshadows (float height, float rad)
virtual void rendershadow (int anim, int varseed, float speed, int basetime, const vec &o, float yaw, modelattach *a=NULL)
virtual bool hasshadows ()
virtual void startrender ()
virtual void endrender ()

Public Attributes

bool cullface
bool vertexlight
float alphatest
float translucency
float scale
float radius
float shadowdist
vec translate
int cachelimit
int batch


Constructor & Destructor Documentation

model::model (  )  [inline]

virtual model::~model (  )  [inline, virtual]


Member Function Documentation

virtual void model::cleanup (  )  [pure virtual]

Implemented in vertmodel.

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

Reimplemented in vertmodel.

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

Reimplemented in vertmodel.

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

Reimplemented in vertmodel.

virtual bool model::load (  )  [pure virtual]

Implemented in md2, and md3.

virtual char* model::name (  )  [pure virtual]

Implemented in vertmodel.

virtual void model::render ( int  anim,
int  varseed,
float  speed,
int  basetime,
const vec &  o,
float  yaw,
float  pitch,
dynent *  d,
modelattach *  a = NULL,
float  scale = 1.0f 
) [pure virtual]

Implemented in md2, and md3.

virtual void model::rendershadow ( int  anim,
int  varseed,
float  speed,
int  basetime,
const vec &  o,
float  yaw,
modelattach *  a = NULL 
) [inline, virtual]

Reimplemented in md2, and md3.

virtual void model::setskin ( int  tex = 0  )  [pure virtual]

Implemented in vertmodel.

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

Reimplemented in vertmodel.

virtual int model::type (  )  [pure virtual]

Implemented in md2, and md3.


Member Data Documentation

float model::scale


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

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