
option expr32
option casemap:none

IFNDEF	qcommon_inc
qcommon_inc	EQU		1

; Begin of file ..\..\qcommon\qcommon.h
	INCLUDE	q_shared.inc

QCOMMON		TEXTEQU		<>
VERSION		TEXTEQU		<1.02>
GAME_NAME		TEXTEQU		<"Sin">
SCREEN_SHOT_NAME		TEXTEQU		<"sin">
ACTIVISION_CDROM_DIR		TEXTEQU		<"\\setup\\data">
ACTIVISION_CDROM_EXE		TEXTEQU		<"\\setup\\data\\sin.exe">
ID_CDROM_EXE		TEXTEQU		<"\\sin.exe">
BUILDSTRING		TEXTEQU		<"Win32 RELEASE">
@t_AMD2_14		TYPEDEF		PTR BYTE
@tag_AMD2_sizebuf_s		STRUCT 1t
allowoverflow		qboolean		?
overflowed		qboolean		?
data		@t_AMD2_14		?
maxsize		SDWORD		?
cursize		SDWORD		?
readcount		SDWORD		?
@tag_AMD2_sizebuf_s		ENDS

sizebuf_t		TYPEDEF		@tag_AMD2_sizebuf_s

@proto_AMD2_77		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR BYTE, :SDWORD
SZ_Init		PROTO		@proto_AMD2_77

@proto_AMD2_78		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
SZ_Clear		PROTO		@proto_AMD2_78

@proto_AMD2_79		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :SDWORD
SZ_GetSpace		PROTO		@proto_AMD2_79

@proto_AMD2_80		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR , :SDWORD
SZ_Write		PROTO		@proto_AMD2_80

@proto_AMD2_81		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR SBYTE
SZ_Print		PROTO		@proto_AMD2_81

@proto_AMD2_82		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :SDWORD
MSG_WriteChar		PROTO		@proto_AMD2_82

@proto_AMD2_83		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :SDWORD
MSG_WriteByte		PROTO		@proto_AMD2_83

@proto_AMD2_84		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :SDWORD
MSG_WriteShort		PROTO		@proto_AMD2_84

@proto_AMD2_85		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :SDWORD
MSG_WriteLong		PROTO		@proto_AMD2_85

@proto_AMD2_86		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :REAL4
MSG_WriteFloat		PROTO		@proto_AMD2_86

@proto_AMD2_87		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR SBYTE
MSG_WriteString		PROTO		@proto_AMD2_87

@proto_AMD2_88		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :REAL4
MSG_WriteCoord		PROTO		@proto_AMD2_88

@proto_AMD2_89		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR REAL4
MSG_WritePos		PROTO		@proto_AMD2_89

@proto_AMD2_90		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :REAL4
MSG_WriteAngle		PROTO		@proto_AMD2_90

@proto_AMD2_91		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :REAL4
MSG_WriteAngle16		PROTO		@proto_AMD2_91

@proto_AMD2_92		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR @tag_AMD2_usercmd_s, :PTR @tag_AMD2_usercmd_s
MSG_WriteDeltaUsercmd		PROTO		@proto_AMD2_92

@proto_AMD2_93		TYPEDEF		PROTO STDCALL :PTR @tag_AMD2_entity_state_s, :PTR @tag_AMD2_entity_state_s, :PTR sizebuf_t, :qboolean, :qboolean
MSG_WriteDeltaEntity		PROTO		@proto_AMD2_93

@proto_AMD2_94		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR REAL4
MSG_WriteDir		PROTO		@proto_AMD2_94

@proto_AMD2_95		TYPEDEF		PROTO STDCALL :PTR console_state_t, :PTR console_state_t, :PTR console_buffer_state_t, :PTR sizebuf_t, :qboolean, :PTR SDWORD, :qboolean
MSG_WriteDeltaConsole		PROTO		@proto_AMD2_95

@proto_AMD2_96		TYPEDEF		PROTO STDCALL :PTR console_state_t, :PTR console_state_t, :PTR sizebuf_t, :qboolean, :PTR SBYTE
MSG_WriteDeltaConsoleForDemo		PROTO		@proto_AMD2_96

@proto_AMD2_97		TYPEDEF		PROTO STDCALL :PTR surface_state_t, :PTR surface_state_t, :PTR sizebuf_t, :qboolean
MSG_WriteDeltaSurface		PROTO		@proto_AMD2_97

@proto_AMD2_98		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_BeginReading		PROTO		@proto_AMD2_98

