rnd-20001203-5-src
[rocksndiamonds.git] / src / libgame / 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 "system.h"
18 #include "image.h"
19
20
21 #if !defined(TARGET_SDL)
22
23 #define PCX_Success              0
24 #define PCX_OpenFailed          -1
25 #define PCX_ReadFailed          -2
26 #define PCX_FileInvalid         -3
27 #define PCX_NoMemory            -4
28 #define PCX_ColorFailed         -5
29
30 /* global PCX error value */
31 extern int errno_pcx;
32
33 Image *Read_PCX_to_Image(char *);
34
35 #endif /* !TARGET_SDL */
36 #endif  /* PCX_H */