
option expr32
option casemap:none

IFNDEF	qfiles_inc
qfiles_inc	EQU		1

; Begin of file ..\..\..\utils\common\qfiles.h
	INCLUDE	q_shared.inc

IDALIASHEADER		EQU		032504449h
ALIAS_VERSION		EQU		8t
MAX_VERTS		EQU		2048t
MAX_FRAMES		EQU		512t
MAX_MD2SKINS		EQU		32t
MAX_SKINNAME		EQU		64t
SINBASEMODEL_HEADER		EQU		0204d4253h
SINBASEMODEL_VERSION		EQU		1t
SINANIMMODEL_HEADER		EQU		0204d4153h
SINANIMMODEL_VERSION		EQU		1t
SINDEF_HEADER		EQU		046454453h
@tag_AMD6_17		STRUCT 1t
s		REAL4		?
t		REAL4		?
@tag_AMD6_17		ENDS

dsinstvert_t		TYPEDEF		@tag_AMD6_17

@tag_AMD6_18		STRUCT 1t
index_xyz		SWORD		3t DUP (?)
index_st		SWORD		3t DUP (?)
id		SDWORD		?
@tag_AMD6_18		ENDS

dsintriangle_t		TYPEDEF		@tag_AMD6_18

@tag_AMD6_19		STRUCT 1t
id		SDWORD		?
num_tris		SDWORD		?
num_glcmds		SDWORD		?
ofs_glcmds		SDWORD		?
ofs_tris		SDWORD		?
ofs_end		SDWORD		?
@tag_AMD6_19		ENDS

dsintrigroup_t		TYPEDEF		@tag_AMD6_19

@tag_AMD6_20		STRUCT 1t
ident		SDWORD		?
version		SDWORD		?
num_xyz		SDWORD		?
num_st		SDWORD		?
num_groups		SDWORD		?
ofs_st		SDWORD		?
ofs_end		SDWORD		?
groups		dsintrigroup_t		1t DUP (<>)
@tag_AMD6_20		ENDS

dsinbasemdl_t		TYPEDEF		@tag_AMD6_20

@tag_AMD6_21		STRUCT 1t
movedelta		REAL4		3t DUP (?)
frametime		REAL4		?
scale		REAL4		3t DUP (?)
translate		REAL4		3t DUP (?)
ofs_verts		SDWORD		?
@tag_AMD6_21		ENDS

dsintriframe_t		TYPEDEF		@tag_AMD6_21

@tag_AMD6_22		STRUCT 1t
ident		SDWORD		?
version		SDWORD		?
AMD_name		SBYTE		64t DUP (?)
scale		REAL4		3t DUP (?)
translate		REAL4		3t DUP (?)
totaldelta		REAL4		3t DUP (?)
totaltime		REAL4		?
num_xyz		SDWORD		?
num_frames		SDWORD		?
ofs_frames		SDWORD		?
ofs_end		SDWORD		?
@tag_AMD6_22		ENDS

dsinanim_t		TYPEDEF		@tag_AMD6_22

MAX_ANIMDEFNAME		EQU		32t
MAX_SKINDEFNAME		EQU		32t
MAX_GROUPDEFNAME		EQU		32t
MAX_BONEDEFNAME		EQU		32t
MAX_ARGS_PER_CMD		EQU		32t
@tag_AMD6_23		STRUCT 1t
frame_num		SDWORD		?
num_args		SDWORD		?
ofs_args		SDWORD		32t DUP (?)
@tag_AMD6_23		ENDS

dsincmd_t		TYPEDEF		@tag_AMD6_23

@tag_AMD6_24		STRUCT 1t
AMD_alias		SBYTE		32t DUP (?)
weight		REAL4		?
handle		SDWORD		?
num_client_cmds		SDWORD		?
ofs_client_cmds		SDWORD		?
num_server_cmds		SDWORD		?
ofs_server_cmds		SDWORD		?
@tag_AMD6_24		ENDS

