using System;

namespace SharpQuake
{
	internal class msurface_t
	{
		public msurface_t()
		{
			this.texturemins = new short[2];
			this.extents = new short[2];
			this.styles = new byte[4];
			this.cached_light = new int[4];
		}

		public int visframe;

		public mplane_t plane;

		public int flags;

		public int firstedge;

		public int numedges;

		public short[] texturemins;

		public short[] extents;

		public int light_s;

		public int light_t;

		public glpoly_t polys;

		public msurface_t texturechain;

		public mtexinfo_t texinfo;

		public int dlightframe;

		public int dlightbits;

		public int lightmaptexturenum;

		public byte[] styles;

		public int[] cached_light;

		public bool cached_dlight;

		public byte[] sample_base;

		public int sampleofs;
	}
}
