/************************************************************************************
	GLOVER PSX	(c) 1998-9 ISL

	varaible.c:		all variables, for '4k aligned' files
************************************************************************************/

#include "glover.h"

/***********  LSCAPE.C  *************************************/
long *transVerts;
long *transDepths;

long *transSubVerts;
long *transSubDepths;
SPRITEX *pWaterSprites=NULL;
SUBDIVCTRL	SubDivCtrl;

UBYTE clipped[1024];


VERT		newVerts[10];	// verts created for sub div'ed polys
UVCHAR	uv[5];
UVCHAR4	uvStart[4];
RGBCHAR	rgbNew[5];
USHORT	tpage0;
USHORT	clut0;

ULONG	waterFrame;
LONG	divideFlag;

int lscapeFogStartZ = 2900;
int lscapeFogEndZ	= 3500;
int lscapeFogFlatZ	= 4800;
int lscapeFogSpan, lscapeFogSpanShift;

int world_base_y;

RGBCD  	lscapeFogColour={0,0,0,GPU_COM_F4};
VERT pBBox[9];// last one is a dummy

/*************************************************************/