![]() |
DDraceNetwork Documentation
|
#include <mapsounds.h>
Classes | |
| class | CSourceQueueEntry |
Public Member Functions | |
| CMapSounds () | |
| int | Sizeof () const override |
| void | Play (int Channel, int SoundId) |
| void | PlayAt (int Channel, int SoundId, vec2 Position) |
| void | OnMapLoad () override |
| void | OnRender () override |
| void | OnStateChange (int NewState, int OldState) override |
| Public Member Functions inherited from CComponent | |
| virtual void | OnConsoleInit () |
| virtual void | OnInit () |
| virtual void | OnShutdown () |
| virtual void | OnReset () |
| virtual void | OnWindowResize () |
| virtual void | OnUpdate () |
| virtual void | OnNewSnapshot () |
| virtual void | OnRelease () |
| virtual void | OnMessage (int Msg, void *pRawMsg) |
| virtual bool | OnCursorMove (float x, float y, IInput::ECursorType CursorType) |
| virtual bool | OnInput (const IInput::CEvent &Event) |
| virtual bool | OnTouchState (const std::vector< IInput::CTouchFingerState > &vTouchFingerStates) |
| Public Member Functions inherited from CComponentInterfaces | |
| virtual void | OnInterfacesInit (CGameClient *pClient) |
| virtual | ~CComponentInterfaces ()=default |
Private Member Functions | |
| void | Clear () |
Private Attributes | |
| int | m_aSounds [MAX_MAPSOUNDS] |
| int | m_Count |
| std::vector< CSourceQueueEntry > | m_vSourceQueue |
Additional Inherited Members | |
| Protected Member Functions inherited from CComponentInterfaces | |
| class CGameClient * | GameClient () const |
| class IClient * | Client () const |
| class IKernel * | Kernel () const |
| class IEngine * | Engine () const |
| class IGraphics * | Graphics () const |
| class ITextRender * | TextRender () const |
| class IInput * | Input () const |
| class IStorage * | Storage () const |
| class CUi * | Ui () const |
| class ISound * | Sound () const |
| class CRenderTools * | RenderTools () const |
| class CRenderMap * | RenderMap () const |
| class IConfigManager * | ConfigManager () const |
| class CConfig * | Config () const |
| class IConsole * | Console () const |
| class IDemoPlayer * | DemoPlayer () const |
| class IDemoRecorder * | DemoRecorder (int Recorder) const |
| class IFavorites * | Favorites () const |
| class IServerBrowser * | ServerBrowser () const |
| class CLayers * | Layers () const |
| class CCollision * | Collision () const |
| int64_t | time () const |
| float | LocalTime () const |
| class IHttp * | Http () const |
| CMapSounds::CMapSounds | ( | ) |
|
private |
|
overridevirtual |
Called on map load.
Reimplemented from CComponent.
|
overridevirtual |
Called when the component should get rendered.
The render order depends on the component insertion order.
Reimplemented from CComponent.
|
overridevirtual |
This method is called when the client changes state, e.g from offline to online.
Reimplemented from CComponent.
| void CMapSounds::Play | ( | int | Channel, |
| int | SoundId ) |
| void CMapSounds::PlayAt | ( | int | Channel, |
| int | SoundId, | ||
| vec2 | Position ) |
|
inlineoverridevirtual |
Gets the size of the non-abstract component.
Implements CComponent.
|
private |
|
private |
|
private |