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

#include <sound.h>

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

Public Member Functions

 CEditorSound (CEditorMap *pMap)
 ~CEditorSound () override
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 ()

Public Attributes

int m_SoundId = -1
char m_aName [IO_MAX_PATH_LENGTH] = ""
void * m_pData = nullptr
unsigned m_DataSize = 0
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]

Additional Inherited Members

Static Public Attributes inherited from CMapObject
static constexpr float ms_aStandardScreen [2] = {1430 / 2.f, 1050 / 2.f}

Constructor & Destructor Documentation

◆ CEditorSound()

CEditorSound::CEditorSound ( CEditorMap * pMap)
explicit

◆ ~CEditorSound()

CEditorSound::~CEditorSound ( )
override

Member Data Documentation

◆ m_aName

char CEditorSound::m_aName[IO_MAX_PATH_LENGTH] = ""

◆ m_DataSize

unsigned CEditorSound::m_DataSize = 0

◆ m_pData

void* CEditorSound::m_pData = nullptr

◆ m_SoundId

int CEditorSound::m_SoundId = -1

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