vec3_t Gas[9] =
{
	{0.4 ,0.7 ,0.1 },
	{0.2 ,0.1 ,0.75},
	{0.7 ,0.9 ,0.2 },
	{0.2 ,0.3 ,0.4 },
	{0.1 ,0.2 ,0.54},
	{0.7 ,0.3 ,0.68},
	{0.8 ,0.6 ,0.2 },
	{0.4 ,0.6 ,0.3 },
	{0.34,0.7 ,0.94}
};


void CG_GasView (void)
{
	short number;
	int i;

	number=(int)(random()*10)%9;
	for (i=0; i<3; i++)
	{
		cg.Gas[i][0]=Gas[i][number];
		cg.GasViewOffset[1][i]=(float)((int)(random()*1000)%400-200)/10;

		if (cg.Gas[i][0] >= cg.Gas[i][1]) 
			cg.Gas[i][1] +=.1;
		else
			cg.Gas[i][1] -=.1;

		cg.refdef.blend[i] = cg.Gas[i][1];
	}

	cg.GasFOV[0]=(int)(random()*1000)%100+41;
	
	if (cg.GasFOV[0] >= cg.GasFOV[1])
		cg.GasFOV[1] +=1;
	else
		cg.GasFOV[1] -=1;

	if (cg.GasFOV[1]< 1)
		cg.GasFOV[1] =1;
	if (cg.GasFOV[1]>180)
		cg.GasFOV[1]=180;

	cg.refdef.fov_x = cg.GasFOV[1];

}