dsinanimdef_t		TYPEDEF		@tag_AMD6_24

MAX_SIN_SUB_GROUPS		EQU		8t
@tag_AMD6_25		STRUCT 1t
basegroupnum		WORD		?
flags		WORD		?
@tag_AMD6_25		ENDS

dsinsubgroup_t		TYPEDEF		@tag_AMD6_25

@tag_AMD6_26		STRUCT 1t
AMD_name		SBYTE		32t DUP (?)
damage_multiplier		REAL4		?
num_subgroups		SDWORD		?
subgroups		dsinsubgroup_t		8t DUP (<>)
@tag_AMD6_26		ENDS

dsingroup_t		TYPEDEF		@tag_AMD6_26

@tag_AMD6_27		STRUCT 1t
AMD_alias		SBYTE		32t DUP (?)
path		SBYTE		64t DUP (?)
weight		REAL4		?
@tag_AMD6_27		ENDS

dsinskin_t		TYPEDEF		@tag_AMD6_27

@tag_AMD6_28		STRUCT 1t
AMD_name		SBYTE		32t DUP (?)
basegroupindex		SDWORD		?
tri_num		SDWORD		?
orientation		vec3_t		3t DUP (?)
@tag_AMD6_28		ENDS

dbone_t		TYPEDEF		@tag_AMD6_28

@t_AMD6_14		TYPEDEF		PTR 
@tag_AMD6_29		STRUCT 1t
version		SDWORD		?
AMD_name		SBYTE		64t DUP (?)
num_skins		SDWORD		?
num_groups		SDWORD		?
num_bones		SDWORD		?
base_handle		SDWORD		?
alias_list		@t_AMD6_14		?
st_corrected		qboolean		?
num_client_initcmds		SDWORD		?
ofs_client_initcmds		SDWORD		?
num_server_initcmds		SDWORD		?
ofs_server_initcmds		SDWORD		?
ofs_skins		SDWORD		?
ofs_groups		SDWORD		?
ofs_bones		SDWORD		?
mins		vec3_t		3t DUP (?)
maxs		vec3_t		3t DUP (?)
load_scale		REAL4		?
load_origin		vec3_t		3t DUP (?)
num_anims		SDWORD		?
checksum		DWORD		?
ofs_animdefs		SDWORD		1t DUP (?)
@tag_AMD6_29		ENDS

dsinmdl_t		TYPEDEF		@tag_AMD6_29

@tag_AMD6_30		STRUCT 1t
s		SWORD		?
t		SWORD		?
@tag_AMD6_30		ENDS

dstvert_t		TYPEDEF		@tag_AMD6_30

@tag_AMD6_31		STRUCT 1t
index_xyz		SWORD		3t DUP (?)
index_st		SWORD		3t DUP (?)
@tag_AMD6_31		ENDS

dtriangle_t		TYPEDEF		@tag_AMD6_31

@tag_AMD6_32		STRUCT 1t
v		BYTE		3t DUP (?)
lightnormalindex		BYTE		?
@tag_AMD6_32		ENDS

dtrivertx_t		TYPEDEF		@tag_AMD6_32

DTRIVERTX_V0		EQU		0t
DTRIVERTX_V1		EQU		1t
DTRIVERTX_V2		EQU		2t
DTRIVERTX_LNI		EQU		3t
DTRIVERTX_SIZE		EQU		4t
@tag_AMD6_33		STRUCT 1t
scale		REAL4		3t DUP (?)
translate		REAL4		3t DUP (?)
AMD_name		SBYTE		16t DUP (?)
verts		dtrivertx_t		1t DUP (<>)
@tag_AMD6_33		ENDS

daliasframe_t		TYPEDEF		@tag_AMD6_33

