; Copyright 1992-1993 Silicon Graphics, Inc. All Rights Reserved.
; Transformed to this form by Sergey Chaban
; (C) hardCode 1999-2000
; http://bizarrecreations.webjump.com
; e-mail: soul_cat@mindless.com


IFNDEF _GLU_ASMDEF_
_GLU_ASMDEF_=1

include gl.def


;/* Extensions */
GLU_EXT_object_space_tess	EQU		1
GLU_EXT_nurbs_tessellator	EQU		1

;/* Boolean */
GLU_FALSE			EQU		0
GLU_TRUE			EQU		1

;/* Version */
GLU_VERSION_1_1			EQU		1
GLU_VERSION_1_2			EQU		1

;/* StringName */
GLU_VERSION			EQU		100800t
GLU_EXTENSIONS			EQU		100801t

;/* ErrorCode */
GLU_INVALID_ENUM		EQU		100900t
GLU_INVALID_VALUE		EQU		100901t
GLU_OUT_OF_MEMORY		EQU		100902t
GLU_INCOMPATIBLE_GL_VERSION	EQU		100903t
GLU_INVALID_OPERATION		EQU		100904t

;/* NurbsDisplay */
;GLU_FILL
GLU_OUTLINE_POLYGON		EQU		100240t
GLU_OUTLINE_PATCH		EQU		100241t

;/* NurbsCallback */
GLU_ERROR			EQU		100103t

;/* NurbsError */
GLU_NURBS_ERROR1		EQU		100251t
GLU_NURBS_ERROR2		EQU		100252t
GLU_NURBS_ERROR3		EQU		100253t
GLU_NURBS_ERROR4		EQU		100254t
GLU_NURBS_ERROR5		EQU		100255t
GLU_NURBS_ERROR6		EQU		100256t
GLU_NURBS_ERROR7		EQU		100257t
GLU_NURBS_ERROR8		EQU		100258t
GLU_NURBS_ERROR9		EQU		100259t
GLU_NURBS_ERROR10		EQU		100260t
GLU_NURBS_ERROR11		EQU		100261t
GLU_NURBS_ERROR12		EQU		100262t
GLU_NURBS_ERROR13		EQU		100263t
GLU_NURBS_ERROR14		EQU		100264t
GLU_NURBS_ERROR15		EQU		100265t
GLU_NURBS_ERROR16		EQU		100266t
GLU_NURBS_ERROR17		EQU		100267t
GLU_NURBS_ERROR18		EQU		100268t
GLU_NURBS_ERROR19		EQU		100269t
GLU_NURBS_ERROR20		EQU		100270t
GLU_NURBS_ERROR21		EQU		100271t
GLU_NURBS_ERROR22		EQU		100272t
GLU_NURBS_ERROR23		EQU		100273t
GLU_NURBS_ERROR24		EQU		100274t
GLU_NURBS_ERROR25		EQU		100275t
GLU_NURBS_ERROR26		EQU		100276t
GLU_NURBS_ERROR27		EQU		100277t
GLU_NURBS_ERROR28		EQU		100278t
GLU_NURBS_ERROR29		EQU		100279t
GLU_NURBS_ERROR30		EQU		100280t
GLU_NURBS_ERROR31		EQU		100281t
GLU_NURBS_ERROR32		EQU		100282t
GLU_NURBS_ERROR33		EQU		100283t
GLU_NURBS_ERROR34		EQU		100284t
GLU_NURBS_ERROR35		EQU		100285t
GLU_NURBS_ERROR36		EQU		100286t
GLU_NURBS_ERROR37		EQU		100287t

;/* NurbsProperty */
GLU_AUTO_LOAD_MATRIX		EQU		100200t
GLU_CULLING			EQU		100201t
GLU_SAMPLING_TOLERANCE		EQU		100203t
GLU_DISPLAY_MODE		EQU		100204t
GLU_PARAMETRIC_TOLERANCE	EQU		100202t
GLU_SAMPLING_METHOD		EQU		100205t
GLU_U_STEP			EQU		100206t
GLU_V_STEP			EQU		100207t

;/* NurbsSampling */
GLU_OBJECT_PARAMETRIC_ERROR_EXT	EQU		100208t
GLU_OBJECT_PATH_LENGTH_EXT	EQU		100209t
GLU_PATH_LENGTH			EQU		100215t
GLU_PARAMETRIC_ERROR		EQU		100216t
GLU_DOMAIN_DISTANCE		EQU		100217t

;/* NurbsTrim */
GLU_MAP1_TRIM_2			EQU		100210t
GLU_MAP1_TRIM_3			EQU		100211t

;/* QuadricDrawStyle */
GLU_POINT			EQU		100010t
GLU_LINE			EQU		100011t
GLU_FILL			EQU		100012t
GLU_SILHOUETTE			EQU		100013t

;/* QuadricCallback */
;GLU_ERROR

;/* QuadricNormal */
GLU_SMOOTH			EQU		100000t
GLU_FLAT			EQU		100001t
GLU_NONE			EQU		100002t

;/* QuadricOrientation */
GLU_OUTSIDE			EQU		100020t
GLU_INSIDE			EQU		100021t

