From 1c94bbfa4ba9816fd7dc144c9206b3cd701eb7fc Mon Sep 17 00:00:00 2001 From: xen Date: Mon, 16 Oct 2023 22:01:20 +0300 Subject: [PATCH] Update CCheckTransmitInfo (#166) --- public/const.h | 2 +- public/iservernetworkable.h | 17 +++-------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/public/const.h b/public/const.h index 859874d7..08a25603 100644 --- a/public/const.h +++ b/public/const.h @@ -58,7 +58,7 @@ #define SP_MODEL_INDEX_BITS 11 // How many bits to use to encode an edict. -#define MAX_EDICT_BITS 11 // # of bits needed to represent max edicts +#define MAX_EDICT_BITS 14 // # of bits needed to represent max edicts // Max # of edicts in a level #define MAX_EDICTS (1< *m_pTransmitEdict; // entity n is already marked for transmission + CBitVec *m_pTransmitEntity; // entity n is already marked for transmission CBitVec *m_pTransmitAlways; // entity n is always send even if not in PVS (HLTV and Replay only) - - int m_AreasNetworked; // number of networked areas - int m_Areas[MAX_WORLD_AREAS]; // the areas - - // This is used to determine visibility, so if the previous state - // is the same as the current state (along with pvs and areas networked), - // then the parts of the map that the player can see haven't changed. - byte m_AreaFloodNums[MAX_MAP_AREAS]; - int m_nMapAreas; + + // TODO: This is incomplete and may require further reversing in the future. }; //-----------------------------------------------------------------------------