mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-30 00:30:38 +00:00
Cvar fixups...
This commit is contained in:
parent
e98edd5f5f
commit
a45cefb3e0
20 changed files with 5 additions and 461 deletions
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue