Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

qcommon.h File Reference

#include "../qcommon/cm_public.h"

Include dependency graph for qcommon.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  field_t
struct  huff_t
struct  huffman_t
struct  msg_t
struct  netadr_t
struct  netchan_t
struct  nodetype
struct  sysEvent_t

Defines

#define AUTHORIZE_SERVER_NAME   "authorize.quake3arena.com"
#define BASEGAME   "baseq3"
#define CL_DECODE_START   4
#define CL_ENCODE_START   12
#define CPUID_AMD_3DNOW   0x30
#define CPUID_AXP   0x10
#define CPUID_GENERIC   0
#define CPUID_INTEL_KATMAI   0x23
#define CPUID_INTEL_MMX   0x22
#define CPUID_INTEL_PENTIUM   0x21
#define CPUID_INTEL_UNSUPPORTED   0x20
#define FS_CGAME_REF   0x04
#define FS_GENERAL_REF   0x01
#define FS_QAGAME_REF   0x08
#define FS_UI_REF   0x02
#define HMAX   256
#define INTERNAL_NODE   (HMAX+1)
#define MASTER_SERVER_NAME   "master.quake3arena.com"
#define MAX_DOWNLOAD_BLKSIZE   2048
#define MAX_DOWNLOAD_WINDOW   8
#define MAX_EDIT_LINE   256
#define MAX_FILE_HANDLES   64
#define MAX_MSGLEN   16384
#define MAX_PACKET_USERCMDS   32
#define MAX_RELIABLE_COMMANDS   64
#define MAXPRINTMSG   4096
#define NUM_ID_PAKS   9
#define NUM_SERVER_PORTS   4
#define NYT   HMAX
#define PACKET_BACKUP   32
#define PACKET_MASK   (PACKET_BACKUP-1)
#define PORT_ANY   -1
#define PORT_AUTHORIZE   27952
#define PORT_MASTER   27950
#define PORT_SERVER   27960
#define PORT_UPDATE   27951
#define PROTOCOL_VERSION   68
#define Q_vsnprintf   vsnprintf
#define SV_DECODE_START   12
#define SV_ENCODE_START   4
#define UPDATE_SERVER_NAME   "update.quake3arena.com"

Typedefs

typedef nodetype node_t
typedef vm_s vm_t
typedef void(* xcommand_t )(void)

Enumerations

enum  clc_ops_e {
  clc_bad, clc_nop, clc_move, clc_moveNoDelta,
  clc_clientCommand, clc_EOF
}
enum  joystickAxis_t {
  AXIS_SIDE, AXIS_FORWARD, AXIS_UP, AXIS_ROLL,
  AXIS_YAW, AXIS_PITCH, MAX_JOYSTICK_AXIS
}
enum  memtag_t {
  TAG_FREE, TAG_GENERAL, TAG_BOTLIB, TAG_RENDERER,
  TAG_SMALL, TAG_STATIC
}
enum  netadrtype_t {
  NA_BOT, NA_BAD, NA_LOOPBACK, NA_BROADCAST,
  NA_IP, NA_IPX, NA_BROADCAST_IPX
}
enum  netsrc_t { NS_CLIENT, NS_SERVER }
enum  sharedTraps_t {
  TRAP_MEMSET = 100, TRAP_MEMCPY, TRAP_STRNCPY, TRAP_SIN,
  TRAP_COS, TRAP_ATAN2, TRAP_SQRT, TRAP_MATRIXMULTIPLY,
  TRAP_ANGLEVECTORS, TRAP_PERPENDICULARVECTOR, TRAP_FLOOR, TRAP_CEIL,
  TRAP_TESTPRINTINT, TRAP_TESTPRINTFLOAT
}
enum  svc_ops_e {
  svc_bad, svc_nop, svc_gamestate, svc_configstring,
  svc_baseline, svc_serverCommand, svc_download, svc_snapshot,
  svc_EOF
}
enum  sysEventType_t {
  SE_NONE = 0, SE_KEY, SE_CHAR, SE_MOUSE,
  SE_JOYSTICK_AXIS, SE_CONSOLE, SE_PACKET
}
enum  vmInterpret_t { VMI_NATIVE, VMI_BYTECODE, VMI_COMPILED }

Functions