@tag_AMD6_34		STRUCT 1t
ident		SDWORD		?
version		SDWORD		?
skinwidth		SDWORD		?
skinheight		SDWORD		?
framesize		SDWORD		?
num_skins		SDWORD		?
num_xyz		SDWORD		?
num_st		SDWORD		?
num_tris		SDWORD		?
num_glcmds		SDWORD		?
num_frames		SDWORD		?
ofs_skins		SDWORD		?
ofs_st		SDWORD		?
ofs_tris		SDWORD		?
ofs_frames		SDWORD		?
ofs_glcmds		SDWORD		?
ofs_end		SDWORD		?
@tag_AMD6_34		ENDS

dmdl_t		TYPEDEF		@tag_AMD6_34

IDSPRITEHEADER		EQU		054525053h
SPRITE_VERSION		EQU		3t
SPR_VP_PARALLEL_UPRIGHT		EQU		0t
SPR_FACING_UPRIGHT		EQU		1t
SPR_VP_PARALLEL		EQU		2t
SPR_ORIENTED		EQU		3t
SPR_VP_PARALLEL_ORIENTED		EQU		4t
SPR_ORIENTED_CROSS		EQU		5t
SPR_ORIENTED_STAR		EQU		6t
SPRITE_WORLDLIT		EQU		000000001h
SPRITE_OVERBRIGHT		EQU		000000002h
SPRITE_HASBASE		EQU		000000004h
SPRITE_MODULATE		EQU		000000008h
@tag_AMD6_35		STRUCT 1t
AMD_width		SDWORD		?
height		SDWORD		?
origin_x		SDWORD		?
origin_y		SDWORD		?
alpha		REAL4		?
AMD_name		SBYTE		64t DUP (?)
@tag_AMD6_35		ENDS

dsprframe_t		TYPEDEF		@tag_AMD6_35

@tag_AMD6_36		STRUCT 1t
ident		SDWORD		?
version		SDWORD		?
numframes		SDWORD		?
scale		REAL4		?
AMD_type		SDWORD		?
flags		SDWORD		?
twosided		qboolean		?
base		dsprframe_t		<>
frames		dsprframe_t		1t DUP (<>)
@tag_AMD6_36		ENDS

dsprite_t		TYPEDEF		@tag_AMD6_36

MIPLEVELS		EQU		4t
@tag_AMD6_miptex_s		STRUCT 1t
AMD_name		SBYTE		32t DUP (?)
AMD_width		DWORD		?
height		DWORD		?
offsets		DWORD		4t DUP (?)
animname		SBYTE		32t DUP (?)
flags		SDWORD		?
contents		SDWORD		?
value		SDWORD		?
@tag_AMD6_miptex_s		ENDS

miptex_t		TYPEDEF		@tag_AMD6_miptex_s

SIN_PALETTE_SIZE		EQU		000000400h
@tag_AMD6_sinmiptex_s		STRUCT 1t
AMD_name		SBYTE		64t DUP (?)
AMD_width		DWORD		?
height		DWORD		?
palette		BYTE		1024t DUP (?)
palcrc		WORD		?
offsets		DWORD		4t DUP (?)
animname		SBYTE		64t DUP (?)
flags		DWORD		?
contents		DWORD		?
value		WORD		?
direct		WORD		?
animtime		REAL4		?
nonlit		REAL4		?
directangle		WORD		?
trans_angle		WORD		?
directstyle		REAL4		?
translucence		REAL4		?
friction		REAL4		?
restitution		REAL4		?
trans_mag		REAL4		?
color		REAL4		3t DUP (?)
@tag_AMD6_sinmiptex_s		ENDS

sinmiptex_t		TYPEDEF		@tag_AMD6_sinmiptex_s

