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

#include <decalmsh.h>

Inherits DecalMeshClass.

Classes

struct  DecalStruct
 

Public Member Functions

 SkinDecalMeshClass (MeshClass *parent, DecalSystemClass *system)
 
virtual ~SkinDecalMeshClass (void)
 
virtual void Render (void)
 
virtual bool Create_Decal (DecalGeneratorClass *generator, const OBBoxClass &localbox, SimpleDynVecClass< uint32 > &apt, const DynamicVectorClass< Vector3 > *world_vertex_locs)
 
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< uint32ParentVertexIndices
 
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 189 of file decalmsh.h.

Constructor & Destructor Documentation

◆ SkinDecalMeshClass()

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

Definition at line 724 of file decalmsh.cpp.

◆ ~SkinDecalMeshClass()

SkinDecalMeshClass::~SkinDecalMeshClass ( void )
virtual

Definition at line 742 of file decalmsh.cpp.

Member Function Documentation

◆ Create_Decal()

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

Implements DecalMeshClass.

Definition at line 913 of file decalmsh.cpp.

◆ Decal_Count()

int SkinDecalMeshClass::Decal_Count ( void )
inlinevirtual

Implements DecalMeshClass.

Definition at line 282 of file decalmsh.h.

◆ Delete_Decal()

bool SkinDecalMeshClass::Delete_Decal ( uint32 id)
virtual

Implements DecalMeshClass.

Definition at line 1037 of file decalmsh.cpp.

◆ Get_Decal_ID()

uint32 SkinDecalMeshClass::Get_Decal_ID ( int decal_index)
inlinevirtual

Implements DecalMeshClass.

Definition at line 287 of file decalmsh.h.

◆ Process_Material_Run()

int SkinDecalMeshClass::Process_Material_Run ( int start_index)
protected

Definition at line 882 of file decalmsh.cpp.

◆ Render()

void SkinDecalMeshClass::Render ( void )
virtual

Implements DecalMeshClass.

Definition at line 775 of file decalmsh.cpp.

Member Data Documentation

◆ Decals

SimpleDynVecClass<DecalStruct> SkinDecalMeshClass::Decals
protected

Definition at line 244 of file decalmsh.h.

◆ ParentVertexIndices

SimpleDynVecClass<uint32> SkinDecalMeshClass::ParentVertexIndices
protected

Definition at line 222 of file decalmsh.h.

◆ Polys

SimpleDynVecClass<TriIndex> SkinDecalMeshClass::Polys
protected

Definition at line 217 of file decalmsh.h.

◆ Shaders

SimpleDynVecClass<ShaderClass> SkinDecalMeshClass::Shaders
protected

Definition at line 227 of file decalmsh.h.

◆ TexCoords

SimpleDynVecClass<Vector2> SkinDecalMeshClass::TexCoords
protected

Definition at line 230 of file decalmsh.h.

◆ Textures

SimpleDynVecClass<TextureClass *> SkinDecalMeshClass::Textures
protected

Definition at line 228 of file decalmsh.h.

◆ VertexMaterials

SimpleDynVecClass<VertexMaterialClass *> SkinDecalMeshClass::VertexMaterials
protected

Definition at line 229 of file decalmsh.h.


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