void Cbuf_AddText (const char *text)
void Cbuf_Execute (void)
void Cbuf_ExecuteText (int exec_when, const char *text)
void Cbuf_Init (void)
void CL_CDDialog (void)
void CL_CharEvent (int key)
void CL_ConsolePrint (char *text)
void CL_Disconnect (qboolean showMainMenu)
void CL_FlushMemory (void)
void CL_ForwardCommandToServer (const char *string)
void CL_Frame (int msec)
qboolean CL_GameCommand (void)
void CL_Init (void)
void CL_InitKeyCommands (void)
void CL_JoystickEvent (int axis, int value, int time)
void CL_KeyEvent (int key, qboolean down, unsigned time)
void CL_MapLoading (void)
void CL_MouseEvent (int dx, int dy, int time)
void CL_PacketEvent (netadr_t from, msg_t *msg)
void CL_Shutdown (void)
void CL_ShutdownAll (void)
void CL_StartHunkUsers (void)
void Cmd_AddCommand (const char *cmd_name, xcommand_t function)
int Cmd_Argc (void)
char * Cmd_Args (void)
void Cmd_ArgsBuffer (char *buffer, int bufferLength)
char * Cmd_ArgsFrom (int arg)
char * Cmd_Argv (int arg)
void Cmd_ArgvBuffer (int arg, char *buffer, int bufferLength)
char * Cmd_Cmd (void)
void Cmd_CommandCompletion (void(*callback)(const char *s))
void Cmd_ExecuteString (const char *text)
void Cmd_Init (void)
void Cmd_RemoveCommand (const char *cmd_name)
void Cmd_TokenizeString (const char *text)
void Com_BeginRedirect (char *buffer, int buffersize, void(*flush)(char *))
unsigned Com_BlockChecksum (const void *buffer, int length)
unsigned Com_BlockChecksumKey (void *buffer, int length, int key)
void QDECL Com_DPrintf (const char *fmt,...)
void Com_EndRedirect (void)
void QDECL Com_Error (int code, const char *fmt,...)
int Com_EventLoop (void)
int Com_Filter (char *filter, char *name, int casesensitive)
int Com_FilterPath (char *filter, char *name, int casesensitive)
void Com_Frame (void)
int Com_HashKey (char *string, int maxlen)
void Com_Init (char *commandLine)
int Com_Milliseconds (void)
void QDECL Com_Printf (const char *fmt,...)
void Com_Quit_f (void)
int Com_RealTime (qtime_t *qtime)
qboolean Com_SafeMode (void)
void Com_Shutdown (void)
void Com_StartupVariable (const char *match)
void Com_TouchMemory (void)
char * CopyString (const char *in)
qboolean Cvar_Command (void)
void Cvar_CommandCompletion (void(*callback)(const char *s))
cvar_tCvar_Get (const char *var_name, const char *value, int flags)
char * Cvar_InfoString (int bit)
char * Cvar_InfoString_Big (int bit)
void Cvar_InfoStringBuffer (int bit, char *buff, int buffsize)
void Cvar_Init (void)
void Cvar_Register (vmCvar_t *vmCvar, const char *varName, const char *defaultValue, int flags)
void Cvar_Reset (const char *var_name)
void Cvar_Restart_f (void)
void Cvar_Set (const char *var_name, const char *value)
void Cvar_SetCheatState (void)
void Cvar_SetLatched (const char *var_name, const char *value)
void Cvar_SetValue (const char *var_name, float value)
void Cvar_Update (vmCvar_t *vmCvar)
int Cvar_VariableIntegerValue (const char *var_name)
char * Cvar_VariableString (const char *var_name)
void Cvar_VariableStringBuffer (const char *var_name, char *buffer, int bufsize)
float Cvar_VariableValue (const char *var_name)
void Cvar_WriteVariables (fileHandle_t f)
void Field_Clear (field_t *edit)
void Field_CompleteCommand (field_t *edit)
void FS_ClearPakReferences (int flags)
qboolean FS_ComparePaks (char *neededpaks, int len, qboolean dlstring)
qboolean FS_ConditionalRestart (int checksumFeed)
void FS_FCloseFile (fileHandle_t f)
qboolean FS_FileExists (const char *file)
int FS_FileIsInPAK (const char *filename, int *pChecksum)
int FS_filelength (fileHandle_t f)
qboolean FS_FilenameCompare (const char *s1, const char *s2)
void FS_Flush (fileHandle_t f)
int FS_FOpenFileByMode (const char *qpath, fileHandle_t *f, fsMode_t mode)
int FS_FOpenFileRead (const char *qpath, fileHandle_t *file, qboolean uniqueFILE)
fileHandle_t FS_FOpenFileWrite (const char *qpath)
void FS_ForceFlush (fileHandle_t f)
void FS_FreeFile (void *buffer)
void FS_FreeFileList (char **list)
int FS_FTell (fileHandle_t f)
const char * FS_GamePureChecksum (void)
int FS_GetFileList (const char *path, const char *extension, char *listbuf, int bufsize)
int FS_GetModList (char *listbuf, int bufsize)
qboolean FS_idPak (char *pak, char *base)
void FS_InitFilesystem (void)
qboolean FS_Initialized ()
char ** FS_ListFiles (const char *directory, const char *extension, int *numfiles)
const char * FS_LoadedPakChecksums (void)
const char * FS_LoadedPakNames (void)
const char * FS_LoadedPakPureChecksums (void)
int FS_LoadStack ()
void QDECL FS_Printf (fileHandle_t f, const char *fmt,...)
void FS_PureServerSetLoadedPaks (const char *pakSums, const char *pakNames)
void FS_PureServerSetReferencedPaks (const char *pakSums, const char *pakNames)
int FS_Read (void *buffer, int len, fileHandle_t f)
int FS_Read2 (void *buffer, int len, fileHandle_t f)
int FS_ReadFile (const char *qpath, void **buffer)
const char * FS_ReferencedPakChecksums (void)
const char * FS_ReferencedPakNames (void)
const char * FS_ReferencedPakPureChecksums (void)
void FS_Rename (const char *from, const char *to)
void FS_Restart (int checksumFeed)
int FS_Seek (fileHandle_t f, long offset, int origin)
void FS_Shutdown (qboolean closemfp)
int FS_SV_FOpenFileRead (const char *filename, fileHandle_t *fp)
fileHandle_t FS_SV_FOpenFileWrite (const char *filename)
void FS_SV_Rename (const char *from, const char *to)
int FS_Write (const void *buffer, int len, fileHandle_t f)
void FS_WriteFile (const char *qpath, const void *buffer, int size)
void Huff_addRef (huff_t *huff, byte ch)
void Huff_Compress (msg_t *buf, int offset)
void Huff_Decompress (msg_t *buf, int offset)
int Huff_getBit (byte *fout, int *offset)
void Huff_Init (huffman_t *huff)
void Huff_offsetReceive (node_t *node, int *ch, byte *fin, int *offset)
void Huff_offsetTransmit (huff_t *huff, int ch, byte *fout, int *offset)
void Huff_putBit (int bit, byte *fout, int *offset)
int Huff_Receive (node_t *node, int *ch, byte *fin)
void Huff_transmit (huff_t *huff, int ch, byte *fout)
void * Hunk_AllocateTempMemory (int size)
qboolean Hunk_CheckMark (void)
void Hunk_Clear (void)
void Hunk_ClearTempMemory (void)
void Hunk_ClearToMark (void)
void Hunk_FreeTempMemory (void *buf)
void Hunk_Log (void)
int Hunk_MemoryRemaining (void)
void Hunk_SetMark (void)
void Hunk_Trash (void)
void Info_Print (const char *s)
void Key_WriteBindings (fileHandle_t f)
void MSG_BeginReading (msg_t *sb)
void MSG_BeginReadingOOB (msg_t *sb)
void MSG_Bitstream (msg_t *buf)
void MSG_Clear (msg_t *buf)
void MSG_Copy (msg_t *buf, byte *data, int length, msg_t *src)
void MSG_Init (msg_t *buf, byte *data, int length)
void MSG_InitOOB (msg_t *buf, byte *data, int length)
float MSG_ReadAngle16 (msg_t *sb)
char * MSG_ReadBigString (msg_t *sb)
int MSG_ReadBits (msg_t *msg, int bits)
int MSG_ReadByte (msg_t *sb)
int MSG_ReadChar (msg_t *sb)
void MSG_ReadData (msg_t *sb, void *buffer, int size)
void MSG_ReadDeltaEntity (msg_t *msg, entityState_t *from, entityState_t *to, int number)
void MSG_ReadDeltaPlayerstate (msg_t *msg, struct playerState_s *from, struct playerState_s *to)
void MSG_ReadDeltaUsercmd (msg_t *msg, struct usercmd_s *from, struct usercmd_s *to)
void MSG_ReadDeltaUsercmdKey (msg_t *msg, int key, usercmd_t *from, usercmd_t *to)
float MSG_ReadFloat (msg_t *sb)
int MSG_ReadLong (msg_t *sb)
int MSG_ReadShort (msg_t *sb)
char * MSG_ReadString (msg_t *sb)
char * MSG_ReadStringLine (msg_t *sb)
void MSG_ReportChangeVectors_f (void)
void MSG_WriteAngle16 (msg_t *sb, float f)
void MSG_WriteBigString (msg_t *sb, const char *s)
void MSG_WriteBits (msg_t *msg, int value, int bits)
void MSG_WriteByte (msg_t *sb, int c)
void MSG_WriteChar (msg_t *sb, int c)
void MSG_WriteData (msg_t *buf, const void *data, int length)
void MSG_WriteDeltaEntity (msg_t *msg, struct entityState_s *from, struct entityState_s *to, qboolean force)
void MSG_WriteDeltaPlayerstate (msg_t *msg, struct playerState_s *from, struct playerState_s *to)
void MSG_WriteDeltaUsercmd (msg_t *msg, struct usercmd_s *from, struct usercmd_s *to)
void MSG_WriteDeltaUsercmdKey (msg_t *msg, int key, usercmd_t *from, usercmd_t *to)
void MSG_WriteFloat (msg_t *sb, float f)
void MSG_WriteLong (msg_t *sb, int c)
void MSG_WriteShort (msg_t *sb, int c)
void MSG_WriteString (msg_t *sb, const char *s)
const char * NET_AdrToString (netadr_t a)
qboolean NET_CompareAdr (netadr_t a, netadr_t b)
qboolean NET_CompareBaseAdr (netadr_t a, netadr_t b)
void NET_Config (qboolean enableNetworking)
qboolean NET_GetLoopPacket (netsrc_t sock, netadr_t *net_from, msg_t *net_message)
void NET_Init (void)
qboolean NET_IsLocalAddress (netadr_t adr)
void QDECL NET_OutOfBandData (netsrc_t sock, netadr_t adr, byte *format, int len)
void QDECL NET_OutOfBandPrint (netsrc_t net_socket, netadr_t adr, const char *format,...)
void NET_Restart (void)
void NET_SendPacket (netsrc_t sock, int length, const void *data, netadr_t to)
void NET_Shutdown (void)
void NET_Sleep (int msec)
qboolean NET_StringToAdr (const char *s, netadr_t *a)
void Netchan_Init (int qport)
qboolean Netchan_Process (netchan_t *chan, msg_t *msg)
void Netchan_Setup (netsrc_t sock, netchan_t *chan, netadr_t adr, int qport)
void Netchan_Transmit (netchan_t *chan, int length, const byte *data)
void Netchan_TransmitNextFragment (netchan_t *chan)
void S_ClearSoundBuffer (void)
void * S_Malloc (int size)
void SCR_DebugGraph (float value, int color)
void SV_Frame (int msec)
qboolean SV_GameCommand (void)
void SV_Init (void)
void SV_PacketEvent (netadr_t from, msg_t *msg)
void SV_Shutdown (char *finalmsg)
void Sys_BeginProfiling (void)
void Sys_BeginStreamedFile (fileHandle_t f, int readahead)
qboolean Sys_CheckCD (void)
char * Sys_Cwd (void)
char * Sys_DefaultCDPath (void)
char * Sys_DefaultHomePath (void)
char * Sys_DefaultInstallPath (void)
void Sys_DisplaySystemConsole (qboolean show)
void Sys_EndProfiling (void)
void Sys_EndStreamedFile (fileHandle_t f)
void QDECL Sys_Error (const char *error,...)
void Sys_FreeFileList (char **list)
void * Sys_GetBotLibAPI (void *parms)
void * Sys_GetCGameAPI (void)
char * Sys_GetClipboardData (void)
char * Sys_GetCurrentUser (void)
sysEvent_t Sys_GetEvent (void)
void * Sys_GetGameAPI (void *parms)
int Sys_GetProcessorId (void)
void * Sys_GetUIAPI (void)
void Sys_Init (void)
qboolean Sys_IsLANAddress (netadr_t adr)
char ** Sys_ListFiles (const char *directory, const char *extension, char *filter, int *numfiles, qboolean wantsubs)
void *QDECL Sys_LoadDll (const char *name, char *fqpath, int(QDECL **entryPoint)(int,...), int(QDECL *systemcalls)(int,...))
qboolean Sys_LowPhysicalMemory ()
int Sys_Milliseconds (void)
void Sys_Mkdir (const char *path)
int Sys_MonkeyShouldBeSpanked (void)
void Sys_Print (const char *msg)
unsigned int Sys_ProcessorCount ()
void Sys_Quit (void)
void Sys_SendPacket (int length, const void *data, netadr_t to)
void Sys_SetDefaultCDPath (const char *path)
void Sys_SetDefaultHomePath (const char *path)
void Sys_SetDefaultInstallPath (const char *path)
void Sys_SetErrorText (const char *text)
void Sys_ShowConsole (int level, qboolean quitOnClose)
void Sys_ShowIP (void)
void Sys_SnapVector (float *v)
int Sys_StreamedRead (void *buffer, int size, int count, fileHandle_t f)
void Sys_StreamSeek (fileHandle_t f, int offset, int origin)
qboolean Sys_StringToAdr (const char *s, netadr_t *a)
void Sys_UnloadBotLib (void)
void Sys_UnloadCGame (void)
void Sys_UnloadDll (void *dllHandle)
void Sys_UnloadGame (void)
void Sys_UnloadUI (void)
qboolean UI_GameCommand (void)
qboolean UI_usesUniqueCDKey ()
void * VM_ArgPtr (int intValue)
int QDECL VM_Call (vm_t *vm, int callNum,...)
void VM_Clear (void)
vm_tVM_Create (const char *module, int(*systemCalls)(int *), vmInterpret_t interpret)
void VM_Debug (int level)
void * VM_ExplicitArgPtr (vm_t *vm, int intValue)
void VM_Free (vm_t *vm)
void VM_Init (void)
vm_tVM_Restart (vm_t *vm)
int Z_AvailableMemory (void)
void Z_Free (void *ptr)
void Z_FreeTags (int tag)
void Z_LogHeap (void)
void * Z_Malloc (int size)
void * Z_TagMalloc (int size, int tag)

