1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-10 18:19:15 +00:00
re3/src/audio/AudioScriptObject.h

23 lines
530 B
C
Raw Normal View History

2019-05-29 00:52:30 +00:00
#pragma once
class cAudioScriptObject
{
public:
int16 AudioId;
CVector Posn;
int32 AudioEntity;
void Reset(); /// ok
static void* operator new(size_t);
static void* operator new(size_t, int);
static void operator delete(void*, size_t);
static void operator delete(void*, int);
2020-03-31 13:09:18 +00:00
static void LoadAllAudioScriptObjects(uint8 *buf, uint32 size);
static void SaveAllAudioScriptObjects(uint8 *buf, uint32 *size);
};
VALIDATE_SIZE(cAudioScriptObject, 20);
2019-06-16 22:16:38 +00:00
extern void PlayOneShotScriptObject(uint8 id, CVector const &pos);