1load_pcx(3) Allegro manual load_pcx(3)
2
3
4
6 load_pcx - Loads a PCX bitmap from a file. Allegro game programming
7 library.
8
10 #include <allegro.h>
11
12
13 BITMAP *load_pcx(const char *filename, RGB *pal);
14
16 Loads a 256-color or 24-bit truecolor PCX file.
17
19 Returns a pointer to the bitmap or NULL on error. Remember that you are
20 responsible for destroying the bitmap when you are finished with it to
21 avoid memory leaks.
22
23
25 load_bitmap(3), expackf(3), exscale(3)
26
27
28
29Allegro version 4.2.3 load_pcx(3)