mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- make things compile again.
Let's hope it still works...
This commit is contained in:
parent
082fcfeef0
commit
8730ce552b
17 changed files with 41 additions and 378 deletions
|
@ -1131,7 +1131,7 @@ SoundStartup(void)
|
|||
//snd_enabled = TRUE;
|
||||
|
||||
|
||||
int status = FX_Init(NumVoices, NumChannels, MixRate, initdata);
|
||||
int status = FX_Init(snd_numvoices, snd_numchannels, snd_mixrate, initdata);
|
||||
if (status != FX_Ok)
|
||||
{
|
||||
buildprintf("Sound error: %s\n", FX_ErrorString(status));
|
||||
|
@ -1199,11 +1199,11 @@ void MusicStartup(void)
|
|||
}
|
||||
|
||||
MusicInitialized = TRUE;
|
||||
MUSIC_SetVolume(gs.MusicVolume);
|
||||
MUSIC_SetVolume(mus_volume);
|
||||
|
||||
auto fil = kopenFileReader("swtimbr.tmb", 0);
|
||||
|
||||
if (fil.isOpem())
|
||||
if (fil.isOpen())
|
||||
{
|
||||
auto tmb = fil.Read();
|
||||
if (tmb.Size())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue