;****************************************************************************
;*
;* VISEXTRN.INC
;*
;* EXTRNs required for visual data.
;*
;* 12.02.1991 - KJB
;*
;****************************************************************************

		EXTRN	V_VIEW:WORD

		EXTRN	ViewRotateMode:WORD

		EXTRN	ZScaled:WORD

		EXTRN	V_SinH:WORD,V_CosH:WORD
		EXTRN	V_SinP:WORD,V_CosP:WORD
		EXTRN	V_SinR:WORD,V_CosR:WORD

		EXTRN	A1:WORD,A2:WORD,A3:WORD
		EXTRN	A4:WORD,A5:WORD,A6:WORD
		EXTRN	A7:WORD,A8:WORD,A9:WORD

		EXTRN	B1:WORD,B2:WORD,B3:WORD
		EXTRN	B4:WORD,B5:WORD,B6:WORD
		EXTRN	B7:WORD,B8:WORD,B9:WORD

		EXTRN	C1:WORD,C2:WORD,C3:WORD
		EXTRN	C4:WORD,C5:WORD,C6:WORD
		EXTRN	C7:WORD,C8:WORD,C9:WORD

		EXTRN	D1:WORD,D2:WORD,D3:WORD
		EXTRN	D4:WORD,D5:WORD,D6:WORD
		EXTRN	D7:WORD,D8:WORD,D9:WORD

		EXTRN	XSX:WORD,XSY:WORD,XSZ:WORD
		EXTRN	YSX:WORD,YSY:WORD,YSZ:WORD
		EXTRN	ZSX:WORD,ZSY:WORD,ZSZ:WORD

		EXTRN	XGX:WORD,XGY:WORD,XGZ:WORD
		EXTRN	YGX:WORD,YGY:WORD,YGZ:WORD
		EXTRN	ZGX:WORD,ZGY:WORD,ZGZ:WORD

		EXTRN	R_XGX:WORD,R_XGY:WORD,R_XGZ:WORD
		EXTRN	R_YGX:WORD,R_YGY:WORD,R_YGZ:WORD
		EXTRN	R_ZGX:WORD,R_ZGY:WORD,R_ZGZ:WORD

		EXTRN	XGridSize:WORD
		EXTRN	YGridSize:WORD
		EXTRN	ZGridSize:WORD

		EXTRN	ObjScaleConvert:BYTE

		EXTRN	XGrid1:WORD,YGrid1:WORD
		EXTRN	XRel1:WORD,YRel1:WORD,ZRel1:WORD
		EXTRN	XE01:WORD,YE01:WORD,ZE01:WORD
		EXTRN	XE01_2:WORD,YE01_2:WORD,ZE01_2:WORD
		EXTRN	XE01_4:WORD,YE01_4:WORD,ZE01_4:WORD
		EXTRN	XE01_8:WORD,YE01_8:WORD,ZE01_8:WORD
		EXTRN	XE01_16:WORD,YE01_16:WORD,ZE01_16:WORD
		EXTRN	XPos1:WORD,YPos1:WORD,ZPos1:WORD
		EXTRN	Valid1_2:BYTE,Valid1_4:BYTE,Valid1_8:BYTE,Valid1_16:BYTE

		EXTRN	XGrid2:WORD,YGrid2:WORD
		EXTRN	XRel2:WORD,YRel2:WORD,ZRel2:WORD
		EXTRN	XE02:WORD,YE02:WORD,ZE02:WORD
		EXTRN	XPos2:WORD,YPos2:WORD,ZPos2:WORD

		EXTRN	XGrid8:WORD,YGrid8:WORD
		EXTRN	XRel8:WORD,YRel8:WORD,ZRel8:WORD
		EXTRN	XE08:WORD,YE08:WORD,ZE08:WORD
		EXTRN	XPos8:WORD,YPos8:WORD,ZPos8:WORD

		EXTRN	XGrid16:WORD,YGrid16:WORD
		EXTRN	XRel16:WORD,YRel16:WORD,ZRel16:WORD
		EXTRN	XE016:WORD,YE016:WORD,ZE016:WORD
		EXTRN	XPos16:WORD,YPos16:WORD,ZPos16:WORD

		EXTRN	XPos:WORD,YPos:WORD,ZPos:WORD

		EXTRN	Xe:WORD,Ye:WORD,Ze:WORD

		EXTRN	XCrt:WORD
		EXTRN	YCrt:BYTE
		EXTRN	OutCode:BYTE
		EXTRN	CrtBuffer:WORD
		EXTRN	CrtBufPtr:WORD

		EXTRN	Colours:WORD
		EXTRN	Col1:BYTE
		EXTRN	Col2:BYTE

		EXTRN	StndPoly4:BYTE
		EXTRN	StndPoly3:BYTE

		EXTRN	ObjectBuffer:WORD
		EXTRN	ObjectBufEnd:WORD
		EXTRN	ObjectBufPtr:WORD
		EXTRN	ObjectDist1:WORD
		EXTRN	ObjectDist2:WORD
		EXTRN	ObjectDist3:WORD
		EXTRN	FarObjectDist:WORD

		EXTRN	SctrScaleMode:WORD
		EXTRN	MapIndex:WORD
		EXTRN	XSecScan:WORD
		EXTRN	YSecScan:WORD
		EXTRN	NoMansLand:BYTE
		EXTRN	NumVisSctrs:WORD
		EXTRN	SctrScaleFactor:WORD
		EXTRN	SctrScaleYPos:WORD
		EXTRN	SecScanCnt1:WORD
		EXTRN	SecScanOff1:WORD
		EXTRN	SecScanCnt2:WORD
		EXTRN	SecScanOff2:WORD

		EXTRN	CopyBuffer:BYTE
		EXTRN	Cyclic:BYTE
		EXTRN	ObjAnimFlags:BYTE
		EXTRN	FlatObject:WORD

		EXTRN	MobSortPtr:WORD
		EXTRN	MobSortBins:WORD
		EXTRN	NumMobiles:WORD

