doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
idRenderModelLiquid Class Reference

#include <Model_local.h>

Inheritance diagram for idRenderModelLiquid:
idRenderModelStatic idRenderModel

Public Member Functions

 idRenderModelLiquid ()
 
virtual void InitFromFile (const char *fileName)
 
virtual dynamicModel_t IsDynamicModel () const
 
virtual idRenderModelInstantiateDynamicModel (const struct renderEntity_s *ent, const struct viewDef_s *view, idRenderModel *cachedModel)
 
virtual idBounds Bounds (const struct renderEntity_s *ent) const
 
virtual void Reset ()
 
void IntersectBounds (const idBounds &bounds, float displacement)
 
- Public Member Functions inherited from idRenderModelStatic
 idRenderModelStatic ()
 
virtual ~idRenderModelStatic ()
 
virtual void PartialInitFromFile (const char *fileName)
 
virtual void PurgeModel ()
 
virtual void LoadModel ()
 
virtual bool IsLoaded ()
 
virtual void SetLevelLoadReferenced (bool referenced)
 
virtual bool IsLevelLoadReferenced ()
 
virtual void TouchData ()
 
virtual void InitEmpty (const char *name)
 
virtual void AddSurface (modelSurface_t surface)
 
virtual void FinishSurfaces ()
 
virtual void FreeVertexCache ()
 
virtual const char * Name () const
 
virtual void Print () const
 
virtual void List () const
 
virtual int Memory () const
 
virtual ID_TIME_T Timestamp () const
 
virtual int NumSurfaces () const
 
virtual int NumBaseSurfaces () const
 
virtual const modelSurface_tSurface (int surfaceNum) const
 
virtual srfTriangles_tAllocSurfaceTriangles (int numVerts, int numIndexes) const
 
virtual void FreeSurfaceTriangles (srfTriangles_t *tris) const
 
virtual srfTriangles_tShadowHull () const
 
virtual bool IsStaticWorldModel () const
 
virtual bool IsDefaultModel () const
 
virtual bool IsReloadable () const
 
virtual int NumJoints (void) const
 
virtual const idMD5JointGetJoints (void) const
 
virtual jointHandle_t GetJointHandle (const char *name) const
 
virtual const char * GetJointName (jointHandle_t handle) const
 
virtual const idJointQuatGetDefaultPose (void) const
 
virtual int NearestJoint (int surfaceNum, int a, int b, int c) const
 
virtual void ReadFromDemoFile (class idDemoFile *f)
 
virtual void WriteToDemoFile (class idDemoFile *f)
 
virtual float DepthHack () const
 
void MakeDefaultModel ()
 
bool LoadASE (const char *fileName)
 
bool LoadLWO (const char *fileName)
 
bool LoadFLT (const char *fileName)
 
bool LoadMA (const char *filename)
 
bool ConvertASEToModelSurfaces (const struct aseModel_s *ase)
 
bool ConvertLWOToModelSurfaces (const struct st_lwObject *lwo)
 
bool ConvertMAToModelSurfaces (const struct maModel_s *ma)
 
struct aseModel_sConvertLWOToASE (const struct st_lwObject *obj, const char *fileName)
 
bool DeleteSurfaceWithId (int id)
 
void DeleteSurfacesWithNegativeId (void)
 
bool FindSurfaceWithId (int id, int &surfaceNum)
 
- Public Member Functions inherited from idRenderModel
virtual ~idRenderModel ()
 

Private Member Functions

modelSurface_t GenerateSurface (float lerp)
 
void WaterDrop (int x, int y, float *page)
 
void Update (void)
 

Private Attributes

int verts_x
 
int verts_y
 
float scale_x
 
float scale_y
 
int time
 
int liquid_type
 
int update_tics
 
int seed
 
idRandom random
 
const idMaterialshader
 
struct deformInfo_sdeformInfo
 
float density
 
float drop_height
 
int drop_radius
 
float drop_delay
 
idList< floatpages
 
floatpage1
 
floatpage2
 
idList< idDrawVertverts
 
int nextDropTime
 

Additional Inherited Members

- Static Public Member Functions inherited from idRenderModelStatic
static idRenderModelAlloc ()
 
- Public Attributes inherited from idRenderModelStatic
idList< modelSurface_tsurfaces
 
idBounds bounds
 
int overlaysAdded
 
