Show music credit for credits

This commit is contained in:
fickleheart 2019-03-31 12:49:42 -05:00
parent cbcb288296
commit 2fbb0ca5f4
3 changed files with 7 additions and 1 deletions

View File

@ -584,6 +584,7 @@ void F_StartCredits(void)
S_StopMusic();
S_ChangeMusicInternal("credit", false);
S_ShowMusicCredit();
finalecount = 0;
animtimer = 0;
@ -644,6 +645,10 @@ void F_CreditDrawer(void)
break;
}
// draw song credits
if (cv_songcredits.value)
HU_DrawSongCredits();
if (!credits[i] && y <= 120<<FRACBITS && !finalecount)
{
timetonext = 5*TICRATE+1;

View File

@ -2235,7 +2235,7 @@ static void HU_DrawDemoInfo(void)
//
// Song credits
//
static void HU_DrawSongCredits(void)
void HU_DrawSongCredits(void)
{
char *str;
INT32 len, destx;

View File

@ -109,6 +109,7 @@ void HU_Start(void);
boolean HU_Responder(event_t *ev);
void HU_Ticker(void);
void HU_DrawSongCredits(void);
void HU_Drawer(void);
char HU_dequeueChatChar(void);
void HU_Erase(void);