
option expr32
option casemap:none

IFNDEF	gl_loc1_inc
gl_loc1_inc	EQU		1

; Begin of file ..\gl_loc1.h
GL_COLOR_INDEX8_EXT		TEXTEQU		<GL_COLOR_INDEX>
	INCLUDE	ref.inc

REF_VERSION		TEXTEQU		<"GL 0.01">
@tag_AMD9_61		STRUCT 1t
AMD_width		DWORD		?
height		DWORD		?
@tag_AMD9_61		ENDS

viddef_t		TYPEDEF		@tag_AMD9_61

EXTERNDEF		C vid:viddef_t

it_skin		EQU		0t
it_sprite		EQU		1t
it_wall		EQU		2t
it_pic		EQU		3t
it_sky		EQU		4t
it_lum		EQU		5t
it_decal		EQU		6t

imagetype_t		TYPEDEF		SDWORD

@t_AMD9_62		TYPEDEF		PTR @tag_AMD9_msurface_s
@t_AMD9_63		TYPEDEF		PTR BYTE
@t_AMD9_64		TYPEDEF		PTR BYTE
@tag_AMD9_image_s		STRUCT 1t
AMD_name		SBYTE		64t DUP (?)
AMD_type		imagetype_t		?
AMD_width		SDWORD		?
height		SDWORD		?
upload_width		SDWORD		?
upload_height		SDWORD		?
registration_sequence		SDWORD		?
texturechain		@t_AMD9_62		?
texnum		SDWORD		?
sl		REAL4		?
tl		REAL4		?
sh		REAL4		?
th		REAL4		?
scrap		qboolean		?
has_alpha		qboolean		?
paletted		qboolean		?
palette_sequence		SDWORD		?
paletteCRC		SDWORD		?
palette		@t_AMD9_63		?
decal_data		@t_AMD9_64		?
bilinear		qboolean		?
@tag_AMD9_image_s		ENDS

image_t		TYPEDEF		@tag_AMD9_image_s

TEXNUM_LIGHTMAPS		EQU		1024t
TEXNUM_SCRAPS		EQU		1152t
TEXNUM_IMAGES		EQU		1153t
MAX_GLTEXTURES		EQU		1024t
rserr_ok		EQU		0t
rserr_invalid_fullscreen		EQU		1t
rserr_invalid_mode		EQU		2t
rserr_unknown		EQU		3t

rserr_t		TYPEDEF		SDWORD

; End of file ..\gl_loc1.h

ENDIF

