![]() |
DDraceNetwork Documentation
|
#include <layer_group.h>
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 CEditor * | Editor () const |
| CEditor * | Editor () |
| const CEditorMap * | Map () const |
| CEditorMap * | Map () |
| const IGraphics * | Graphics () const |
| IGraphics * | Graphics () |
| const ISound * | Sound () const |
| ISound * | Sound () |
| const IStorage * | Storage () const |
| IStorage * | Storage () |
| const ITextRender * | TextRender () const |
| ITextRender * | TextRender () |
Public Attributes | |
| class CEditorMap * | m_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} |
|
explicit |
| void CLayerGroup::AddLayer | ( | const std::shared_ptr< CLayer > & | pLayer | ) |
| void CLayerGroup::Clear | ( | ) |
| void CLayerGroup::Convert | ( | CUIRect * | pRect | ) | const |
| void CLayerGroup::DeleteLayer | ( | int | Index | ) |
| void CLayerGroup::DuplicateLayer | ( | int | Index | ) |
| void CLayerGroup::GetSize | ( | float * | pWidth, |
| float * | pHeight ) const |
| bool CLayerGroup::IsEmpty | ( | ) | const |
| void CLayerGroup::Mapping | ( | float * | pPoints | ) | const |
| void CLayerGroup::MapScreen | ( | ) |
| void CLayerGroup::ModifyEnvelopeIndex | ( | const FIndexModifyFunction & | IndexModifyFunction | ) |
| void CLayerGroup::ModifyImageIndex | ( | const FIndexModifyFunction & | IndexModifyFunction | ) |
| void CLayerGroup::ModifySoundIndex | ( | const FIndexModifyFunction & | IndexModifyFunction | ) |
| int CLayerGroup::MoveLayer | ( | int | IndexFrom, |
| int | IndexTo ) |
|
overridevirtual |
Reimplemented from CMapObject.
| void CLayerGroup::Render | ( | ) |
| char CLayerGroup::m_aName[12] |
| int CLayerGroup::m_ClipH |
| int CLayerGroup::m_ClipW |
| int CLayerGroup::m_ClipX |
| int CLayerGroup::m_ClipY |
| bool CLayerGroup::m_Collapse |
| bool CLayerGroup::m_GameGroup |
| int CLayerGroup::m_OffsetX |
| int CLayerGroup::m_OffsetY |
| int CLayerGroup::m_ParallaxX |
| int CLayerGroup::m_ParallaxY |
| class CEditorMap* CLayerGroup::m_pMap |
| int CLayerGroup::m_UseClipping |
| bool CLayerGroup::m_Visible |
| std::vector<std::shared_ptr<CLayer> > CLayerGroup::m_vpLayers |