This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

26 lines
581 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