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

#include <editor_trackers.h>

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

Public Member Functions

 CLayerTilesPropTracker (CEditorMap *pMap)
Public Member Functions inherited from CPropTracker< CLayerTiles, ETilesProp >
 CPropTracker (CEditorMap *pMap)
void Begin (const CLayerTiles *pObject, ETilesProp Prop, EEditState State, int GroupIndex=-1, int LayerIndex=-1)
void End (ETilesProp 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 ()

Protected Member Functions

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

Private Attributes

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

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CLayerTilesPropTracker()

CLayerTilesPropTracker::CLayerTilesPropTracker ( CEditorMap * pMap)
inlineexplicit

Member Function Documentation

◆ EndChecker()

bool CLayerTilesPropTracker::EndChecker ( ETilesProp Prop,
int Value )
overrideprotectedvirtual

◆ OnEnd()

void CLayerTilesPropTracker::OnEnd ( ETilesProp Prop,
int Value )
overrideprotectedvirtual

◆ OnStart()

void CLayerTilesPropTracker::OnStart ( ETilesProp Prop)
overrideprotectedvirtual

◆ PropToValue()

int CLayerTilesPropTracker::PropToValue ( ETilesProp Prop)
overrideprotectedvirtual

Member Data Documentation

◆ m_SavedLayers

std::map<int, std::shared_ptr<CLayer> > CLayerTilesPropTracker::m_SavedLayers
private

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