Variables

char cl_cdkey [34]
cvar_tcl_paused
huffman_t clientHuffTables
cvar_tcom_blood
cvar_tcom_buildScript
cvar_tcom_cameraMode
cvar_tcom_cl_running
cvar_tcom_dedicated
cvar_tcom_developer
qboolean com_errorEntered
int com_frameMsec
int com_frameTime
cvar_tcom_journal
fileHandle_t com_journalDataFile
fileHandle_t com_journalFile
cvar_tcom_speeds
cvar_tcom_sv_running
cvar_tcom_timescale
cvar_tcom_version
cvar_tcom_viewlog
int cvar_modifiedFlags
int demo_protocols []
cvar_tsv_paused
int time_backend
int time_frontend
int time_game


Define Documentation

#define AUTHORIZE_SERVER_NAME   "authorize.quake3arena.com"
 

Definition at line 235 of file qcommon.h.

Referenced by CL_RequestAuthorization(), SV_Ban_f(), SV_BanNum_f(), and SV_GetChallenge().

#define BASEGAME   "baseq3"
 

Definition at line 517 of file qcommon.h.

Referenced by FS_InitFilesystem(), FS_ReferencedPakChecksums(), FS_ReferencedPakNames(), FS_Restart(), FS_Startup(), and SV_GetChallenge().