;/* TessCallback */
GLU_TESS_BEGIN			EQU		100100t
GLU_BEGIN			EQU		100100t
GLU_TESS_VERTEX			EQU		100101t
GLU_VERTEX			EQU		100101t
GLU_TESS_END			EQU		100102t
GLU_END				EQU		100102t
GLU_TESS_ERROR			EQU		100103t
GLU_TESS_EDGE_FLAG		EQU		100104t
GLU_EDGE_FLAG			EQU		100104t
GLU_TESS_COMBINE		EQU		100105t
GLU_TESS_BEGIN_DATA		EQU		100106t
GLU_TESS_VERTEX_DATA		EQU		100107t
GLU_TESS_END_DATA		EQU		100108t
GLU_TESS_ERROR_DATA		EQU		100109t
GLU_TESS_EDGE_FLAG_DATA		EQU		100110t
GLU_TESS_COMBINE_DATA		EQU		100111t
GLU_NURBS_MODE_EXT		EQU		100160t
GLU_NURBS_TESSELLATOR_EXT	EQU		100161t
GLU_NURBS_RENDERER_EXT		EQU		100162t
GLU_NURBS_BEGIN_EXT		EQU		100164t
GLU_NURBS_VERTEX_EXT		EQU		100165t
GLU_NURBS_NORMAL_EXT		EQU		100166t
GLU_NURBS_COLOR_EXT		EQU		100167t
GLU_NURBS_TEX_COORD_EXT		EQU		100168t
GLU_NURBS_END_EXT		EQU		100169t
GLU_NURBS_BEGIN_DATA_EXT	EQU		100170t
GLU_NURBS_VERTEX_DATA_EXT	EQU		100171t
GLU_NURBS_NORMAL_DATA_EXT	EQU		100172t
GLU_NURBS_COLOR_DATA_EXT	EQU		100173t
GLU_NURBS_TEX_COORD_DATA_EXT	EQU		100174t
GLU_NURBS_END_DATA_EXT		EQU		100175t

;/* TessContour */
GLU_CW				EQU		100120t
GLU_CCW				EQU		100121t
GLU_INTERIOR			EQU		100122t
GLU_EXTERIOR			EQU		100123t
GLU_UNKNOWN			EQU		100124t

;/* TessProperty */
GLU_TESS_WINDING_RULE		EQU		100140t
GLU_TESS_BOUNDARY_ONLY		EQU		100141t
GLU_TESS_TOLERANCE		EQU		100142t

;/* TessError */
GLU_TESS_ERROR1			EQU		100151t
GLU_TESS_ERROR2			EQU		100152t
GLU_TESS_ERROR3			EQU		100153t
GLU_TESS_ERROR4			EQU		100154t
GLU_TESS_ERROR5			EQU		100155t
GLU_TESS_ERROR6			EQU		100156t
GLU_TESS_ERROR7			EQU		100157t
GLU_TESS_ERROR8			EQU		100158t
GLU_TESS_MISSING_BEGIN_POLYGON	EQU		100151t
GLU_TESS_MISSING_BEGIN_CONTOUR	EQU		100152t
GLU_TESS_MISSING_END_POLYGON	EQU		100153t
GLU_TESS_MISSING_END_CONTOUR	EQU		100154t
GLU_TESS_COORD_TOO_LARGE	EQU		100155t
GLU_TESS_NEED_COMBINE_CALLBACK	EQU		100156t

;/* TessWinding */
GLU_TESS_WINDING_ODD		EQU		100130t
GLU_TESS_WINDING_NONZERO	EQU		100131t
GLU_TESS_WINDING_POSITIVE	EQU		100132t
GLU_TESS_WINDING_NEGATIVE	EQU		100133t
GLU_TESS_WINDING_ABS_GEQ_TWO	EQU		100134t



;***********PROTOs for glu.lib

gluBeginCurve PROTO :DWORD
gluBeginPolygon PROTO :DWORD
gluBeginSurface PROTO :DWORD
gluBeginTrim PROTO :DWORD
gluBuild1DMipmaps PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluBuild2DMipmaps PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluCylinder PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluDeleteNurbsRenderer PROTO :DWORD
gluDeleteQuadric PROTO :DWORD
gluDeleteTess PROTO :DWORD
gluDisk PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluEndCurve PROTO :DWORD
gluEndPolygon PROTO :DWORD
gluEndSurface PROTO :DWORD
gluEndTrim PROTO :DWORD
gluErrorString PROTO :DWORD
gluErrorUnicodeStringEXT PROTO :DWORD
gluGetNurbsProperty PROTO :DWORD,:DWORD,:DWORD
gluGetString PROTO :DWORD
gluGetTessProperty PROTO :DWORD,:DWORD,:DWORD
gluLoadSamplingMatrices PROTO :DWORD,:DWORD,:DWORD,:DWORD
gluLookAt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluNewNurbsRenderer PROTO
gluNewQuadric PROTO
gluNewTess PROTO
gluNextContour PROTO :DWORD,:DWORD
gluNurbsCallback PROTO :DWORD,:DWORD,:DWORD
gluNurbsCurve PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluNurbsProperty PROTO :DWORD,:DWORD,:DWORD
gluNurbsSurface PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluOrtho2D PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluPartialDisk PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluPerspective PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluPickMatrix PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluProject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluPwlCurve PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluQuadricCallback PROTO :DWORD,:DWORD,:DWORD
gluQuadricDrawStyle PROTO :DWORD,:DWORD
gluQuadricNormals PROTO :DWORD,:DWORD
gluQuadricOrientation PROTO :DWORD,:DWORD
gluQuadricTexture PROTO :DWORD,:DWORD
gluScaleImage PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluSphere PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluTessBeginContour PROTO :DWORD
gluTessBeginPolygon PROTO :DWORD,:DWORD
gluTessCallback PROTO :DWORD,:DWORD,:DWORD
gluTessEndContour PROTO :DWORD
gluTessEndPolygon PROTO :DWORD
gluTessNormal PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
gluTessProperty PROTO :DWORD,:DWORD,:DWORD,:DWORD
gluTessVertex PROTO :DWORD,:DWORD,:DWORD
gluUnProject PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD


;*****************************************************************
include glMacros/glu.mac
;*****************************************************************


ENDIF ;//_GLU_ASMDEF_
