Removed NET_SERVER_BUILD macro- it's been usused for years.

This commit is contained in:
Knightmare66 2020-04-30 12:13:47 -04:00
parent 65b0c2281e
commit a097e077ad
3 changed files with 2 additions and 23 deletions

View file

@ -922,17 +922,9 @@ void Con_DrawConsole (float frac, qboolean trans)
// changed to "KMQuake2 vx.xx"
#ifdef ERASER_COMPAT_BUILD
#ifdef NET_SERVER_BUILD
Com_sprintf (version, sizeof(version), S_COLOR_BOLD S_COLOR_SHADOW S_COLOR_ALT"KMQuake2 v%4.2f (Eraser net server)", VERSION);
#else // NET_SERVER_BUILD
Com_sprintf (version, sizeof(version), S_COLOR_BOLD S_COLOR_SHADOW S_COLOR_ALT"KMQuake2 v%4.2f (Eraser compatible)", VERSION);
#endif // NET_SERVER_BUILD
#else // ERASER_COMPAT_BUILD
#ifdef NET_SERVER_BUILD
Com_sprintf (version, sizeof(version), S_COLOR_BOLD S_COLOR_SHADOW S_COLOR_ALT"KMQuake2 v%4.2f (net server)", VERSION);
#else
Com_sprintf (version, sizeof(version), S_COLOR_BOLD S_COLOR_SHADOW S_COLOR_ALT"KMQuake2 v%4.2f", VERSION);
#endif // ERASER_COMPAT_BUILD
#endif // NEW_ENTITY_STATE_MEMBERS
Con_DrawString ((int)(conLeft+conWidth)-FONT_SIZE*(stringLen((const char *)&version))-3, y-(int)(1.25*FONT_SIZE), version, 255);

View file

@ -607,15 +607,10 @@ NET
#define PORT_ANY -1
//Knightmare- increase max message size to eliminate SZ_Getspace: Overflow
//Mark Shan is just gonna love this!!
#ifndef NET_SERVER_BUILD
// Knightmare- increase max message size to eliminate SZ_Getspace: Overflow
#define MAX_MSGLEN 44800
#else
#define MAX_MSGLEN 2800
#endif
#define MAX_MSGLEN_MP 2800
//end Knightmare
// end Knightmare
#define PACKET_HEADER 10 // two ints and a short

View file

@ -31,17 +31,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define CONSOLE_WINDOW_CLASS_NAME "KMQ2 Console"
#ifdef ERASER_COMPAT_BUILD
#ifdef NET_SERVER_BUILD
#define CONSOLE_WINDOW_NAME "KMQuake2 Console (Eraser net server)"
#else // NET_SERVER_BUILD
#define CONSOLE_WINDOW_NAME "KMQuake2 Console (Eraser Compatible)"
#endif // NET_SERVER_BUILD
#else // ERASER_COMPAT_BUILD
#ifdef NET_SERVER_BUILD
#define CONSOLE_WINDOW_NAME "KMQuake2 Console (net server)"
#else
#define CONSOLE_WINDOW_NAME "KMQuake2 Console"
#endif // NET_SERVER_BUILD
#endif // ERASER_COMPAT_BUILD
#define MAX_OUTPUT 131072 // increased from 32768