diff options
Diffstat (limited to 'game/shared/voice_common.h')
| -rw-r--r-- | game/shared/voice_common.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/game/shared/voice_common.h b/game/shared/voice_common.h new file mode 100644 index 0000000..86511e9 --- /dev/null +++ b/game/shared/voice_common.h @@ -0,0 +1,27 @@ +//========= 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 |