- Protected Attributes inherited from idRenderModelStatic
int lastModifiedFrame
 
int lastArchivedFrame
 
idStr name
 
srfTriangles_tshadowHull
 
bool isStaticWorldModel
 
bool defaulted
 
bool purged
 
bool fastLoad
 
bool reloadable
 
bool levelLoadReferenced
 
ID_TIME_T timeStamp
 
- Static Protected Attributes inherited from idRenderModelStatic
static idCVar r_mergeModelSurfaces
 
static idCVar r_slopVertex
 
static idCVar r_slopTexCoord
 
static idCVar r_slopNormal
 

Detailed Description

Definition at line 232 of file Model_local.h.

Constructor & Destructor Documentation

idRenderModelLiquid::idRenderModelLiquid ( )

Definition at line 43 of file Model_liquid.cpp.

Member Function Documentation

idBounds idRenderModelLiquid::Bounds ( const struct renderEntity_s ent) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 529 of file Model_liquid.cpp.

modelSurface_t idRenderModelLiquid::GenerateSurface ( float  lerp)
private

Definition at line 66 of file Model_liquid.cpp.

void idRenderModelLiquid::InitFromFile ( const char *  fileName)
virtual

Reimplemented from idRenderModelStatic.

Definition at line 345 of file Model_liquid.cpp.

idRenderModel * idRenderModelLiquid::InstantiateDynamicModel ( const struct renderEntity_s ent,
const struct viewDef_s view,
idRenderModel cachedModel 
)
virtual

Reimplemented from idRenderModelStatic.

Definition at line 469 of file Model_liquid.cpp.

void idRenderModelLiquid::IntersectBounds ( const idBounds bounds,
float  displacement 
)

Definition at line 179 of file Model_liquid.cpp.

dynamicModel_t idRenderModelLiquid::IsDynamicModel ( ) const
virtual

Reimplemented from idRenderModelStatic.

Definition at line 520 of file Model_liquid.cpp.

void idRenderModelLiquid::Reset ( void  )
virtual

Reimplemented from idRenderModelStatic.

Definition at line 317 of file Model_liquid.cpp.

void idRenderModelLiquid::Update ( void  )
private

Definition at line 225 of file Model_liquid.cpp.

void idRenderModelLiquid::WaterDrop ( int  x,
int  y,
float page 
)
private

Definition at line 131 of file Model_liquid.cpp.

Member Data Documentation

struct deformInfo_s* idRenderModelLiquid::deformInfo
private

Definition at line 261 of file Model_local.h.

float idRenderModelLiquid::density
private

Definition at line 264 of file Model_local.h.

float idRenderModelLiquid::drop_delay
private

Definition at line 267 of file Model_local.h.

float idRenderModelLiquid::drop_height
private

Definition at line 265 of file Model_local.h.

int idRenderModelLiquid::drop_radius
private

Definition at line 266 of file Model_local.h.

int idRenderModelLiquid::liquid_type
private

Definition at line 254 of file Model_local.h.

int idRenderModelLiquid::nextDropTime
private

Definition at line 275 of file Model_local.h.

float* idRenderModelLiquid::page1
private

Definition at line 270 of file Model_local.h.

float* idRenderModelLiquid::page2
private

Definition at line 271 of file Model_local.h.

idList<float> idRenderModelLiquid::pages
private

Definition at line 269 of file Model_local.h.

idRandom idRenderModelLiquid::random
private

Definition at line 258 of file Model_local.h.

float idRenderModelLiquid::scale_x
private

Definition at line 251 of file Model_local.h.

float idRenderModelLiquid::scale_y
private

Definition at line 252 of file Model_local.h.

int idRenderModelLiquid::seed
private

Definition at line 256 of file Model_local.h.

const idMaterial* idRenderModelLiquid::shader
private

Definition at line 260 of file Model_local.h.

int idRenderModelLiquid::time
private

Definition at line 253 of file Model_local.h.

int idRenderModelLiquid::update_tics
private

Definition at line 255 of file Model_local.h.

idList<idDrawVert> idRenderModelLiquid::verts
private

Definition at line 273 of file Model_local.h.

int idRenderModelLiquid::verts_x
private

Definition at line 249 of file Model_local.h.

int idRenderModelLiquid::verts_y
private

Definition at line 250 of file Model_local.h.


The documentation for this class was generated from the following files: