Portable Half-Life SDK. GoldSource and Xash3D. Crossplatform.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
//========= Copyright <EFBFBD> 1996-2002, Valve LLC, All rights reserved. ============
|
|
|
|
|
//
|
|
|
|
|
// Purpose:
|
|
|
|
|
//
|
|
|
|
|
// $NoKeywords: $
|
|
|
|
|
//=============================================================================
|
|
|
|
|
|
|
|
|
|
#ifndef VOICE_COMMON_H
|
|
|
|
|
#define VOICE_COMMON_H
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "bitvec.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define VOICE_MAX_PLAYERS 32 // (todo: this should just be set to MAX_CLIENTS).
|
|
|
|
|
#define VOICE_MAX_PLAYERS_DW ((VOICE_MAX_PLAYERS / 32) + !!(VOICE_MAX_PLAYERS & 31))
|
|
|
|
|
|
|
|
|
|
typedef CBitVec<VOICE_MAX_PLAYERS> CPlayerBitVec;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif // VOICE_COMMON_H
|