#define CL_DECODE_START   4
 

Definition at line 1065 of file qcommon.h.

#define CL_ENCODE_START   12
 

Definition at line 1064 of file qcommon.h.

#define CPUID_AMD_3DNOW   0x30
 

Definition at line 686 of file qcommon.h.

Referenced by Sys_Init().

#define CPUID_AXP   0x10
 

Definition at line 679 of file qcommon.h.

Referenced by Sys_Init().

#define CPUID_GENERIC   0
 

Definition at line 677 of file qcommon.h.

Referenced by Sys_Init().

#define CPUID_INTEL_KATMAI   0x23
 

Definition at line 684 of file qcommon.h.

Referenced by Sys_Init().

#define CPUID_INTEL_MMX   0x22
 

Definition at line 683 of file qcommon.h.

Referenced by Sys_Init().

#define CPUID_INTEL_PENTIUM   0x21
 

Definition at line 682 of file qcommon.h.

Referenced by Sys_Init().

#define CPUID_INTEL_UNSUPPORTED   0x20
 

Definition at line 681 of file qcommon.h.

Referenced by Sys_Init().

#define FS_CGAME_REF   0x04
 

Definition at line 510 of file qcommon.h.

Referenced by CL_Vid_Restart_f(), and FS_ReferencedPakPureChecksums().