@proto_AMD2_99		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadChar		PROTO		@proto_AMD2_99

@proto_AMD2_100		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadByte		PROTO		@proto_AMD2_100

@proto_AMD2_101		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadShort		PROTO		@proto_AMD2_101

@proto_AMD2_102		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadLong		PROTO		@proto_AMD2_102

@proto_AMD2_103		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadFloat		PROTO		@proto_AMD2_103

@proto_AMD2_104		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadString		PROTO		@proto_AMD2_104

@proto_AMD2_105		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadStringLine		PROTO		@proto_AMD2_105

@proto_AMD2_106		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadCoord		PROTO		@proto_AMD2_106

@proto_AMD2_107		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR REAL4
MSG_ReadPos		PROTO		@proto_AMD2_107

@proto_AMD2_108		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadAngle		PROTO		@proto_AMD2_108

@proto_AMD2_109		TYPEDEF		PROTO STDCALL :PTR sizebuf_t
MSG_ReadAngle16		PROTO		@proto_AMD2_109

@proto_AMD2_110		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR @tag_AMD2_usercmd_s, :PTR @tag_AMD2_usercmd_s
MSG_ReadDeltaUsercmd		PROTO		@proto_AMD2_110

@proto_AMD2_111		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR REAL4
MSG_ReadDir		PROTO		@proto_AMD2_111

@proto_AMD2_112		TYPEDEF		PROTO STDCALL :PTR sizebuf_t, :PTR , :SDWORD
MSG_ReadData		PROTO		@proto_AMD2_112

EXTERNDEF		C bigendien:qboolean

@proto_AMD2_113		TYPEDEF		PROTO STDCALL 
COM_Argc		PROTO		@proto_AMD2_113

@proto_AMD2_114		TYPEDEF		PROTO STDCALL :SDWORD
COM_Argv		PROTO		@proto_AMD2_114

@proto_AMD2_115		TYPEDEF		PROTO STDCALL :SDWORD
COM_ClearArgv		PROTO		@proto_AMD2_115

@proto_AMD2_116		TYPEDEF		PROTO STDCALL :PTR SBYTE
COM_CheckParm		PROTO		@proto_AMD2_116

@proto_AMD2_117		TYPEDEF		PROTO STDCALL :PTR SBYTE
COM_AddParm		PROTO		@proto_AMD2_117

@proto_AMD2_118		TYPEDEF		PROTO STDCALL 
COM_Init		PROTO		@proto_AMD2_118

@proto_AMD2_119		TYPEDEF		PROTO STDCALL :SDWORD, :PTR PTR SBYTE
COM_InitArgv		PROTO		@proto_AMD2_119

@proto_AMD2_120		TYPEDEF		PROTO STDCALL :PTR SBYTE
CopyString		PROTO		@proto_AMD2_120

@proto_AMD2_121		TYPEDEF		PROTO STDCALL :PTR SBYTE
Info_Print		PROTO		@proto_AMD2_121

PROTOCOL_VERSION		EQU		          4o
PROTOCOL_VERSION_2015		EQU		115t
PORT_MASTER		EQU		22440t
PORT_CLIENT		EQU		22441t
PORT_SERVER		EQU		22450t
UPDATE_BACKUP		EQU		16t
UPDATE_MASK		EQU		00000000fh
svc_bad		EQU		0t
svc_muzzleflash		EQU		1t
svc_muzzleflash2		EQU		2t
svc_temp_entity		EQU		3t
svc_layout		EQU		4t
svc_inventory		EQU		5t
svc_console_command		EQU		6t
svc_nop		EQU		7t
svc_disconnect		EQU		8t
svc_reconnect		EQU		9t
svc_sound		EQU		10t
svc_print		EQU		11t
svc_stufftext		EQU		12t
svc_serverdata		EQU		13t
svc_configstring		EQU		14t
svc_spawnbaseline		EQU		15t
svc_centerprint		EQU		16t
svc_download		EQU		17t
svc_playerinfo		EQU		18t
svc_packetentities		EQU		19t
svc_deltapacketentities		EQU		20t
svc_frame		EQU		21t
svc_consolestates		EQU		22t
svc_surfacestates		EQU		23t
svc_spawnconbaseline		EQU		24t
svc_spawnsurfbaseline		EQU		25t
svc_extradata		EQU		26t

clc_bad		EQU		0t
clc_nop		EQU		1t
clc_move		EQU		2t
clc_userinfo		EQU		3t
clc_stringcmd		EQU		4t

