X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Finit.c;h=e19daafde4e658c38b981b711dd60ef64f368108;hp=8e60cfeb3a94b6778d5fa9bc79b922ce8eceb57e;hb=cfd77b3698baacb01dff3853c96d0be117db1d30;hpb=49dab46aa55cb43233c7f9a310593f8bd8debc29 diff --git a/src/init.c b/src/init.c index 8e60cfeb..e19daafd 100644 --- a/src/init.c +++ b/src/init.c @@ -20,8 +20,7 @@ #include "tools.h" #include "files.h" #include "joystick.h" -#include "gfxload.h" -#include "gifload.h" +#include "image.h" #include "network.h" #include "netserv.h" @@ -642,7 +641,7 @@ void LoadGfx(int pos, struct PictureFileInfo *pic) char *picturemask_ext = "Mask.xbm"; #else int gif_err; - char *picture_ext = ".gif"; + char *picture_ext = ".pcx"; #endif #ifdef DEBUG_TIMING @@ -694,7 +693,7 @@ void LoadGfx(int pos, struct PictureFileInfo *pic) #else - gif_err = Read_GIF_to_Pixmaps(display, window, filename, + gif_err = Read_PCX_to_Pixmaps(display, window, filename, &pix[pos], &clipmask[pos]); switch(gif_err)