DDraceNetwork Documentation
Loading...
Searching...
No Matches
CPropTracker< T, E > Class Template Reference

#include <editor_trackers.h>

Inheritance diagram for CPropTracker< T, E >:
[legend]
Collaboration diagram for CPropTracker< T, E >:
[legend]

Public Member Functions

 CPropTracker (CEditorMap *pMap)
void Begin (const T *pObject, E Prop, EEditState State, int GroupIndex=-1, int LayerIndex=-1)
void End (E 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

virtual void OnStart (E Prop)
virtual void OnEnd (E Prop, int Value)
virtual int PropToValue (E Prop)
virtual bool EndChecker (E Prop, int Value)

Protected Attributes

int m_OriginalValue
const T * m_pObject
int m_OriginalLayerIndex
int m_OriginalGroupIndex
int m_CurrentLayerIndex
int m_CurrentGroupIndex
bool m_Tracking

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}

Constructor & Destructor Documentation

◆ CPropTracker()

template<typename T, typename E>
CPropTracker< T, E >::CPropTracker ( CEditorMap * pMap)
inlineexplicit

Member Function Documentation

◆ Begin()

template<typename T, typename E>
void CPropTracker< T, E >::Begin ( const T * pObject,
E Prop,
EEditState State,
int GroupIndex = -1,
int LayerIndex = -1 )
inline

◆ End()

template<typename T, typename E>
void CPropTracker< T, E >::End ( E Prop,
EEditState State,
int GroupIndex = -1,
int LayerIndex = -1 )
inline

◆ EndChecker()

template<typename T, typename E>
virtual bool CPropTracker< T, E >::EndChecker ( E Prop,
int Value )
inlineprotectedvirtual

◆ OnEnd()

◆ OnStart()

template<typename T, typename E>
virtual void CPropTracker< T, E >::OnStart ( E Prop)
inlineprotectedvirtual

◆ PropToValue()

Member Data Documentation

◆ m_CurrentGroupIndex

template<typename T, typename E>
int CPropTracker< T, E >::m_CurrentGroupIndex
protected

◆ m_CurrentLayerIndex

template<typename T, typename E>
int CPropTracker< T, E >::m_CurrentLayerIndex
protected

◆ m_OriginalGroupIndex

template<typename T, typename E>
int CPropTracker< T, E >::m_OriginalGroupIndex
protected

◆ m_OriginalLayerIndex

template<typename T, typename E>
int CPropTracker< T, E >::m_OriginalLayerIndex
protected

◆ m_OriginalValue

template<typename T, typename E>
int CPropTracker< T, E >::m_OriginalValue
protected

◆ m_pObject

template<typename T, typename E>
const T* CPropTracker< T, E >::m_pObject
protected

◆ m_Tracking

template<typename T, typename E>
bool CPropTracker< T, E >::m_Tracking
protected

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