Reply 20 of 20, by aqrit
aqrit
Offline
Rank
Member
Blood Bowl has *.cel files that look like this:
#pragma pack(1)struct CEL_FILE_HEADER{DWORD dwFileSize;WORD nEntries; // (number of images in this file)};// CEL_FILE_HEADER followed by:// char [nEntries][8] name (text entry)// DWORD [nEntries] Offset to a CEL_INFO_HEADER from end of this liststruct CEL_INFO_HEADER{WORD width;WORD height;WORD a; // ??WORD b; // ??WORD c; // ??WORD d; // ??WORD e; // ??WORD f; // ??WORD g; // ??BYTE color_index[1]; // [width * height]};// color palette was a *.pal file (768 bytes)