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

#include <layer_group.h>

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

Public Member Functions

 CLayerGroup (CEditorMap *pMap)
void OnAttach (CEditorMap *pMap) override
void Convert (CUIRect *pRect) const
void Render ()
void MapScreen ()
void Mapping (float *pPoints) const
void GetSize (float *pWidth, float *pHeight) const
void AddLayer (const std::shared_ptr< CLayer > &pLayer)
void DeleteLayer (int Index)
void DuplicateLayer (int Index)
int MoveLayer (int IndexFrom, int IndexTo)
bool IsEmpty () const
void Clear ()
void ModifyImageIndex (const FIndexModifyFunction &IndexModifyFunction)
void ModifyEnvelopeIndex (const FIndexModifyFunction &IndexModifyFunction)
void ModifySoundIndex (const FIndexModifyFunction &IndexModifyFunction)
Public Member Functions inherited from CMapObject
 CMapObject (CEditorMap *pMap)
 CMapObject (const CMapObject &Other)
virtual ~CMapObject ()=default
const CEditorEditor () const
CEditorEditor ()
const CEditorMapMap () const
CEditorMapMap ()
const IGraphicsGraphics () const
IGraphicsGraphics ()
const ISoundSound () const
ISoundSound ()
const IStorageStorage () const
IStorageStorage ()
const ITextRenderTextRender () const
ITextRenderTextRender ()

Public Attributes

class CEditorMapm_pMap
std::vector< std::shared_ptr< CLayer > > m_vpLayers
int m_OffsetX
int m_OffsetY
int m_ParallaxX
int m_ParallaxY
int m_UseClipping
int m_ClipX
int m_ClipY
int m_ClipW
int m_ClipH
char m_aName [12]
bool m_GameGroup
bool m_Visible
bool m_Collapse
Public Attributes inherited from CMapObject
float m_aLayerOffset [2]
bool m_UseClipping
float m_aaClipArea [2][2]
float m_aSpeed [2]
float m_aaScreenOffset [2][2]
float m_aaBaseArea [2][2]
float m_aaExtendedArea [2][2]

Additional Inherited Members

Static Public Attributes inherited from CMapObject
static constexpr float ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f}

Constructor & Destructor Documentation

◆ CLayerGroup()

CLayerGroup::CLayerGroup ( CEditorMap * pMap)
explicit

Member Function Documentation

◆ AddLayer()

void CLayerGroup::AddLayer ( const std::shared_ptr< CLayer > & pLayer)

◆ Clear()

void CLayerGroup::Clear ( )

◆ Convert()

void CLayerGroup::Convert ( CUIRect * pRect) const

◆ DeleteLayer()

void CLayerGroup::DeleteLayer ( int Index)

◆ DuplicateLayer()

void CLayerGroup::DuplicateLayer ( int Index)

◆ GetSize()

void CLayerGroup::GetSize ( float * pWidth,
float * pHeight ) const

◆ IsEmpty()

bool CLayerGroup::IsEmpty ( ) const

◆ Mapping()

void CLayerGroup::Mapping ( float * pPoints) const

◆ MapScreen()

void CLayerGroup::MapScreen ( )

◆ ModifyEnvelopeIndex()

void CLayerGroup::ModifyEnvelopeIndex ( const FIndexModifyFunction & IndexModifyFunction)

◆ ModifyImageIndex()

void CLayerGroup::ModifyImageIndex ( const FIndexModifyFunction & IndexModifyFunction)

◆ ModifySoundIndex()

void CLayerGroup::ModifySoundIndex ( const FIndexModifyFunction & IndexModifyFunction)

◆ MoveLayer()

int CLayerGroup::MoveLayer ( int IndexFrom,
int IndexTo )

◆ OnAttach()

void CLayerGroup::OnAttach ( CEditorMap * pMap)
overridevirtual

Reimplemented from CMapObject.

◆ Render()

void CLayerGroup::Render ( )

Member Data Documentation

◆ m_aName

char CLayerGroup::m_aName[12]

◆ m_ClipH

int CLayerGroup::m_ClipH

◆ m_ClipW

int CLayerGroup::m_ClipW

◆ m_ClipX

int CLayerGroup::m_ClipX

◆ m_ClipY

int CLayerGroup::m_ClipY

◆ m_Collapse

bool CLayerGroup::m_Collapse

◆ m_GameGroup

bool CLayerGroup::m_GameGroup

◆ m_OffsetX

int CLayerGroup::m_OffsetX

◆ m_OffsetY

int CLayerGroup::m_OffsetY

◆ m_ParallaxX

int CLayerGroup::m_ParallaxX

◆ m_ParallaxY

int CLayerGroup::m_ParallaxY

◆ m_pMap

class CEditorMap* CLayerGroup::m_pMap

◆ m_UseClipping

int CLayerGroup::m_UseClipping

◆ m_Visible

bool CLayerGroup::m_Visible

◆ m_vpLayers

std::vector<std::shared_ptr<CLayer> > CLayerGroup::m_vpLayers

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