Aura

Image Loading and Preprocessing (fileload.asm)

_DecodePCX

Decompresses a RLE PCX file in SrcSeg:Src into DestSeg:Dest.

_LoadHMap

Loads, decompresses, and does some preprocessing on the heightmap and texturemap. Calls _CalcLight to calculate lighting values.

_CalcLight

Calculates lighting values for the given heightmap area and puts the results into the lightmap.

_LoadBMP

Reads a 8-bit paletted BMP file into a 32-bit truecolor buffer.

_MixTexMap

Mixes the loaded image into the texture format used by the voxel renderer.

_LoadTEX

Calls _LoadBMP and _MixTexMap to load the texture.