X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fpcx.h;h=45fc251b4ef86495821a0104bf9f7de1805653d9;hb=52189f4b3b797e08699f67880198b585320cf8bf;hp=b1fa1c63ec71fa98084e1d7d96db2f702a39e47f;hpb=182260bf970d56e056a8c0c580ad61302d21ab0f;p=rocksndiamonds.git diff --git a/src/pcx.h b/src/pcx.h index b1fa1c63..45fc251b 100644 --- a/src/pcx.h +++ b/src/pcx.h @@ -14,6 +14,8 @@ #ifndef PCX_H #define PCX_H +#ifndef USE_SDL_LIBRARY + #include "main.h" #include "image.h" @@ -24,6 +26,11 @@ #define PCX_NoMemory -4 #define PCX_ColorFailed -5 +/* global PCX error value */ +extern int errno_pcx; + Image *Read_PCX_to_Image(char *); +#endif /* !USE_SDL_LIBRARY */ + #endif /* PCX_H */