Preparing other headers for CScriptSpecialFunction

Former-commit-id: 6ffb16e4a9
This commit is contained in:
Henrique Gemignani Passos Lima
2022-10-02 13:13:35 +03:00
parent 8d294a2801
commit 63988f60bc
22 changed files with 152 additions and 49 deletions

View File

@@ -9,7 +9,16 @@ class CSfxManager {
public:
static void Update(f32 dt);
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);
static void Shutdown();
static u16 TranslateSFXID(u16);
static void PitchBend(const CSfxHandle& handle, float pitch);
};
#endif