Skip to content

Commit

Permalink
player sound functions
Browse files Browse the repository at this point in the history
  • Loading branch information
SquareMan committed Jul 11, 2024
1 parent 6dbfe97 commit c2d2a4b
Show file tree
Hide file tree
Showing 6 changed files with 955 additions and 24 deletions.
1 change: 0 additions & 1 deletion src/SB/Core/x/xCutscene.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ struct xEnt;
extern U32 gFrameCount;

void xCutscene_Init(void* toc);
F32 xlog(F32 f);
xCutscene* xCutscene_CurrentCutscene();
void xCutscene_Render(xCutscene* csn, xEnt**, S32*, F32*);
U32 iCSFileOpen(xCutscene* csn);
Expand Down
2 changes: 2 additions & 0 deletions src/SB/Core/x/xMath.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ struct xFuncPiece
xFuncPiece* next;
};

F32 xlog(F32 f);

void xMathInit();
void xMathExit();
F32 xatof(const char* x);
Expand Down
1 change: 1 addition & 0 deletions src/SB/Core/x/xSnd.h
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ U32 xSndPlayInternal(U32 id, F32 vol, F32 pitch, U32 priority, U32 flags,
U32 parentID, xEnt* parentEnt, const xVec3* pos, F32 innerRadius,
F32 outerRadius, sound_category category, F32 delay);
void xSndStartStereo(U32 id1, U32 id2, F32 pitch);
U8 xSndIsPlayingByHandle(U32 sndID);
U32 xSndIDIsPlaying(U32 sndID);
void xSndStop(U32 snd);
void xSndParentDied(U32 pid);
Expand Down
Loading

0 comments on commit c2d2a4b

Please sign in to comment.