PS_M_TYPE		EQU		000000001h
PS_M_ORIGIN		EQU		000000002h
PS_M_VELOCITY		EQU		000000004h
PS_M_FLAGS		EQU		000000008h
PS_M_DELTA_ANGLES		EQU		000000010h
PS_M_GRAVITY		EQU		000000020h
PS_M_TIME		EQU		000000040h
PS_GUNOFFSET		EQU		000000080h
PS_BLEND		EQU		000000100h
PS_FOV		EQU		000000200h
PS_RDFLAGS		EQU		000000400h
PS_VIEWOFFSET		EQU		000000800h
PS_VIEWANGLES		EQU		000001000h
PS_MUSICMOOD		EQU		000002000h
PS_KICKANGLES		EQU		000004000h
CM_ANGLE1		EQU		000000001h
CM_ANGLE2		EQU		000000002h
CM_ANGLE3		EQU		000000004h
CM_FORWARD		EQU		000000008h
CM_SIDE		EQU		000000010h
CM_UP		EQU		000000020h
CM_BUTTONS		EQU		000000040h
CM_IMPULSE		EQU		000000080h
SND_VOLUME		EQU		000000001h
SND_ATTENUATION		EQU		000000002h
SND_POS		EQU		000000004h
SND_ENT		EQU		000000008h
SND_OFFSET		EQU		000000010h
SND_PITCH		EQU		000000020h
SND_FADE		EQU		000000040h
SND_FLAGS		EQU		000000080h
DEFAULT_SOUND_PACKET_PITCH		TEXTEQU		<1.0>
DEFAULT_SOUND_PACKET_VOLUME		TEXTEQU		<1.0>
DEFAULT_SOUND_PACKET_ATTENUATION		TEXTEQU		<1.0>
U_ORIGIN1		EQU		000000001h
U_ORIGIN2		EQU		000000002h
U_ANGLE2		EQU		000000004h
U_ANGLE3		EQU		000000008h
U_FRAME8		EQU		000000010h
U_GUNANIMFRAME		EQU		000000020h
U_REMOVE		EQU		000000040h
U_MOREBITS1		EQU		000000080h
U_NUMBER16		EQU		000000100h
U_ORIGIN3		EQU		000000200h
U_ANGLE1		EQU		000000400h
U_MODEL		EQU		000000800h
U_PREVFRAME		EQU		000001000h
U_MODELGROUPS		EQU		000002000h
U_SCALE		EQU		000004000h
U_MOREBITS2		EQU		000008000h
U_SKIN8		EQU		000010000h
U_FRAME16		EQU		000020000h
U_RENDERFX16		EQU		000040000h
U_EFFECTS		EQU		000080000h
U_GUNMODEL		EQU		000100000h
U_MODEL_16		EQU		000200000h
U_GUNMODEL_16		EQU		000400000h
U_MOREBITS3		EQU		000800000h
U_OLDORIGIN		EQU		001000000h
U_SKIN16		EQU		002000000h
U_SOUND		EQU		004000000h
U_SOLID		EQU		008000000h
U_BONE		EQU		010000000h
U_ALPHA		EQU		020000000h
U_COLOR		EQU		040000000h
U_LIGHTOFS		EQU		080000000h
C_CREATECONSOLE		EQU		000000001h
C_LAYOUT		EQU		000000002h
C_VIRTUAL_WIDTH		EQU		000000004h
C_VIRTUAL_HEIGHT		EQU		000000008h
C_FRACTION		EQU		000000010h
C_MENUFILE		EQU		000000020h
C_LAYOUTFILE		EQU		000000040h
C_FOCUS		EQU		000000080h
C_ROWS		EQU		000000100h
C_COLUMNS		EQU		000000200h
C_CONPRINT		EQU		000000400h
C_ACTIVE		EQU		000000800h
C_MENUACTIVE		EQU		000001000h
C_COLOR		EQU		000002000h
C_CLEARCONSOLE		EQU		000004000h
C_TYPE		EQU		000008000h
C_NAME		EQU		000010000h
C_STATUSBAR_INIT		EQU		000020000h
C_STATUSBAR_VALUE		EQU		000040000h
C_LINERET		EQU		000080000h
C_LINEPOS		EQU		000100000h
C_LINENEG		EQU		000200000h
C_MENUINFO		EQU		000400000h
S_TRANS_MAG		EQU		000000001h
S_TRANS_ANGLE		EQU		000000002h
S_TRANS_STATE		EQU		000000004h
S_TRANSLUCENCE		EQU		000000008h
S_MAGNITUDE		EQU		000000010h
S_FREQUENCY		EQU		000000020h
S_DAMAGE_FRAME		EQU		000000040h
EXEC_NOW		EQU		0t
EXEC_INSERT		EQU		1t
EXEC_APPEND		EQU		2t
@proto_AMD2_122		TYPEDEF		PROTO STDCALL 
Cbuf_Init		PROTO		@proto_AMD2_122

