rnd-20060727-1-src
[rocksndiamonds.git] / src / libgame / pcx.h
1 /***********************************************************
2 * Artsoft Retro-Game Library                               *
3 *----------------------------------------------------------*
4 * (c) 1994-2002 Artsoft Entertainment                      *
5 *               Holger Schemel                             *
6 *               Detmolder Strasse 189                      *
7 *               33604 Bielefeld                            *
8 *               Germany                                    *
9 *               e-mail: info@artsoft.org                   *
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 #define PCX_OtherError          -6
30
31 /* global PCX error value */
32 extern int errno_pcx;
33
34 Image *Read_PCX_to_Image(char *);
35
36 #endif /* !TARGET_SDL */
37 #endif  /* PCX_H */