DDraceNetwork Documentation
Loading...
Searching...
No Matches
CMapLayers Class Reference

#include <maplayers.h>

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

Public Member Functions

 CMapLayers (ERenderType Type, bool OnlineOnly=true)
int Sizeof () const override
void OnInit () override
void OnRender () override
void OnMapLoad () override
virtual CCameraGetCurCamera ()
CEnvelopeStateEnvEvaluator ()
Public Member Functions inherited from CComponent
virtual void OnStateChange (int NewState, int OldState)
virtual void OnConsoleInit ()
virtual void OnShutdown ()
virtual void OnReset ()
virtual void OnWindowResize ()
virtual void OnUpdate ()
virtual void OnNewSnapshot ()
virtual void OnRelease ()
virtual void OnMessage (int Msg, void *pRawMsg)
virtual bool OnCursorMove (float x, float y, IInput::ECursorType CursorType)
virtual bool OnInput (const IInput::CEvent &Event)
virtual bool OnTouchState (const std::vector< IInput::CTouchFingerState > &vTouchFingerStates)
Public Member Functions inherited from CComponentInterfaces
virtual void OnInterfacesInit (CGameClient *pClient)
virtual ~CComponentInterfaces ()=default

Private Attributes

CLayersm_pLayers
CMapImagesm_pImages
ERenderType m_Type
bool m_OnlineOnly
CRenderLayerParams m_Params
CMapRenderer m_MapRenderer
CEnvelopeState m_EnvEvaluator

Friends

class CBackground
class CMenuBackground

Additional Inherited Members

Protected Member Functions inherited from CComponentInterfaces
class CGameClientGameClient () const
class IClientClient () const
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 CRenderMapRenderMap () 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

Constructor & Destructor Documentation

◆ CMapLayers()

CMapLayers::CMapLayers ( ERenderType Type,
bool OnlineOnly = true )

Member Function Documentation

◆ EnvEvaluator()

CEnvelopeState & CMapLayers::EnvEvaluator ( )
inline

◆ GetCurCamera()

CCamera * CMapLayers::GetCurCamera ( )
virtual

Reimplemented in CMenuBackground.

◆ OnInit()

void CMapLayers::OnInit ( )
overridevirtual

Called to let the components run initialization code.

Reimplemented from CComponent.

Reimplemented in CMenuBackground.

◆ OnMapLoad()

void CMapLayers::OnMapLoad ( )
overridevirtual

Called on map load.

Reimplemented from CComponent.

Reimplemented in CMenuBackground.

◆ OnRender()

void CMapLayers::OnRender ( )
overridevirtual

Called when the component should get rendered.

The render order depends on the component insertion order.

Reimplemented from CComponent.

Reimplemented in CMenuBackground.

◆ Sizeof()

int CMapLayers::Sizeof ( ) const
inlineoverridevirtual

Gets the size of the non-abstract component.

Implements CComponent.

Reimplemented in CMenuBackground.

◆ CBackground

friend class CBackground
friend

◆ CMenuBackground

friend class CMenuBackground
friend

Member Data Documentation

◆ m_EnvEvaluator

CEnvelopeState CMapLayers::m_EnvEvaluator
private

◆ m_MapRenderer

CMapRenderer CMapLayers::m_MapRenderer
private

◆ m_OnlineOnly

bool CMapLayers::m_OnlineOnly
private

◆ m_Params

CRenderLayerParams CMapLayers::m_Params
private

◆ m_pImages

CMapImages* CMapLayers::m_pImages
private

◆ m_pLayers

CLayers* CMapLayers::m_pLayers
private

◆ m_Type

ERenderType CMapLayers::m_Type
private

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