@proto_AMD2_123		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cbuf_AddText		PROTO		@proto_AMD2_123

@proto_AMD2_124		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cbuf_InsertText		PROTO		@proto_AMD2_124

@proto_AMD2_125		TYPEDEF		PROTO STDCALL :SDWORD, :PTR SBYTE
Cbuf_ExecuteText		PROTO		@proto_AMD2_125

@proto_AMD2_126		TYPEDEF		PROTO STDCALL :qboolean
Cbuf_AddEarlyCommands		PROTO		@proto_AMD2_126

@proto_AMD2_127		TYPEDEF		PROTO STDCALL 
Cbuf_AddLateCommands		PROTO		@proto_AMD2_127

@proto_AMD2_128		TYPEDEF		PROTO STDCALL 
Cbuf_Execute		PROTO		@proto_AMD2_128

@proto_AMD2_129		TYPEDEF		PROTO STDCALL 
Cbuf_CopyToDefer		PROTO		@proto_AMD2_129

@proto_AMD2_130		TYPEDEF		PROTO STDCALL 
Cbuf_InsertFromDefer		PROTO		@proto_AMD2_130

@proto_AMD2_131		TYPEDEF		PROTO STDCALL 
xcommand_t		TYPEDEF		PTR @proto_AMD2_131

@proto_AMD2_132		TYPEDEF		PROTO STDCALL 
Cmd_Init		PROTO		@proto_AMD2_132

@proto_AMD2_133		TYPEDEF		PROTO STDCALL :PTR SBYTE, :xcommand_t
Cmd_AddCommand		PROTO		@proto_AMD2_133

@proto_AMD2_134		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cmd_RemoveCommand		PROTO		@proto_AMD2_134

@proto_AMD2_135		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cmd_Exists		PROTO		@proto_AMD2_135

@proto_AMD2_136		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cmd_CompleteCommand		PROTO		@proto_AMD2_136

@proto_AMD2_137		TYPEDEF		PROTO STDCALL 
Cmd_Argc		PROTO		@proto_AMD2_137

@proto_AMD2_138		TYPEDEF		PROTO STDCALL :SDWORD
Cmd_Argv		PROTO		@proto_AMD2_138

@proto_AMD2_139		TYPEDEF		PROTO STDCALL 
Cmd_Args		PROTO		@proto_AMD2_139

@proto_AMD2_140		TYPEDEF		PROTO STDCALL :PTR SBYTE, :qboolean
Cmd_TokenizeString		PROTO		@proto_AMD2_140

@proto_AMD2_141		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cmd_ExecuteString		PROTO		@proto_AMD2_141

@proto_AMD2_142		TYPEDEF		PROTO STDCALL 
Cmd_ForwardToServer		PROTO		@proto_AMD2_142

EXTERNDEF		C cvar_vars:PTR cvar_t

@proto_AMD2_143		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR SBYTE, :SDWORD
Cvar_Get		PROTO		@proto_AMD2_143

@proto_AMD2_144		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR SBYTE
Cvar_Set		PROTO		@proto_AMD2_144

@proto_AMD2_145		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR SBYTE
Cvar_ForceSet		PROTO		@proto_AMD2_145

@proto_AMD2_146		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR SBYTE, :SDWORD
Cvar_FullSet		PROTO		@proto_AMD2_146

@proto_AMD2_147		TYPEDEF		PROTO STDCALL :PTR SBYTE, :REAL4
Cvar_SetValue		PROTO		@proto_AMD2_147

@proto_AMD2_148		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cvar_VariableValue		PROTO		@proto_AMD2_148

@proto_AMD2_149		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cvar_VariableString		PROTO		@proto_AMD2_149

@proto_AMD2_150		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cvar_CompleteVariable		PROTO		@proto_AMD2_150

@proto_AMD2_151		TYPEDEF		PROTO STDCALL 
Cvar_GetLatchedVars		PROTO		@proto_AMD2_151

