prime/include/Kyoto/Audio/CSfxManager.hpp

25 lines
842 B
C++
Raw Normal View History

#ifndef _CSFXMANAGER_HPP
#define _CSFXMANAGER_HPP
#include "types.h"
2022-08-15 04:51:06 +00:00
#include "Kyoto/Audio/CSfxHandle.hpp"
class CSfxManager {
public:
2022-07-15 00:48:18 +00:00
static void Update(f32 dt);
2022-08-15 04:51:06 +00:00
static void RemoveEmitter(CSfxHandle handle);
static void UpdateEmitter(const CSfxHandle& handle, const CVector3f& pos, const CVector3f& dir,
uchar maxVol);
static CSfxHandle AddEmitter(u16 id, const CVector3f& pos, const CVector3f& dir,
bool useAcoustics, bool looped, s16 prio, s32 areaId);
static CSfxHandle AddEmitter(u16 id, const CVector3f& pos, const CVector3f& dir, uchar vol,
bool useAcoustics, bool looped, s16 prio, s32 areaId);
2022-10-01 06:19:09 +00:00
static void Shutdown();
static u16 TranslateSFXID(u16);
static void PitchBend(const CSfxHandle& handle, float pitch);
};
#endif