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