@proto_AMD2_152		TYPEDEF		PROTO STDCALL 
Cvar_Command		PROTO		@proto_AMD2_152

@proto_AMD2_153		TYPEDEF		PROTO STDCALL :PTR SBYTE
Cvar_WriteVariables		PROTO		@proto_AMD2_153

@proto_AMD2_154		TYPEDEF		PROTO STDCALL 
Cvar_Init		PROTO		@proto_AMD2_154

@proto_AMD2_155		TYPEDEF		PROTO STDCALL 
Cvar_Userinfo		PROTO		@proto_AMD2_155

@proto_AMD2_156		TYPEDEF		PROTO STDCALL 
Cvar_Serverinfo		PROTO		@proto_AMD2_156

EXTERNDEF		C userinfo_modified:qboolean

PORT_ANY		EQU		-1t
MAX_MSGLEN		EQU		1400t
PACKET_HEADER		EQU		10t
NA_LOOPBACK		EQU		0t
NA_BROADCAST		EQU		1t
NA_IP		EQU		2t
NA_IPX		EQU		3t
NA_BROADCAST_IPX		EQU		4t

netadrtype_t		TYPEDEF		SDWORD

NS_CLIENT		EQU		0t
NS_SERVER		EQU		1t

netsrc_t		TYPEDEF		SDWORD

@tag_AMD2_19		STRUCT 1t
AMD_type		netadrtype_t		?
ip		BYTE		4t DUP (?)
ipx		BYTE		10t DUP (?)
port		WORD		?
@tag_AMD2_19		ENDS

netadr_t		TYPEDEF		@tag_AMD2_19

@proto_AMD2_157		TYPEDEF		PROTO STDCALL 
NET_Init		PROTO		@proto_AMD2_157

@proto_AMD2_158		TYPEDEF		PROTO STDCALL 
NET_Shutdown		PROTO		@proto_AMD2_158

@proto_AMD2_159		TYPEDEF		PROTO STDCALL :qboolean
NET_Config		PROTO		@proto_AMD2_159

@proto_AMD2_160		TYPEDEF		PROTO STDCALL :netsrc_t, :PTR netadr_t, :PTR sizebuf_t
NET_GetPacket		PROTO		@proto_AMD2_160

@proto_AMD2_161		TYPEDEF		PROTO STDCALL :netsrc_t, :SDWORD, :PTR , :netadr_t
NET_SendPacket		PROTO		@proto_AMD2_161

@proto_AMD2_162		TYPEDEF		PROTO STDCALL :netadr_t, :netadr_t
NET_CompareAdr		PROTO		@proto_AMD2_162

@proto_AMD2_163		TYPEDEF		PROTO STDCALL :netadr_t, :netadr_t
NET_CompareBaseAdr		PROTO		@proto_AMD2_163

@proto_AMD2_164		TYPEDEF		PROTO STDCALL :netadr_t
NET_IsLocalAddress		PROTO		@proto_AMD2_164

@proto_AMD2_165		TYPEDEF		PROTO STDCALL :netadr_t
NET_AdrToString		PROTO		@proto_AMD2_165

@proto_AMD2_166		TYPEDEF		PROTO STDCALL :netadr_t
NET_BaseAdrToString		PROTO		@proto_AMD2_166

@proto_AMD2_167		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR netadr_t
NET_StringToAdr		PROTO		@proto_AMD2_167

@proto_AMD2_168		TYPEDEF		PROTO STDCALL :SDWORD
NET_Sleep		PROTO		@proto_AMD2_168

OLD_AVG		TEXTEQU		<0.99>
MAX_LATENT		EQU		32t
@tag_AMD2_20		STRUCT 1t
fatal_error		qboolean		?
sock		netsrc_t		?
dropped		SDWORD		?
last_received		SDWORD		?
last_sent		SDWORD		?
remote_address		netadr_t		<>
qport		SDWORD		?
incoming_sequence		SDWORD		?
incoming_acknowledged		SDWORD		?
incoming_reliable_acknowledged		SDWORD		?
incoming_reliable_sequence		SDWORD		?
outgoing_sequence		SDWORD		?
reliable_sequence		SDWORD		?
last_reliable_sequence		SDWORD		?
message		sizebuf_t		<>
message_buf		BYTE		2784t DUP (?)
reliable_length		SDWORD		?
reliable_buf		BYTE		2784t DUP (?)
@tag_AMD2_20		ENDS

netchan_t		TYPEDEF		@tag_AMD2_20

EXTERNDEF		C net_from:netadr_t

