mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-29 09:33:00 +00:00
28 lines
577 B
C
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
|