doom3-gpl
Doom 3 GPL source release
|
#include <ModelDecal.h>
Public Member Functions | |
idRenderModelDecal (void) | |
~idRenderModelDecal (void) | |
void | CreateDecal (const idRenderModel *model, const decalProjectionInfo_t &localInfo) |
void | AddDecalDrawSurf (struct viewEntity_s *space) |
idRenderModelDecal * | Next (void) const |
void | ReadFromDemoFile (class idDemoFile *f) |
void | WriteToDemoFile (class idDemoFile *f) const |
Static Public Member Functions | |
static idRenderModelDecal * | Alloc (void) |
static void | Free (idRenderModelDecal *decal) |
static bool | CreateProjectionInfo (decalProjectionInfo_t &info, const idFixedWinding &winding, const idVec3 &projectionOrigin, const bool parallel, const float fadeDepth, const idMaterial *material, const int startTime) |
static void | GlobalProjectionInfoToLocal (decalProjectionInfo_t &localInfo, const decalProjectionInfo_t &info, const idVec3 &origin, const idMat3 &axis) |
static idRenderModelDecal * | RemoveFadedDecals (idRenderModelDecal *decals, int time) |
Private Member Functions | |
void | AddWinding (const idWinding &w, const idMaterial *decalMaterial, const idPlane fadePlanes[2], float fadeDepth, int startTime) |
void | AddDepthFadedWinding (const idWinding &w, const idMaterial *decalMaterial, const idPlane fadePlanes[2], float fadeDepth, int startTime) |
Static Private Attributes | |
static const int | MAX_DECAL_VERTS = 40 |
static const int | MAX_DECAL_INDEXES = 60 |
Definition at line 63 of file ModelDecal.h.
idRenderModelDecal::idRenderModelDecal | ( | void | ) |
Definition at line 49 of file ModelDecal.cpp.
idRenderModelDecal::~idRenderModelDecal | ( | void | ) |
Definition at line 62 of file ModelDecal.cpp.
void idRenderModelDecal::AddDecalDrawSurf | ( | struct viewEntity_s * | space | ) |
Definition at line 464 of file ModelDecal.cpp.
|
private |
Definition at line 275 of file ModelDecal.cpp.
|
private |
Definition at line 209 of file ModelDecal.cpp.
|
static |
Definition at line 70 of file ModelDecal.cpp.
void idRenderModelDecal::CreateDecal | ( | const idRenderModel * | model, |
const decalProjectionInfo_t & | localInfo | ||
) |
Definition at line 295 of file ModelDecal.cpp.
|
static |
Definition at line 88 of file ModelDecal.cpp.
|
static |
Definition at line 79 of file ModelDecal.cpp.
|
static |
Definition at line 181 of file ModelDecal.cpp.
|
inline |
Definition at line 88 of file ModelDecal.h.
void idRenderModelDecal::ReadFromDemoFile | ( | class idDemoFile * | f | ) |
Definition at line 526 of file ModelDecal.cpp.
|
static |
Definition at line 389 of file ModelDecal.cpp.
void idRenderModelDecal::WriteToDemoFile | ( | class idDemoFile * | f | ) | const |
Definition at line 535 of file ModelDecal.cpp.
|
private |
Definition at line 101 of file ModelDecal.h.
|
private |
Definition at line 102 of file ModelDecal.h.
|
private |
Definition at line 97 of file ModelDecal.h.
Definition at line 95 of file ModelDecal.h.
Definition at line 94 of file ModelDecal.h.
|
private |
Definition at line 103 of file ModelDecal.h.
|
private |
Definition at line 98 of file ModelDecal.h.
|
private |
Definition at line 100 of file ModelDecal.h.
|
private |
Definition at line 99 of file ModelDecal.h.