SINBSPHEADER		EQU		050534252h
BSPVERSION		EQU		1t
MAX_MAP_MODELS		EQU		1024t
MAX_MAP_BRUSHES		EQU		8192t
MAX_MAP_ENTITIES		EQU		2048t
MAX_MAP_ENTSTRING		EQU		000040000h
MAX_MAP_TEXINFO		EQU		8192t
MAX_MAP_LIGHTINFO		EQU		8192t
MAX_MAP_AREAS		EQU		256t
MAX_MAP_AREAPORTALS		EQU		1024t
MAX_MAP_PLANES		EQU		65536t
MAX_MAP_NODES		EQU		65536t
MAX_MAP_BRUSHSIDES		EQU		65536t
MAX_MAP_LEAFS		EQU		65536t
MAX_MAP_VERTS		EQU		65536t
MAX_MAP_FACES		EQU		65536t
MAX_MAP_LEAFFACES		EQU		65536t
MAX_MAP_LEAFBRUSHES		EQU		65536t
MAX_MAP_PORTALS		EQU		65536t
MAX_MAP_EDGES		EQU		128000t
MAX_MAP_SURFEDGES		EQU		256000t
MAX_MAP_LIGHTING		EQU		000300000h
MAX_MAP_VISIBILITY		EQU		000280000h
MAX_KEY		EQU		32t
MAX_VALUE		EQU		1024t
@tag_AMD6_37		STRUCT 1t
fileofs		SDWORD		?
filelen		SDWORD		?
@tag_AMD6_37		ENDS

lump_t		TYPEDEF		@tag_AMD6_37

LUMP_ENTITIES		EQU		0t
LUMP_PLANES		EQU		1t
LUMP_VERTEXES		EQU		2t
LUMP_VISIBILITY		EQU		3t
LUMP_NODES		EQU		4t
LUMP_TEXINFO		EQU		5t
LUMP_FACES		EQU		6t
LUMP_LIGHTING		EQU		7t
LUMP_LEAFS		EQU		8t
LUMP_LEAFFACES		EQU		9t
LUMP_LEAFBRUSHES		EQU		10t
LUMP_EDGES		EQU		11t
LUMP_SURFEDGES		EQU		12t
LUMP_MODELS		EQU		13t
LUMP_BRUSHES		EQU		14t
LUMP_BRUSHSIDES		EQU		15t
LUMP_POP		EQU		16t
LUMP_AREAS		EQU		17t
LUMP_AREAPORTALS		EQU		18t
LUMP_LIGHTINFO		EQU		19t
HEADER_LUMPS		EQU		20t
@tag_AMD6_38		STRUCT 1t
ident		SDWORD		?
version		SDWORD		?
lumps		lump_t		20t DUP (<>)
@tag_AMD6_38		ENDS

dheader_t		TYPEDEF		@tag_AMD6_38

@tag_AMD6_39		STRUCT 1t
mins		REAL4		3t DUP (?)
maxs		REAL4		3t DUP (?)
origin		REAL4		3t DUP (?)
headnode		SDWORD		?
firstface		SDWORD		?
numfaces		SDWORD		?
@tag_AMD6_39		ENDS

dmodel_t		TYPEDEF		@tag_AMD6_39

@tag_AMD6_40		STRUCT 1t
point		REAL4		3t DUP (?)
@tag_AMD6_40		ENDS

dvertex_t		TYPEDEF		@tag_AMD6_40

PLANE_X		EQU		0t
PLANE_Y		EQU		1t
PLANE_Z		EQU		2t
PLANE_ANYX		EQU		3t
PLANE_ANYY		EQU		4t
PLANE_ANYZ		EQU		5t
@tag_AMD6_41		STRUCT 1t
normal		REAL4		3t DUP (?)
dist		REAL4		?
AMD_type		SDWORD		?
@tag_AMD6_41		ENDS

dplane_t		TYPEDEF		@tag_AMD6_41

CONTENTS_SLIME		EQU		16t
SURF_MASKED		EQU		000000002h
SURF_HINT		EQU		000000100h
SURF_SKIP		EQU		000000200h
SURF_MIRROR		EQU		000002000h
SURF_USECOLOR		EQU		000008000h
@tag_AMD6_42		STRUCT 1t
planenum		SDWORD		?
children		SDWORD		2t DUP (?)
mins		SWORD		3t DUP (?)
maxs		SWORD		3t DUP (?)
firstface		WORD		?
numfaces		WORD		?
@tag_AMD6_42		ENDS