EXTERNDEF		C net_message:sizebuf_t

EXTERNDEF		C net_message_buffer:BYTE

@proto_AMD2_169		TYPEDEF		PROTO STDCALL 
Netchan_Init		PROTO		@proto_AMD2_169

@proto_AMD2_170		TYPEDEF		PROTO STDCALL :netsrc_t, :PTR netchan_t, :netadr_t, :SDWORD
Netchan_Setup		PROTO		@proto_AMD2_170

@proto_AMD2_171		TYPEDEF		PROTO STDCALL :PTR netchan_t
Netchan_NeedReliable		PROTO		@proto_AMD2_171

@proto_AMD2_172		TYPEDEF		PROTO STDCALL :PTR netchan_t, :SDWORD, :PTR BYTE
Netchan_Transmit		PROTO		@proto_AMD2_172

@proto_AMD2_173		TYPEDEF		PROTO STDCALL :SDWORD, :netadr_t, :SDWORD, :PTR BYTE
Netchan_OutOfBand		PROTO		@proto_AMD2_173

@proto_AMD2_174		TYPEDEF		PROTO STDCALL :PTR netchan_t, :PTR sizebuf_t
Netchan_Process		PROTO		@proto_AMD2_174

@proto_AMD2_175		TYPEDEF		PROTO STDCALL :PTR netchan_t
Netchan_CanReliable		PROTO		@proto_AMD2_175

	INCLUDE	qfiles.inc

@proto_AMD2_176		TYPEDEF		PROTO STDCALL :PTR SBYTE, :qboolean, :PTR DWORD
CM_LoadMap		PROTO		@proto_AMD2_176

@proto_AMD2_177		TYPEDEF		PROTO STDCALL :PTR SBYTE
CM_InlineModel		PROTO		@proto_AMD2_177

@proto_AMD2_178		TYPEDEF		PROTO STDCALL 
CM_NumClusters		PROTO		@proto_AMD2_178

@proto_AMD2_179		TYPEDEF		PROTO STDCALL 
CM_NumInlineModels		PROTO		@proto_AMD2_179

@proto_AMD2_180		TYPEDEF		PROTO STDCALL 
CM_EntityString		PROTO		@proto_AMD2_180

@proto_AMD2_181		TYPEDEF		PROTO STDCALL 
CM_Surfinfos		PROTO		@proto_AMD2_181

@proto_AMD2_182		TYPEDEF		PROTO STDCALL 
CM_NumSurfinfos		PROTO		@proto_AMD2_182

@proto_AMD2_183		TYPEDEF		PROTO STDCALL :PTR REAL4, :PTR REAL4
CM_HeadnodeForBox		PROTO		@proto_AMD2_183

@proto_AMD2_184		TYPEDEF		PROTO STDCALL :PTR REAL4, :SDWORD
CM_PointContents		PROTO		@proto_AMD2_184

@proto_AMD2_185		TYPEDEF		PROTO STDCALL :PTR REAL4, :SDWORD, :PTR REAL4, :PTR REAL4
CM_TransformedPointContents		PROTO		@proto_AMD2_185

@proto_AMD2_186		TYPEDEF		PROTO STDCALL :PTR REAL4, :PTR REAL4, :PTR REAL4, :PTR REAL4, :SDWORD, :SDWORD
CM_BoxTrace		PROTO		@proto_AMD2_186

@proto_AMD2_187		TYPEDEF		PROTO STDCALL :PTR REAL4, :PTR REAL4, :PTR REAL4, :PTR REAL4, :SDWORD, :SDWORD, :PTR REAL4, :PTR REAL4
CM_TransformedBoxTrace		PROTO		@proto_AMD2_187

@proto_AMD2_188		TYPEDEF		PROTO STDCALL :SDWORD
CM_ClusterPVS		PROTO		@proto_AMD2_188

@proto_AMD2_189		TYPEDEF		PROTO STDCALL :SDWORD
CM_ClusterPHS		PROTO		@proto_AMD2_189

@proto_AMD2_190		TYPEDEF		PROTO STDCALL :PTR REAL4
CM_PointLeafnum		PROTO		@proto_AMD2_190

@proto_AMD2_191		TYPEDEF		PROTO STDCALL :PTR REAL4, :PTR REAL4, :PTR SDWORD, :SDWORD, :PTR SDWORD
CM_BoxLeafnums		PROTO		@proto_AMD2_191

