started working on sounds

This commit is contained in:
2025-07-20 23:48:00 +03:00
parent d786abd0fe
commit 8a29e6b86f
13 changed files with 93568 additions and 3 deletions

24
public/audio.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef AUDIO_H
#define AUDIO_H
#include "interface.h"
#include "tier0/platform.h"
abstract_class ISound
{
virtual void SetVolume() = 0;
};
abstract_class I3DSound: public ISound
{
virtual void SetPosition() = 0;
virtual void SetVelocity() = 0;
};
interface IAudioManager: public IInterface
{
virtual ISound *CreateSound() = 0;
virtual I3DSound *Create3DSound() = 0;
};
#endif