Cvar fixups...

This commit is contained in:
Jeff Teunissen 2000-05-24 02:07:53 +00:00
parent e98edd5f5f
commit a45cefb3e0
20 changed files with 5 additions and 461 deletions

View file

@ -37,8 +37,6 @@
#include "cmd.h"
extern HWND mainwindow;
/* extern cvar_t bgmvolume;
CVAR_FIXME */
extern cvar_t *bgmvolume;
static qboolean cdValid = false;
@ -423,23 +421,17 @@ void CDAudio_Update(void)
if (!enabled)
return;
/* if (bgmvolume.value != cdvolume)
CVAR_FIXME */
if (bgmvolume->value != cdvolume)
{
if (cdvolume)
{
Cvar_SetValue (bgmvolume, 0.0);
/* cdvolume = bgmvolume.value;
CVAR_FIXME */
cdvolume = bgmvolume->value;
CDAudio_Pause ();
}
else
{
Cvar_SetValue (bgmvolume, 1.0);
/* cdvolume = bgmvolume.value;
CVAR_FIXME */
cdvolume = bgmvolume->value;
CDAudio_Resume ();
}