@proto_AMD2_192		TYPEDEF		PROTO STDCALL :SDWORD
CM_LeafContents		PROTO		@proto_AMD2_192

@proto_AMD2_193		TYPEDEF		PROTO STDCALL :SDWORD
CM_LeafCluster		PROTO		@proto_AMD2_193

@proto_AMD2_194		TYPEDEF		PROTO STDCALL :SDWORD
CM_LeafArea		PROTO		@proto_AMD2_194

@proto_AMD2_195		TYPEDEF		PROTO STDCALL :SDWORD, :qboolean
CM_SetAreaPortalState		PROTO		@proto_AMD2_195

@proto_AMD2_196		TYPEDEF		PROTO STDCALL :SDWORD, :SDWORD
CM_AreasConnected		PROTO		@proto_AMD2_196

@proto_AMD2_197		TYPEDEF		PROTO STDCALL :PTR pmove_t
Pmove		PROTO		@proto_AMD2_197

@proto_AMD2_198		TYPEDEF		PROTO STDCALL 
FS_InitPlayerdir		PROTO		@proto_AMD2_198

@proto_AMD2_199		TYPEDEF		PROTO STDCALL 
FS_RelativePlayerdir		PROTO		@proto_AMD2_199

@proto_AMD2_200		TYPEDEF		PROTO STDCALL 
FS_Playerdir		PROTO		@proto_AMD2_200

@proto_AMD2_201		TYPEDEF		PROTO STDCALL 
FS_CDdir		PROTO		@proto_AMD2_201

@proto_AMD2_202		TYPEDEF		PROTO STDCALL 
FS_InitFilesystem		PROTO		@proto_AMD2_202

@proto_AMD2_203		TYPEDEF		PROTO STDCALL :PTR SBYTE
FS_SetGamedir		PROTO		@proto_AMD2_203

@proto_AMD2_204		TYPEDEF		PROTO STDCALL 
FS_Gamedir		PROTO		@proto_AMD2_204

@proto_AMD2_205		TYPEDEF		PROTO STDCALL :PTR SBYTE
FS_NextPath		PROTO		@proto_AMD2_205

@proto_AMD2_206		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR SBYTE
FS_CopyFile		PROTO		@proto_AMD2_206

@proto_AMD2_207		TYPEDEF		PROTO STDCALL :PTR SBYTE, :PTR SBYTE, :PTR SDWORD
FS_FindFiles		PROTO		@proto_AMD2_207

@proto_AMD2_208		TYPEDEF		PROTO STDCALL :PTR PTR SBYTE, :SDWORD
FS_FreeList		PROTO		@proto_AMD2_208

@proto_AMD2_209		TYPEDEF		PROTO STDCALL :PTR SBYTE
FS_CreatePath		PROTO		@proto_AMD2_209

@proto_AMD2_210		TYPEDEF		PROTO STDCALL :PTR SBYTE
FS_AddTempPath		PROTO		@proto_AMD2_210

@proto_AMD2_211		TYPEDEF		PROTO STDCALL 
FS_GetTempPath		PROTO		@proto_AMD2_211

ERR_QUIT		EQU		2t
@proto_AMD2_212		TYPEDEF		PROTO STDCALL :SDWORD, :PTR SBYTE, :SDWORD, :PTR 
Com_BeginRedirect		PROTO		@proto_AMD2_212

@proto_AMD2_213		TYPEDEF		PROTO STDCALL 
Com_EndRedirect		PROTO		@proto_AMD2_213

@proto_AMD2_214		TYPEDEF		PROTO STDCALL 
frand		PROTO		@proto_AMD2_214

@proto_AMD2_215		TYPEDEF		PROTO STDCALL 
crand		PROTO		@proto_AMD2_215

EXTERNDEF		C developer:PTR cvar_t

EXTERNDEF		C dedicated:PTR cvar_t

EXTERNDEF		C host_speeds:PTR cvar_t

EXTERNDEF		C log_stats:PTR cvar_t

EXTERNDEF		C fps:PTR cvar_t

EXTERNDEF		C surface_debug:PTR cvar_t

EXTERNDEF		C console_debug:PTR cvar_t

EXTERNDEF		C sindemo:PTR cvar_t

EXTERNDEF		C timescale:PTR cvar_t

EXTERNDEF		C timescalenopitch:PTR cvar_t

EXTERNDEF		C game2015:PTR cvar_t

EXTERNDEF		C time_before_game:SDWORD

EXTERNDEF		C time_after_game:SDWORD

