turn d_sound.cpp into class BS2Sound

svn-id: r9280
This commit is contained in:
Jonathan Gray 2003-07-29 12:34:46 +00:00
parent 11aa36ff90
commit f1a6025aa2
12 changed files with 249 additions and 218 deletions

View file

@ -412,7 +412,6 @@ int32 FN_reset_globals(int32 *params) //Tony29May97
// This function just quits the game if this is the playable demo, ie. credits are NOT played in the demo any more!
extern uint8 quitGame; // From sword2.cpp
extern void UpdateCompSampleStreaming(void); // From d_sound.c
int32 FN_play_credits(int32 *params)
{
@ -431,7 +430,7 @@ int32 FN_play_credits(int32 *params)
StopMusic(); // Stop any streaming music
for (int i = 0; i<16; i++)
UpdateCompSampleStreaming(); // And wait for it to die
g_bs2->_sound->UpdateCompSampleStreaming(); // And wait for it to die
GetDrawStatus (&ds);
GetSoundStatus(&ss);