DDraceNetwork Docs
|
#include <layer_sounds.h>
Public Member Functions | |
CLayerSounds (CEditor *pEditor) | |
CLayerSounds (const CLayerSounds &Other) | |
~CLayerSounds () | |
void | Render (bool Tileset=false) override |
CSoundSource * | NewSource (int x, int y) |
void | BrushSelecting (CUIRect Rect) override |
int | BrushGrab (std::shared_ptr< CLayerGroup > pBrush, CUIRect Rect) override |
void | BrushPlace (std::shared_ptr< CLayer > pBrush, vec2 WorldPos) override |
CUi::EPopupMenuFunctionResult | RenderProperties (CUIRect *pToolbox) override |
void | ModifyEnvelopeIndex (FIndexModifyFunction pfnFunc) override |
void | ModifySoundIndex (FIndexModifyFunction pfnFunc) override |
std::shared_ptr< CLayer > | Duplicate () const override |
const char * | TypeName () const override |
Public Member Functions inherited from CLayer | |
class IGraphics * | Graphics () |
class ITextRender * | TextRender () |
CLayer (CEditor *pEditor) | |
CLayer (const CLayer &Other) | |
virtual | ~CLayer () |
virtual void | BrushSelecting (CUIRect Rect) |
virtual int | BrushGrab (std::shared_ptr< CLayerGroup > pBrush, CUIRect Rect) |
virtual void | FillSelection (bool Empty, std::shared_ptr< CLayer > pBrush, CUIRect Rect) |
virtual void | BrushDraw (std::shared_ptr< CLayer > pBrush, vec2 WorldPos) |
virtual void | BrushPlace (std::shared_ptr< CLayer > pBrush, vec2 WorldPos) |
virtual void | BrushFlipX () |
virtual void | BrushFlipY () |
virtual void | BrushRotate (float Amount) |
virtual bool | IsEntitiesLayer () const |
virtual void | Render (bool Tileset=false) |
virtual CUi::EPopupMenuFunctionResult | RenderProperties (CUIRect *pToolbox) |
virtual void | ModifyImageIndex (FIndexModifyFunction pfnFunc) |
virtual void | ModifyEnvelopeIndex (FIndexModifyFunction pfnFunc) |
virtual void | ModifySoundIndex (FIndexModifyFunction pfnFunc) |
virtual std::shared_ptr< CLayer > | Duplicate () const =0 |
virtual const char * | TypeName () const =0 |
virtual void | GetSize (float *pWidth, float *pHeight) |
Public Attributes | |
int | m_Sound |
std::vector< CSoundSource > | m_vSources |
Public Attributes inherited from CLayer | |
class CEditor * | m_pEditor |
char | m_aName [12] |
int | m_Type |
int | m_Flags |
bool | m_Readonly |
bool | m_Visible |
|
explicit |
CLayerSounds::CLayerSounds | ( | const CLayerSounds & | Other | ) |
|
default |
|
overridevirtual |
Reimplemented from CLayer.
Reimplemented from CLayer.
|
overridevirtual |
Reimplemented from CLayer.
|
overridevirtual |
Reimplemented from CLayer.
CSoundSource * CLayerSounds::NewSource | ( | int | x, |
int | y | ||
) |
|
overridevirtual |
Reimplemented from CLayer.
|
overridevirtual |
Reimplemented from CLayer.
|
overridevirtual |
Implements CLayer.
int CLayerSounds::m_Sound |
std::vector<CSoundSource> CLayerSounds::m_vSources |