29 #ifndef __MODELDECAL_H__ 
   30 #define __MODELDECAL_H__ 
idBounds projectionBounds
 
void ReadFromDemoFile(class idDemoFile *f)
 
static bool CreateProjectionInfo(decalProjectionInfo_t &info, const idFixedWinding &winding, const idVec3 &projectionOrigin, const bool parallel, const float fadeDepth, const idMaterial *material, const int startTime)
 
int indexStartTime[MAX_DECAL_INDEXES]
 
void AddDepthFadedWinding(const idWinding &w, const idMaterial *decalMaterial, const idPlane fadePlanes[2], float fadeDepth, int startTime)
 
static const int MAX_DECAL_INDEXES
 
const idMaterial * material
 
const int NUM_DECAL_BOUNDING_PLANES
 
idPlane boundingPlanes[6]
 
void WriteToDemoFile(class idDemoFile *f) const 
 
GLubyte GLubyte GLubyte GLubyte w
 
static const int MAX_DECAL_VERTS
 
const idMaterial * material
 
void AddWinding(const idWinding &w, const idMaterial *decalMaterial, const idPlane fadePlanes[2], float fadeDepth, int startTime)
 
void AddDecalDrawSurf(struct viewEntity_s *space)
 
static idRenderModelDecal * RemoveFadedDecals(idRenderModelDecal *decals, int time)
 
float vertDepthFade[MAX_DECAL_VERTS]
 
void CreateDecal(const idRenderModel *model, const decalProjectionInfo_t &localInfo)
 
idRenderModelDecal * Next(void) const 
 
struct decalProjectionInfo_s decalProjectionInfo_t
 
static idRenderModelDecal * Alloc(void)
 
static void GlobalProjectionInfoToLocal(decalProjectionInfo_t &localInfo, const decalProjectionInfo_t &info, const idVec3 &origin, const idMat3 &axis)
 
idDrawVert verts[MAX_DECAL_VERTS]
 
glIndex_t indexes[MAX_DECAL_INDEXES]
 
idRenderModelDecal * nextDecal
 
~idRenderModelDecal(void)
 
static void Free(idRenderModelDecal *decal)