1 | #ifndef GAME_EDITOR_MAPITEMS_SOUND_H |
---|---|
2 | #define GAME_EDITOR_MAPITEMS_SOUND_H |
3 | |
4 | #include <base/types.h> |
5 | #include <game/editor/component.h> |
6 | |
7 | class CEditorSound : public CEditorComponent |
8 | { |
9 | public: |
10 | explicit CEditorSound(CEditor *pEditor); |
11 | ~CEditorSound(); |
12 | |
13 | int m_SoundId = -1; |
14 | char m_aName[IO_MAX_PATH_LENGTH] = ""; |
15 | |
16 | void *m_pData = nullptr; |
17 | unsigned m_DataSize = 0; |
18 | }; |
19 | |
20 | #endif |
21 |