Skip to content

Commit

Permalink
progress
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed Feb 4, 2024
1 parent 31566ed commit f12e487
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 22 deletions.
4 changes: 2 additions & 2 deletions decompile/General/HOWL/h107_Music_SetIntro.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ void DECOMP_Music_SetIntro(void)

while(DECOMP_Bank_AssignSpuAddrs() == 0) {}

DECOMP_howl_SetSong(28);
howl_SetSong(28);

while(DECOMP_howl_loadSong() == 0) {}
while(howl_LoadSong() == 0) {}
}
4 changes: 2 additions & 2 deletions decompile/General/HOWL/h109_Music_AsyncParseBanks.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,13 @@ u_int DECOMP_Music_AsyncParseBanks(void)

else break;

DECOMP_howl_SetSong(index);
howl_SetSong(index);
break;

// Finish Level Song Bank
case 4:

if (DECOMP_howl_loadSong() == 0)
if (howl_LoadSong() == 0)
goto PARSE_FINISH;

// go to next stage
Expand Down
2 changes: 1 addition & 1 deletion decompile/General/HOWL/h36_howl_LoadSong.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include <common.h>

// similar to h23_Bank_AssignSpuAddrs, and h34_howl_LoadHeader
int DECOMP_howl_loadSong()
int DECOMP_howl_LoadSong()
{
int ret;

Expand Down
2 changes: 1 addition & 1 deletion ghidra/HOWL.c
Original file line number Diff line number Diff line change
Expand Up @@ -2013,7 +2013,7 @@ undefined4 FUN_80029c40(uint param_1)
}


//howl_loadSong
//howl_LoadSong
uint FUN_80029ca4(void)

{
Expand Down
17 changes: 1 addition & 16 deletions include/functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,10 +268,7 @@ void CseqMusic_StopAll();

// howl

//howl_InstrumentPitch()
void howl_InitGlobals(char* howlFilepath);
//howl_ParseHeader()
//howl_ParseCseqHeader()

//howl_LoadHeader()
//howl_SetSong()
//howl_LoadSong()
Expand Down Expand Up @@ -329,10 +326,6 @@ void CseqMusic_StopAll();

// not even the last of howl

short howl_VolumeGet(int volumeType);
void howl_VolumeSet(int volumeType, unsigned char volume);
char howl_ModeGet();
void howl_ModeSet(char volumeMode);

// OptionsMenu...

Expand Down Expand Up @@ -362,14 +355,6 @@ void CseqMusic_StopAll();

// this is the last of ho- got em

void howl_PlayAudio_Update();
void howl_InitChannelAttr_EngineFX(struct ChannelStats* channel, struct ChannelAttr* attr, int volume, int LR, int distortion);
void howl_InitChannelAttr_OtherFX(char* ptrCseq, struct ChannelAttr* attr, int volume, int param_4, int distortion);
void howl_PauseAudio();
//howl_UnPauseChannel()
void howl_UnPauseAudio();
void howl_StopAudio(int clearBackupStats, int bool_DestroyMusic, int bool_DestroyAllSFX);

// Voiceline

//Voiceline_PoolInit()
Expand Down

0 comments on commit f12e487

Please sign in to comment.