mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
28 lines
604 B
C
28 lines
604 B
C
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef VOICE_COMMON_H
|
||
|
#define VOICE_COMMON_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
|
||
|
#include "bitvec.h"
|
||
|
#include "const.h"
|
||
|
|
||
|
|
||
|
#define VOICE_MAX_PLAYERS MAX_PLAYERS
|
||
|
#define VOICE_MAX_PLAYERS_DW ((VOICE_MAX_PLAYERS / 32) + !!(VOICE_MAX_PLAYERS & 31))
|
||
|
|
||
|
typedef CBitVec<VOICE_MAX_PLAYERS> CPlayerBitVec;
|
||
|
|
||
|
#define VOICE_DEFAULT_PROXIMITY_RANGE 1200 //100 feet
|
||
|
|
||
|
|
||
|
#endif // VOICE_COMMON_H
|