rnd-20000718-1-src
[rocksndiamonds.git] / src / pcx.h
1 /***********************************************************
2 *  Rocks'n'Diamonds -- McDuffin Strikes Back!              *
3 *----------------------------------------------------------*
4 *  (c) 1995-98 Artsoft Entertainment                       *
5 *              Holger Schemel                              *
6 *              Oststrasse 11a                              *
7 *              33604 Bielefeld                             *
8 *              phone: ++49 +521 290471                     *
9 *              email: aeglos@valinor.owl.de                *
10 *----------------------------------------------------------*
11 *  pcx.h                                                   *
12 ***********************************************************/
13
14 #ifndef PCX_H
15 #define PCX_H
16
17 #include "main.h"
18 #include "image.h"
19
20 #define PCX_Success              0
21 #define PCX_OpenFailed          -1
22 #define PCX_ReadFailed          -2
23 #define PCX_FileInvalid         -3
24 #define PCX_NoMemory            -4
25 #define PCX_ColorFailed         -5
26
27 /* global PCX error value */
28 extern int errno_pcx;
29
30 Image *Read_PCX_to_Image(char *);
31
32 #endif  /* PCX_H */