word index[4], plane;\r
byte count, val;\r
\r
- word px,py,i,pla;\r
-\r
/*word w=0;\r
fprintf(stderr, "\nplanarLoadPcx: ");\r
fprintf(stderr, "%u ", w++);*/\r
} while((index[0]+index[1]+index[2]+index[3]) < bufSize);\r
loadPcxpbufPalette(file, &result);\r
fclose(file);\r
-\r
-// //dump value!!\r
-// for(pla=0; pla < 4; pla++) {\r
-// i=0;\r
-// printf("Plane %d\n", pla);\r
-// for(py=0; py < result.height; py++) {\r
-// for(px=0; px < result.pwidth; px++) {\r
-// printf("%02X ", (int) result.plane[pla][i++]);\r
-// }\r
-// printf("\n");\r
-// }\r
-// }\r
// fprintf(stderr, "\n\n%s count=%d index=%d plane=%d\n", filename, count, (dword)(index[0]+index[1]+index[2]+index[3]), pla);\r
// exit(0);\r
return result;\r