EXTERNDEF		C time_before_ref:SDWORD

EXTERNDEF		C time_after_ref:SDWORD

@proto_AMD2_216		TYPEDEF		PROTO STDCALL :PTR 
Z_Free		PROTO		@proto_AMD2_216

@proto_AMD2_217		TYPEDEF		PROTO STDCALL :SDWORD
Z_Malloc		PROTO		@proto_AMD2_217

@proto_AMD2_218		TYPEDEF		PROTO STDCALL :SDWORD, :SDWORD
Z_TagMalloc		PROTO		@proto_AMD2_218

@proto_AMD2_219		TYPEDEF		PROTO STDCALL :SDWORD
Z_FreeTags		PROTO		@proto_AMD2_219

@proto_AMD2_220		TYPEDEF		PROTO STDCALL :SDWORD, :PTR PTR SBYTE
Qcommon_Init		PROTO		@proto_AMD2_220

@proto_AMD2_221		TYPEDEF		PROTO STDCALL :SDWORD
Qcommon_Frame		PROTO		@proto_AMD2_221

@proto_AMD2_222		TYPEDEF		PROTO STDCALL 
Qcommon_Shutdown		PROTO		@proto_AMD2_222

NUMVERTEXNORMALS		EQU		162t
EXTERNDEF		C bytedirs:vec3_t

@proto_AMD2_223		TYPEDEF		PROTO STDCALL :REAL4, :SDWORD
SCR_DebugGraph		PROTO		@proto_AMD2_223

@proto_AMD2_224		TYPEDEF		PROTO STDCALL :PTR SBYTE
SCR_CenterPrint		PROTO		@proto_AMD2_224

@proto_AMD2_225		TYPEDEF		PROTO STDCALL 
Sys_Init		PROTO		@proto_AMD2_225

@proto_AMD2_226		TYPEDEF		PROTO STDCALL 
Sys_AppActivate		PROTO		@proto_AMD2_226

@proto_AMD2_227		TYPEDEF		PROTO STDCALL 
Sys_UnloadGame		PROTO		@proto_AMD2_227

@proto_AMD2_228		TYPEDEF		PROTO STDCALL :PTR 
Sys_GetGameAPI		PROTO		@proto_AMD2_228

@proto_AMD2_229		TYPEDEF		PROTO STDCALL 
Sys_ConsoleInput		PROTO		@proto_AMD2_229

@proto_AMD2_230		TYPEDEF		PROTO STDCALL :PTR SBYTE
Sys_ConsoleOutput		PROTO		@proto_AMD2_230

@proto_AMD2_231		TYPEDEF		PROTO STDCALL 
Sys_SendKeyEvents		PROTO		@proto_AMD2_231

@proto_AMD2_232		TYPEDEF		PROTO STDCALL 
Sys_Quit		PROTO		@proto_AMD2_232

@proto_AMD2_233		TYPEDEF		PROTO STDCALL 
Sys_GetClipboardData		PROTO		@proto_AMD2_233

@proto_AMD2_234		TYPEDEF		PROTO STDCALL 
Sys_CopyProtect		PROTO		@proto_AMD2_234

@proto_AMD2_235		TYPEDEF		PROTO STDCALL 
CL_Init		PROTO		@proto_AMD2_235

@proto_AMD2_236		TYPEDEF		PROTO STDCALL 
CL_Drop		PROTO		@proto_AMD2_236

@proto_AMD2_237		TYPEDEF		PROTO STDCALL 
CL_Shutdown		PROTO		@proto_AMD2_237

@proto_AMD2_238		TYPEDEF		PROTO STDCALL :SDWORD
CL_Frame		PROTO		@proto_AMD2_238

@proto_AMD2_239		TYPEDEF		PROTO STDCALL :PTR SBYTE
Con_Print		PROTO		@proto_AMD2_239

@proto_AMD2_240		TYPEDEF		PROTO STDCALL 
SCR_BeginLoadingPlaque		PROTO		@proto_AMD2_240

@proto_AMD2_241		TYPEDEF		PROTO STDCALL 
SV_Init		PROTO		@proto_AMD2_241

@proto_AMD2_242		TYPEDEF		PROTO STDCALL :PTR SBYTE, :qboolean
SV_Shutdown		PROTO		@proto_AMD2_242

@proto_AMD2_243		TYPEDEF		PROTO STDCALL :SDWORD
SV_Frame		PROTO		@proto_AMD2_243

; End of file ..\..\qcommon\qcommon.h

ENDIF

