Debian Codegraph @

prboom2/data/rd_graphic.h

raw
1 // Copyright (c) 1993-2011 PrBoom developers (see AUTHORS)
2 // Licence: GPLv2 or later (see COPYING)
3
4 #ifndef RD_GRAPHIC_H
5 #define RD_GRAPHIC_H
6
7 #include <stddef.h>
8
9 // Convert portable pixmap to Doom format
10
11 // convert ppm to doom patch format, with insertion point
12 size_t ppm_to_patch(void **lumpdata, const char *filename,
13 int insert_x, int insert_y);
14
15 // convert ppm to raw bitmap (for use with flats)
16 size_t ppm_to_bitmap(void **lumpdata, const char *filename);
17
18 #endif /* RD_GRAPHIC_H */