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

#include <DrawableInfo.h>

Public Types

enum  ExtraRenderFlags {
  ERF_IS_NORMAL =0 , ERF_IS_OCCLUDED = 0x00000001 , ERF_POTENTIAL_OCCLUDER = 0x00000002 , ERF_POTENTIAL_OCCLUDEE = 0x00000004 ,
  ERF_IS_TRANSLUCENT = 0x00000008 , ERF_IS_NON_OCCLUDER_OR_OCCLUDEE = 0x00000010 , ERF_DELAYED_RENDER = ERF_IS_TRANSLUCENT|ERF_POTENTIAL_OCCLUDEE
}
 

Public Member Functions

 DrawableInfo (void)
 

Public Attributes

ObjectID m_shroudStatusObjectID
 since we sometimes have drawables without objects, this points to a parent object from which we pull shroud status.
 
Drawablem_drawable
 pointer back to drawable containing this DrawableInfo
 
GhostObjectm_ghostObject
 pointer to ghostObject for this drawable used for fogged versions.
 
Int m_flags
 extra render settings flags that are tied to render objects with drawables.
 

Detailed Description

Definition at line 39 of file DrawableInfo.h.

Member Enumeration Documentation

◆ ExtraRenderFlags

Enumerator
ERF_IS_NORMAL 
ERF_IS_OCCLUDED 
ERF_POTENTIAL_OCCLUDER 
ERF_POTENTIAL_OCCLUDEE 
ERF_IS_TRANSLUCENT 
ERF_IS_NON_OCCLUDER_OR_OCCLUDEE 
ERF_DELAYED_RENDER 

Definition at line 41 of file DrawableInfo.h.

Constructor & Destructor Documentation

◆ DrawableInfo()

DrawableInfo::DrawableInfo ( void )
inline

Definition at line 51 of file DrawableInfo.h.

Member Data Documentation

◆ m_drawable

Drawable* DrawableInfo::m_drawable

pointer back to drawable containing this DrawableInfo

Definition at line 54 of file DrawableInfo.h.

◆ m_flags

Int DrawableInfo::m_flags

extra render settings flags that are tied to render objects with drawables.

Definition at line 56 of file DrawableInfo.h.

◆ m_ghostObject

GhostObject* DrawableInfo::m_ghostObject

pointer to ghostObject for this drawable used for fogged versions.

Definition at line 55 of file DrawableInfo.h.

◆ m_shroudStatusObjectID

ObjectID DrawableInfo::m_shroudStatusObjectID

since we sometimes have drawables without objects, this points to a parent object from which we pull shroud status.

Definition at line 53 of file DrawableInfo.h.


The documentation for this struct was generated from the following file: