summaryrefslogtreecommitdiff
path: root/game/shared/voice_common.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/shared/voice_common.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/shared/voice_common.h')
-rw-r--r--game/shared/voice_common.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/game/shared/voice_common.h b/game/shared/voice_common.h
new file mode 100644
index 0000000..86511e9
--- /dev/null
+++ b/game/shared/voice_common.h
@@ -0,0 +1,27 @@
+//========= 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