/* mst_defs.h common definitions for hexenworld master server $Id: defs.h,v 1.30 2007/07/11 16:47:16 sezero Exp $ */ #ifndef __HWMASTER_DEFS #define __HWMASTER_DEFS //============================================================================= // Defines #define __STRINGIFY(x) #x #define STRINGIFY(x) __STRINGIFY(x) #define VER_HWMASTER_MAJ 1 #define VER_HWMASTER_MID 2 #define VER_HWMASTER_MIN 4 #define VER_HWMASTER_STR STRINGIFY(VER_HWMASTER_MAJ) "." STRINGIFY(VER_HWMASTER_MID) "." STRINGIFY(VER_HWMASTER_MIN) #define HWM_USERDIR ".hwmaster" /* user directory for unix */ #define MAX_OSPATH 256 /* max length of a filesystem pathname */ #define MAX_NUM_ARGVS 50 #define MAX_MSGLEN 1450 // max length of a reliable message #define MAX_DATAGRAM 1450 // max length of unreliable message //============================================================================= // Includes #include "compiler.h" #include "arch_def.h" #include "q_types.h" #include #include #if !defined(PLATFORM_WINDOWS) #include /* strcasecmp and strncasecmp */ #endif /* ! PLATFORM_WINDOWS */ #include #include #include "q_endian.h" #include "sizebuf.h" #include "msg_io.h" #include "protocol.h" #include "common.h" #include "cmd.h" #include "net.h" #include "sys.h" #include "server.h" //============================================================================= // Globals extern char com_token[1024]; extern int com_argc; extern char **com_argv; #endif /* __HWMASTER_DEFS */