1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/game/shared/voice_common.h

28 lines
604 B
C
Raw Normal View History

2013-06-27 06:22:04 +08:00
//========= 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