Lines Matching refs:pcx
430 pcx_t *pcx, pcxbuf;
442 pcx = &pcxbuf;
444 if (pcx->manufacturer != 0x0a
445 || pcx->version != 5
446 || pcx->encoding != 1
447 || pcx->bits_per_pixel != 8
448 || pcx->xmax >= 320
449 || pcx->ymax >= 256)
451 Con_Printf ("Bad pcx file\n");
461 count = (pcx->xmax+1) * (pcx->ymax+1);
464 for (y=0 ; y<=pcx->ymax ; y++)
466 pix = pcx_rgb + 4*y*(pcx->xmax+1);
467 for (x=0 ; x<=pcx->ymax ; )