mirror of
https://github.com/zeldaret/oot.git
synced 2025-06-07 17:11:50 +00:00
* z64 - a * z64 - b * z64 - c * z64 - d * z64 - e * z64 - f * z64 - g * z64 - h * z64 - i * z64 - l * z64 - m * z64 - o * z64 - p * z64 - q * z64 - r * z64 - s * z64 - t * z64 - v * restore file * fix merge * fix merge --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
21 lines
496 B
C
21 lines
496 B
C
#ifndef SFX_SOURCE_H
|
|
#define SFX_SOURCE_H
|
|
|
|
#include "ultra64.h"
|
|
#include "z_math.h"
|
|
|
|
struct PlayState;
|
|
|
|
typedef struct SfxSource {
|
|
/* 0x00 */ u16 countdown;
|
|
/* 0x04 */ Vec3f worldPos;
|
|
/* 0x10 */ Vec3f projectedPos;
|
|
} SfxSource; // size = 0x1C
|
|
|
|
#define SFX_SOURCE_COUNT 16
|
|
|
|
void SfxSource_InitAll(struct PlayState* play);
|
|
void SfxSource_UpdateAll(struct PlayState* play);
|
|
void SfxSource_PlaySfxAtFixedWorldPos(struct PlayState* play, Vec3f* worldPos, s32 duration, u16 sfxId);
|
|
|
|
#endif
|