From 5e5ffec67dea33ab25dcc862e405d99a4f0e8f4f Mon Sep 17 00:00:00 2001 From: mittorn Date: Tue, 29 Oct 2019 11:35:02 +0700 Subject: [PATCH] lowmemory: tweak some protocol limits for HL1, restore bit counts (maybe even restore multiplayer compatibility) --- engine/common/protocol.h | 48 ++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 26 deletions(-) diff --git a/engine/common/protocol.h b/engine/common/protocol.h index 491f5598..fe30eaec 100644 --- a/engine/common/protocol.h +++ b/engine/common/protocol.h @@ -134,32 +134,6 @@ GNU General Public License for more details. #define MAX_LIGHTSTYLES 64 // original quake limit #define MAX_RENDER_DECALS 4096 // max rendering decals per a level -#if XASH_LOW_MEMORY == 2 -// memory reduced protocol, not for use in multiplayer -#define MAX_VISIBLE_PACKET_BITS 7 // 2048 visible entities per frame (hl1 has 256) -#define MAX_VISIBLE_PACKET (1<