X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fbitmap.c;h=1e4a8d5b54ea9b179b17566f3b92aec3db4e8e29;hb=24760854cf1668b8b0eba2bfaf63ab083da14ea8;hp=7696cc3475ed303e89dd5014f84ab1c4a7e4e626;hpb=2accbf2668001e82a8fec1e75f37c195996186b0;p=16.git diff --git a/src/lib/bitmap.c b/src/lib/bitmap.c index 7696cc34..1e4a8d5b 100755 --- a/src/lib/bitmap.c +++ b/src/lib/bitmap.c @@ -25,6 +25,26 @@ #include #include "src/lib/bitmap.h" +static struct pcxHeader { + byte id; + byte version; + byte encoding; + byte bpp; + word xmin; + word ymin; + word xmax; + word ymax; + word hres; + word vres; + byte pal16[48]; + byte res1; + word bpplane; + word palType; + word hScreenSize; + word vScreenSize; + byte padding[54]; +} head; + static void loadPcxStage1(FILE *file, bitmap_t *result) { long bufSize; int index;