hl2_src-leak-2017/src/game/shared/voice_common.h

28 lines
577 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