#define FS_GENERAL_REF   0x01
 

Definition at line 508 of file qcommon.h.

#define FS_QAGAME_REF   0x08
 

Definition at line 511 of file qcommon.h.

#define FS_UI_REF   0x02
 

Definition at line 509 of file qcommon.h.

Referenced by CL_Vid_Restart_f().

#define HMAX   256
 

Definition at line 1028 of file qcommon.h.

#define INTERNAL_NODE   (HMAX+1)
 

Definition at line 1018 of file qcommon.h.

#define MASTER_SERVER_NAME   "master.quake3arena.com"
 

Definition at line 232 of file qcommon.h.

Referenced by CL_GlobalServers_f(), and SV_Init().

#define MAX_DOWNLOAD_BLKSIZE   2048
 

Definition at line 173 of file qcommon.h.

Referenced by SV_WriteDownloadToClient().

#define MAX_DOWNLOAD_WINDOW   8
 

Definition at line 172 of file qcommon.h.

Referenced by SV_WriteDownloadToClient().

#define MAX_EDIT_LINE   256
 

Definition at line 643 of file qcommon.h.

#define MAX_FILE_HANDLES   64
 

Definition at line 515 of file qcommon.h.

#define MAX_MSGLEN   16384
 

Definition at line 169 of file qcommon.h.

