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

#include <editor_trackers.h>

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

Public Member Functions

 CLayerTilesCommonPropTracker (CEditorMap *pMap)
Public Member Functions inherited from CPropTracker< CLayerTiles, ETilesCommonProp >
 CPropTracker (CEditorMap *pMap)
void Begin (const CLayerTiles *pObject, ETilesCommonProp Prop, EEditState State, int GroupIndex=-1, int LayerIndex=-1)
void End (ETilesCommonProp Prop, EEditState State, int GroupIndex=-1, int LayerIndex=-1)
Public Member Functions inherited from CMapObject
 CMapObject (CEditorMap *pMap)
 CMapObject (const CMapObject &Other)
virtual ~CMapObject ()=default
virtual void OnAttach (CEditorMap *pMap)
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

std::vector< std::shared_ptr< CLayerTiles > > m_vpLayers
std::vector< int > m_vLayerIndices
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]

Protected Member Functions

void OnStart (ETilesCommonProp Prop) override
void OnEnd (ETilesCommonProp Prop, int Value) override
bool EndChecker (ETilesCommonProp Prop, int Value) override
int PropToValue (ETilesCommonProp Prop) override

Private Attributes

std::map< std::shared_ptr< CLayerTiles >, std::map< int, std::shared_ptr< CLayer > > > m_SavedLayers

Additional Inherited Members

Static Public Attributes inherited from CMapObject
static constexpr float ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f}
Protected Attributes inherited from CPropTracker< CLayerTiles, ETilesCommonProp >
int m_OriginalValue
const CLayerTilesm_pObject
int m_OriginalLayerIndex
int m_OriginalGroupIndex
int m_CurrentLayerIndex
int m_CurrentGroupIndex
bool m_Tracking

Constructor & Destructor Documentation

◆ CLayerTilesCommonPropTracker()

CLayerTilesCommonPropTracker::CLayerTilesCommonPropTracker ( CEditorMap * pMap)
inlineexplicit

Member Function Documentation

◆ EndChecker()

bool CLayerTilesCommonPropTracker::EndChecker ( ETilesCommonProp Prop,
int Value )
overrideprotectedvirtual

◆ OnEnd()

void CLayerTilesCommonPropTracker::OnEnd ( ETilesCommonProp Prop,
int Value )
overrideprotectedvirtual

◆ OnStart()

void CLayerTilesCommonPropTracker::OnStart ( ETilesCommonProp Prop)
overrideprotectedvirtual

◆ PropToValue()

int CLayerTilesCommonPropTracker::PropToValue ( ETilesCommonProp Prop)
overrideprotectedvirtual

Member Data Documentation

◆ m_SavedLayers

std::map<std::shared_ptr<CLayerTiles>, std::map<int, std::shared_ptr<CLayer> > > CLayerTilesCommonPropTracker::m_SavedLayers
private

◆ m_vLayerIndices

std::vector<int> CLayerTilesCommonPropTracker::m_vLayerIndices

◆ m_vpLayers

std::vector<std::shared_ptr<CLayerTiles> > CLayerTilesCommonPropTracker::m_vpLayers

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