lowmemory: cut up netgraph buffers

This commit is contained in:
Alibek Omarov 2019-11-02 08:54:08 +03:00
parent 90038d2924
commit 2062e55c6a

View File

@ -16,7 +16,11 @@ GNU General Public License for more details.
#include "common.h" #include "common.h"
#include "client.h" #include "client.h"
#if XASH_LOW_MEMORY
#define NET_TIMINGS 1024 #define NET_TIMINGS 1024
#else
#define NET_TIMINGS 64
#endif
#define NET_TIMINGS_MASK (NET_TIMINGS - 1) #define NET_TIMINGS_MASK (NET_TIMINGS - 1)
#define LATENCY_AVG_FRAC 0.5f #define LATENCY_AVG_FRAC 0.5f
#define FRAMERATE_AVG_FRAC 0.5f #define FRAMERATE_AVG_FRAC 0.5f