Lines Matching refs:pcx
381 pcx_t *pcx, pcxbuf;
393 pcx = &pcxbuf;
395 if (pcx->manufacturer != 0x0a
396 || pcx->version != 5
397 || pcx->encoding != 1
398 || pcx->bits_per_pixel != 8
399 || pcx->xmax >= 320
400 || pcx->ymax >= 256)
402 Con_Printf ("Bad pcx file\n");
412 count = (pcx->xmax+1) * (pcx->ymax+1);
415 for (y=0 ; y<=pcx->ymax ; y++)
417 pix = pcx_rgb + 4*y*(pcx->xmax+1);
418 for (x=0 ; x<=pcx->ymax ; )