== Quake 2 WAL ==

These are indexed-colors texture containers. Texture are stored left to right, top to bottom. Each pixel is a UINT8 value, refering to a palette. These files contain the original full-sized texture along with three levels of mipmap (each mipmap being one fourth of the surface of the previous mip level).

CHAR[32]	texName	Texture name
UINT32	texWidth	Texture width in pixels
UINT32	texHeight	Texture height in pixels
UINT32	ofsMip0	Offset of mip map level 0 (original texture)
UINT32	ofsMip1	Offset of mip map level 1 (1:4)
UINT32	ofsMip2	Offset of mip map level 2 (1:16)
UINT32	ofsMip3	Offset of mip map level 3 (1:64)
CHAR[32]	texNext	Filename of the next frame of animation (if any)
UINT32	flgSurf	Surface flags
UINT32	flgCont	Content flags
UINT32	light	Light value

CHAR[]	pIndex	Color index for this pixel