Referenced by main(), and NET_OutOfBandData().

#define MAX_PACKET_USERCMDS   32
 

Definition at line 121 of file qcommon.h.

#define MAX_RELIABLE_COMMANDS   64
 

Definition at line 125 of file qcommon.h.

Referenced by CL_AddReliableCommand(), CL_ChangeReliableCommand(), CL_GetServerCommand(), CL_Netchan_Decode(), CL_Netchan_Encode(), CL_ParseCommandString(), CL_WritePacket(), SV_AddServerCommand(), SV_BotGetConsoleMessage(), SV_Netchan_Decode(), SV_ReplacePendingServerCommands(), SV_UpdateServerCommandsToClient(), and SV_UserMove().

#define MAXPRINTMSG   4096
 

Definition at line 690 of file qcommon.h.

#define NUM_ID_PAKS   9
 

Definition at line 513 of file qcommon.h.

#define NUM_SERVER_PORTS   4
 

Definition at line 244 of file qcommon.h.

#define NYT   HMAX
 

Definition at line 1017 of file qcommon.h.

Referenced by Huff_transmit().

#define PACKET_BACKUP   32
 

Definition at line 117 of file qcommon.h.

Referenced by CL_ParseSnapshot(), SV_ChangeMaxClients(), SV_Startup(), and SV_WriteSnapshotToClient().

#define PACKET_MASK   (PACKET_BACKUP-1)
 

Definition at line 119 of file qcommon.h.

#define PORT_ANY   -1
 

Definition at line 123 of file qcommon.h.

#define PORT_AUTHORIZE   27952
 

Definition at line 241 of file qcommon.h.

Referenced by CL_RequestAuthorization(), SV_Ban_f(), SV_BanNum_f(), and SV_GetChallenge().

#define PORT_MASTER   27950
 

Definition at line 238 of file qcommon.h.

Referenced by CL_GlobalServers_f(), and SV_MasterHeartbeat().

#define PORT_SERVER   27960
 

Definition at line 243 of file qcommon.h.

Referenced by CL_Connect_f(), CL_LocalServers_f(), CL_Rcon_f(), NET_OpenIP(), NET_OpenIPX(), and NET_StringToAdr().

#define PORT_UPDATE   27951
 

Definition at line 239 of file qcommon.h.

Referenced by CL_RequestMotd().

#define PROTOCOL_VERSION   68
 

Definition at line 222 of file qcommon.h.

Referenced by CL_CheckForResend(), CL_Record_f(), FS_FOpenFileRead(), SV_DirectConnect(), SV_Init(), and SVC_Info().

#define Q_vsnprintf   vsnprintf
 

Definition at line 669 of file qcommon.h.

Referenced by CL_RefPrintf(), Com_DPrintf(), Com_Printf(), FS_Printf(), and SV_SendServerCommand().

#define SV_DECODE_START   12
 

Definition at line 1063 of file qcommon.h.