dnode_t		TYPEDEF		@tag_AMD6_42

@tag_AMD6_lightvalue_s		STRUCT 1t
value		SDWORD		?
color		vec3_t		3t DUP (?)
direct		REAL4		?
directangle		REAL4		?
directstyle		REAL4		?
directstylename		SBYTE		32t DUP (?)
@tag_AMD6_lightvalue_s		ENDS

lightvalue_t		TYPEDEF		@tag_AMD6_lightvalue_s

@tag_AMD6_texinfo_s		STRUCT 1t
vecs		REAL4		2t DUP (4t DUP (?))
flags		SDWORD		?
texture		SBYTE		64t DUP (?)
nexttexinfo		SDWORD		?
trans_mag		REAL4		?
trans_angle		SDWORD		?
base_angle		SDWORD		?
animtime		REAL4		?
nonlit		REAL4		?
translucence		REAL4		?
friction		REAL4		?
restitution		REAL4		?
color		vec3_t		3t DUP (?)
groupname		SBYTE		32t DUP (?)
@tag_AMD6_texinfo_s		ENDS

texinfo_t		TYPEDEF		@tag_AMD6_texinfo_s

@tag_AMD6_43		STRUCT 1t
v		WORD		2t DUP (?)
@tag_AMD6_43		ENDS

dedge_t		TYPEDEF		@tag_AMD6_43

MAXLIGHTMAPS		EQU		16t
@tag_AMD6_44		STRUCT 1t
planenum		WORD		?
side		SWORD		?
firstedge		SDWORD		?
numedges		SWORD		?
texinfo		SWORD		?
styles		BYTE		16t DUP (?)
lightofs		SDWORD		?
lightinfo		SDWORD		?
@tag_AMD6_44		ENDS

dface_t		TYPEDEF		@tag_AMD6_44

@tag_AMD6_45		STRUCT 1t
contents		SDWORD		?
cluster		SWORD		?
area		SWORD		?
mins		SWORD		3t DUP (?)
maxs		SWORD		3t DUP (?)
firstleafface		WORD		?
numleaffaces		WORD		?
firstleafbrush		WORD		?
numleafbrushes		WORD		?
@tag_AMD6_45		ENDS

dleaf_t		TYPEDEF		@tag_AMD6_45

@tag_AMD6_46		STRUCT 1t
planenum		WORD		?
texinfo		SWORD		?
lightinfo		SDWORD		?
@tag_AMD6_46		ENDS

dbrushside_t		TYPEDEF		@tag_AMD6_46

@tag_AMD6_47		STRUCT 1t
firstside		SDWORD		?
numsides		SDWORD		?
contents		SDWORD		?
@tag_AMD6_47		ENDS

dbrush_t		TYPEDEF		@tag_AMD6_47

ANGLE_UP		EQU		-1t
ANGLE_DOWN		EQU		-2t
DVIS_PVS		EQU		0t
DVIS_PHS		EQU		1t
@tag_AMD6_48		STRUCT 1t
numclusters		SDWORD		?
bitofs		SDWORD		8t DUP (2t DUP (?))
@tag_AMD6_48		ENDS

dvis_t		TYPEDEF		@tag_AMD6_48

@tag_AMD6_49		STRUCT 1t
portalnum		SDWORD		?
otherarea		SDWORD		?
@tag_AMD6_49		ENDS

dareaportal_t		TYPEDEF		@tag_AMD6_49

@tag_AMD6_50		STRUCT 1t
numareaportals		SDWORD		?
firstareaportal		SDWORD		?
@tag_AMD6_50		ENDS

darea_t		TYPEDEF		@tag_AMD6_50

; End of file ..\..\..\utils\common\qfiles.h

ENDIF

