mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: update voice
This commit is contained in:
parent
2b9e050f57
commit
9242a0a510
@ -22,6 +22,7 @@ GNU General Public License for more details.
|
|||||||
#include "vgui_draw.h"
|
#include "vgui_draw.h"
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
#include "vid_common.h"
|
#include "vid_common.h"
|
||||||
|
#include "voice.h"
|
||||||
|
|
||||||
#define MAX_TOTAL_CMDS 32
|
#define MAX_TOTAL_CMDS 32
|
||||||
#define MAX_CMD_BUFFER 8000
|
#define MAX_CMD_BUFFER 8000
|
||||||
|
@ -286,9 +286,6 @@ qboolean V_PreRender( void )
|
|||||||
if( !ref.initialized )
|
if( !ref.initialized )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if( host.status == HOST_NOFOCUS )
|
|
||||||
return false;
|
|
||||||
|
|
||||||
if( host.status == HOST_SLEEP )
|
if( host.status == HOST_SLEEP )
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include "soundlib/soundlib.h"
|
#include "soundlib/soundlib.h"
|
||||||
#include "library.h"
|
#include "library.h"
|
||||||
|
|
||||||
#define SAMPLES_PER_SEC ( SOUND_48k / BYTES_PER_SAMPLE )
|
|
||||||
|
|
||||||
extern convar_t voice_scale;
|
extern convar_t voice_scale;
|
||||||
|
|
||||||
typedef struct voice_state_s
|
typedef struct voice_state_s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user