From c068f22329d5cc722622a2183bbb22eef2093df7 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 24 Aug 2026 11:16:07 +0200 Subject: initial import --- src/libparsec/include/net_conf.h | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/libparsec/include/net_conf.h (limited to 'src/libparsec/include/net_conf.h') diff --git a/src/libparsec/include/net_conf.h b/src/libparsec/include/net_conf.h new file mode 100644 index 0000000..1bdb37b --- /dev/null +++ b/src/libparsec/include/net_conf.h @@ -0,0 +1,48 @@ +/* + * PARSEC HEADER: net_conf.h + */ + +#ifndef _NET_CONF_H_ +#define _NET_CONF_H_ + +#ifdef PARSEC_SERVER + + // flags + #define INTERPOLATE_PLAYER_ACTIONS + #define SEND_KILL_MESSAGES + //#define NO_PROJECTILE_KILL_MESSAGES + //#define DONT_SEND_EXTRA_CREATES + #define ENABLE_PACKET_RECORDING + #define ENABLE_PACKET_SWAPPING + //#define ENABLE_PACKETDROP_TESTING + //#define ENCRYPT_PACKETS + + #ifdef DONT_SEND_EXTRA_CREATES + #define DSEXC(x) x + #else + #define DSEXC(x) + #endif + +#else // !PARSEC_SERVER + + // flags + #define INTERPOLATE_PLAYER_ACTIONS + #define SEND_KILL_MESSAGES + #define NO_PROJECTILE_KILL_MESSAGES + //#define DONT_SEND_EXTRA_CREATES + #define ENABLE_PACKET_RECORDING + #define ENABLE_PACKET_SWAPPING + #define ENABLE_PACKETDROP_TESTING + //#define ENCRYPT_PACKETS + + #ifdef DONT_SEND_EXTRA_CREATES + #define DSEXC(x) x + #else + #define DSEXC(x) + #endif + +#endif // !PARSEC_SERVER + +#endif // _NET_CONF_H_ + + -- cgit v1.2.3