1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 15:04:31 +00:00

[headers 5] Misc small headers untangling (#2147)

* Misc small headers untangling

* mv gSaveContext to where it is in MM in the header

* newline police

* move rand functions back to functions.h
This commit is contained in:
Dragorn421 2024-09-07 23:23:25 +02:00 committed by GitHub
parent 277ce1c0d3
commit a039aeffb7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 35 additions and 23 deletions

View file

@ -1,6 +1,8 @@
#ifndef SEQUENCE_H
#define SEQUENCE_H
#include "ultra64.h"
typedef enum SeqId {
/* 0x00 */ NA_BGM_GENERAL_SFX, // General Sound Effects
/* 0x01 */ NA_BGM_NATURE_AMBIENCE, // Environmental nature background sounds
@ -323,4 +325,18 @@ typedef enum NatureAmimalId {
#define NATURE_IO_ENTRIES_END 0xFF
// functions in sequence.c
void Audio_StartSequence(u8 seqPlayerIndex, u8 seqId, u8 seqArgs, u16 fadeInDuration);
void Audio_StopSequence(u8 seqPlayerIndex, u16 fadeOutDuration);
void Audio_QueueSeqCmd(u32 cmd);
void Audio_ProcessSeqCmds(void);
u16 Audio_GetActiveSeqId(u8 seqPlayerIndex);
s32 Audio_IsSeqCmdNotQueued(u32 cmdVal, u32 cmdMask);
void Audio_SetVolumeScale(u8 seqPlayerIndex, u8 scaleIndex, u8 targetVol, u8 volFadeTimer);
void Audio_UpdateActiveSequences(void);
u8 func_800FAD34(void);
void Audio_ResetActiveSequences(void);
void Audio_ResetActiveSequencesAndVolume(void);
#endif