Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
RigidDecalMeshClass Class Reference

#include <decalmsh.h>

Inherits DecalMeshClass.

Classes

struct  DecalStruct
 

Public Member Functions

 RigidDecalMeshClass (MeshClass *parent, DecalSystemClass *system)
 
virtual ~RigidDecalMeshClass (void)
 
virtual void Render (void)
 
virtual bool Create_Decal (DecalGeneratorClass *generator, const OBBoxClass &localbox, SimpleDynVecClass< uint32 > &apt, const DynamicVectorClass< Vector3 > *world_vertex_locs=0)
 
virtual bool Delete_Decal (uint32 id)
 
int Decal_Count (void)
 
uint32 Get_Decal_ID (int decal_index)
 
- Public Member Functions inherited from DecalMeshClass
 DecalMeshClass (MeshClass *parent, DecalSystemClass *system)
 
virtual ~DecalMeshClass (void)
 
MeshClassPeek_Parent (void)
 
DecalSystemClassPeek_System (void)
 
DecalMeshClassPeek_Next_Visible (void)
 
void Set_Next_Visible (DecalMeshClass *mesh)
 
- Public Member Functions inherited from RefCountClass
 RefCountClass (void)
 
 RefCountClass (const RefCountClass &)
 
void Add_Ref (void) const
 
WWINLINE void Release_Ref (void) const
 
int Num_Refs (void) const
 
virtual void Delete_This (void)
 

Protected Member Functions

int Process_Material_Run (int start_index)
 
- Protected Member Functions inherited from RefCountClass
virtual ~RefCountClass (void)
 

Protected Attributes

SimpleDynVecClass< TriIndexPolys
 
SimpleDynVecClass< Vector3Verts
 
SimpleDynVecClass< Vector3VertNorms
 
SimpleDynVecClass< ShaderClassShaders
 
SimpleDynVecClass< TextureClass * > Textures
 
SimpleDynVecClass< VertexMaterialClass * > VertexMaterials
 
SimpleDynVecClass< Vector2TexCoords
 
SimpleDynVecClass< DecalStructDecals
 
- Protected Attributes inherited from DecalMeshClass
MeshClassParent
 
DecalSystemClassDecalSystem
 
DecalMeshClassNextVisible
 

Additional Inherited Members

- Static Public Member Functions inherited from RefCountClass
static int Total_Refs (void)
 
static RefCountClassAdd_Active_Ref (RefCountClass *obj)
 
static RefCountClassSet_Ref_Owner (RefCountClass *obj, char *file, int line)
 
static void Remove_Active_Ref (RefCountClass *obj)
 
static bool Validate_Active_Ref (RefCountClass *obj)
 
- Public Attributes inherited from RefCountClass
RefCountNodeClass ActiveRefNode
 
ActiveRefStruct ActiveRefInfo
 
- Static Public Attributes inherited from RefCountClass
static RefCountListClass ActiveRefList
 

Detailed Description

Definition at line 124 of file decalmsh.h.

Constructor & Destructor Documentation

◆ RigidDecalMeshClass()

RigidDecalMeshClass::RigidDecalMeshClass ( MeshClass * parent,
DecalSystemClass * system )

Definition at line 241 of file decalmsh.cpp.

◆ ~RigidDecalMeshClass()

RigidDecalMeshClass::~RigidDecalMeshClass ( void )
virtual

Definition at line 259 of file decalmsh.cpp.

Member Function Documentation

◆ Create_Decal()

bool RigidDecalMeshClass::Create_Decal ( DecalGeneratorClass * generator,
const OBBoxClass & localbox,
SimpleDynVecClass< uint32 > & apt,
const DynamicVectorClass< Vector3 > * world_vertex_locs = 0 )
virtual

Implements DecalMeshClass.

Definition at line 414 of file decalmsh.cpp.

◆ Decal_Count()

int RigidDecalMeshClass::Decal_Count ( void )
inlinevirtual

Implements DecalMeshClass.

Definition at line 267 of file decalmsh.h.

◆ Delete_Decal()

bool RigidDecalMeshClass::Delete_Decal ( uint32 id)
virtual

Implements DecalMeshClass.

Definition at line 620 of file decalmsh.cpp.

◆ Get_Decal_ID()

uint32 RigidDecalMeshClass::Get_Decal_ID ( int decal_index)
inlinevirtual

Implements DecalMeshClass.

Definition at line 272 of file decalmsh.h.

◆ Process_Material_Run()

int RigidDecalMeshClass::Process_Material_Run ( int start_index)
protected

Definition at line 384 of file decalmsh.cpp.

◆ Render()

void RigidDecalMeshClass::Render ( void )
virtual

Implements DecalMeshClass.

Definition at line 292 of file decalmsh.cpp.

Member Data Documentation

◆ Decals

SimpleDynVecClass<DecalStruct> RigidDecalMeshClass::Decals
protected

Definition at line 180 of file decalmsh.h.

◆ Polys

SimpleDynVecClass<TriIndex> RigidDecalMeshClass::Polys
protected

Definition at line 152 of file decalmsh.h.

◆ Shaders

SimpleDynVecClass<ShaderClass> RigidDecalMeshClass::Shaders
protected

Definition at line 163 of file decalmsh.h.

◆ TexCoords

SimpleDynVecClass<Vector2> RigidDecalMeshClass::TexCoords
protected

Definition at line 166 of file decalmsh.h.

◆ Textures

SimpleDynVecClass<TextureClass *> RigidDecalMeshClass::Textures
protected

Definition at line 164 of file decalmsh.h.

◆ VertexMaterials

SimpleDynVecClass<VertexMaterialClass *> RigidDecalMeshClass::VertexMaterials
protected

Definition at line 165 of file decalmsh.h.

◆ VertNorms

SimpleDynVecClass<Vector3> RigidDecalMeshClass::VertNorms
protected

Definition at line 158 of file decalmsh.h.

◆ Verts

SimpleDynVecClass<Vector3> RigidDecalMeshClass::Verts
protected

Definition at line 157 of file decalmsh.h.


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