]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/bitmap.c
did some cleanings wwww
[16.git] / src / lib / bitmap.c
index 7696cc3475ed303e89dd5014f84ab1c4a7e4e626..1e4a8d5b54ea9b179b17566f3b92aec3db4e8e29 100755 (executable)
 #include <malloc.h>\r
 #include "src/lib/bitmap.h"\r
 \r
+static struct pcxHeader {\r
+       byte id;\r
+       byte version;\r
+       byte encoding;\r
+       byte bpp;\r
+       word xmin;\r
+       word ymin;\r
+       word xmax;\r
+       word ymax;\r
+       word hres;\r
+       word vres;\r
+       byte pal16[48];\r
+       byte res1;\r
+       word bpplane;\r
+       word palType;\r
+       word hScreenSize;\r
+       word vScreenSize;\r
+       byte padding[54];\r
+} head;\r
+\r
 static void loadPcxStage1(FILE *file, bitmap_t *result) {\r
        long bufSize;\r
        int index;\r