DDNet documentation
Loading...
Searching...
No Matches
CSoundSourceCircleShapePropTracker Class Reference

#include <editor_trackers.h>

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

Public Member Functions

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

Protected Member Functions

void OnEnd (ECircleShapeProp Prop, int Value) override
int PropToValue (ECircleShapeProp Prop) override
Protected Member Functions inherited from CPropTracker< CSoundSource, ECircleShapeProp >
virtual void OnStart (ECircleShapeProp Prop)
virtual bool EndChecker (ECircleShapeProp Prop, int Value)

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< CSoundSource, ECircleShapeProp >
int m_OriginalValue
const CSoundSource * m_pObject
int m_OriginalLayerIndex
int m_OriginalGroupIndex
int m_CurrentLayerIndex
int m_CurrentGroupIndex
bool m_Tracking

Constructor & Destructor Documentation

◆ CSoundSourceCircleShapePropTracker()

CSoundSourceCircleShapePropTracker::CSoundSourceCircleShapePropTracker ( CEditorMap * pMap)
inlineexplicit

Member Function Documentation

◆ OnEnd()

void CSoundSourceCircleShapePropTracker::OnEnd ( ECircleShapeProp Prop,
int Value )
overrideprotectedvirtual

◆ PropToValue()

int CSoundSourceCircleShapePropTracker::PropToValue ( ECircleShapeProp Prop)
overrideprotectedvirtual

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