rd_graphic.h 422 B

123456789101112
  1. // Copyright (c) 1993-2011 PrBoom developers (see AUTHORS)
  2. // Licence: GPLv2 or later (see COPYING)
  3. // Convert portable pixmap to Doom format
  4. // convert ppm to doom patch format, with insertion point
  5. size_t ppm_to_patch(void **lumpdata, const char *filename,
  6. int insert_x, int insert_y);
  7. // convert ppm to raw bitmap (for use with flats)
  8. size_t ppm_to_bitmap(void **lumpdata, const char *filename);