DDraceNetwork Docs
CDamageInd Class Reference

#include <damageind.h>

Inheritance diagram for CDamageInd:
[legend]
Collaboration diagram for CDamageInd:
[legend]

Classes

struct  CItem
 

Public Member Functions

 CDamageInd ()
 
virtual int Sizeof () const override
 
void Create (vec2 Pos, vec2 Dir, float Alpha)
 
virtual void OnReset () override
 
virtual void OnRender () override
 
virtual void OnInit () override
 
- Public Member Functions inherited from CComponent
virtual ~CComponent ()
 
virtual int Sizeof () const =0
 
class CGameClientGameClient () const
 
class IClientClient () const
 
virtual void OnStateChange (int NewState, int OldState)
 
virtual void OnConsoleInit ()
 
virtual void OnInit ()
 
virtual void OnShutdown ()
 
virtual void OnReset ()
 
virtual void OnWindowResize ()
 
virtual void OnRefreshSkins ()
 
virtual void OnRender ()
 
virtual void OnNewSnapshot ()
 
virtual void OnRelease ()
 
virtual void OnMapLoad ()
 
virtual void OnMessage (int Msg, void *pRawMsg)
 
virtual bool OnCursorMove (float x, float y, IInput::ECursorType CursorType)
 
virtual bool OnInput (const IInput::CEvent &Event)
 

Private Types

enum  { MAX_ITEMS = 64 }
 

Private Attributes

CItem m_aItems [MAX_ITEMS]
 
int m_NumItems
 
int m_DmgIndQuadContainerIndex
 

Additional Inherited Members

- Protected Member Functions inherited from CComponent
class IKernelKernel () const
 
class IEngineEngine () const
 
class IGraphicsGraphics () const
 
class ITextRenderTextRender () const
 
class IInputInput () const
 
class IStorageStorage () const
 
class CUiUi () const
 
class ISoundSound () const
 
class CRenderToolsRenderTools () const
 
class IConfigManagerConfigManager () const
 
class CConfigConfig () const
 
class IConsoleConsole () const
 
class IDemoPlayerDemoPlayer () const
 
class IDemoRecorderDemoRecorder (int Recorder) const
 
class IFavoritesFavorites () const
 
class IServerBrowserServerBrowser () const
 
class CLayersLayers () const
 
class CCollisionCollision () const
 
int64_t time () const
 
float LocalTime () const
 
class IHttpHttp () const
 
- Protected Attributes inherited from CComponent
CGameClientm_pClient
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
MAX_ITEMS 

Constructor & Destructor Documentation

◆ CDamageInd()

CDamageInd::CDamageInd ( )

Member Function Documentation

◆ Create()

void CDamageInd::Create ( vec2  Pos,
vec2  Dir,
float  Alpha 
)

◆ OnInit()

void CDamageInd::OnInit ( )
overridevirtual

Called to let the components run initialization code.

Reimplemented from CComponent.

◆ OnRender()

void CDamageInd::OnRender ( )
overridevirtual

Called when the component should get rendered.

The render order depends on the component insertion order.

Reimplemented from CComponent.

◆ OnReset()

void CDamageInd::OnReset ( )
overridevirtual

Called to reset the component. This method is usually called on your component constructor to avoid code duplication.

See also
CHud::CHud()
CHud::OnReset()

Reimplemented from CComponent.

◆ Sizeof()

virtual int CDamageInd::Sizeof ( ) const
inlineoverridevirtual

Gets the size of the non-abstract component.

Implements CComponent.

Member Data Documentation

◆ m_aItems

CItem CDamageInd::m_aItems[MAX_ITEMS]
private

◆ m_DmgIndQuadContainerIndex

int CDamageInd::m_DmgIndQuadContainerIndex
private

◆ m_NumItems

int CDamageInd::m_NumItems
private

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