Colorf

Back to the Game FIles

colorf.fnt
The file colorf.fnt contains 172 font characters. Each font character has a size of 8x8 pixels and can use the full 16 color EGA palette. This font is used to draw the user interface of wasteland. It does not only contain the characters to draw the red and blue buttons and the time in the upper right corner. It also contains characters which draw the frames around the character list and the map. Even the Wasteland logo and the geiger counter is drawn with these characters. So this file has nothing to do with the font which is used to output the normal white text on black background. I think for this a standard EGA font is used and the text is printed directly with a DOS or BIOS interrupt.

Like the curs file the pixels of the characters are separated into its red, green, blue and intensity bits. So the first 8 bytes in the file are the 8 lines of red component bits of the first character. The next 8 bytes are the green component bits, then comes 8 bytes of blue component bits and finally 8 bytes of intensity component bits. After this comes the next character and so on.



Technical info
colorf.fnt is 5504 bytes (1580h) in size, and is loaded into Seg003:B4E0. No encryption seems to be used.