diff --git a/src/refresh/files/pcx.c b/src/refresh/files/pcx.c index 5998e886..f8df92af 100644 --- a/src/refresh/files/pcx.c +++ b/src/refresh/files/pcx.c @@ -138,7 +138,7 @@ LoadPCX(char *origname, byte **pic, byte **palette, int *width, int *height) ri.FS_FreeFile(pcx); } -qboolean +void GetPCXInfo(char *filename, int *width, int *height) { pcx_t *pcx; @@ -148,7 +148,7 @@ GetPCXInfo(char *filename, int *width, int *height) if (!raw) { - return false; + return; } pcx = (pcx_t *)raw; @@ -158,6 +158,6 @@ GetPCXInfo(char *filename, int *width, int *height) ri.FS_FreeFile(raw); - return true; + return; } diff --git a/src/refresh/files/wal.c b/src/refresh/files/wal.c index 77de5a90..657acec8 100644 --- a/src/refresh/files/wal.c +++ b/src/refresh/files/wal.c @@ -67,7 +67,7 @@ LoadWal(char *origname) return image; } -qboolean +void GetWalInfo(char *name, int *width, int *height) { miptex_t *mt; @@ -76,13 +76,14 @@ GetWalInfo(char *name, int *width, int *height) if (!mt) { - return false; + return; } *width = LittleLong(mt->width); *height = LittleLong(mt->height); ri.FS_FreeFile((void *)mt); - return true; + + return; } diff --git a/src/refresh/header/local.h b/src/refresh/header/local.h index 472a8aef..e29fedcb 100644 --- a/src/refresh/header/local.h +++ b/src/refresh/header/local.h @@ -318,8 +318,8 @@ void LoadPCX ( char *filename, byte **pic, byte **palette, int *width, int *heig image_t *LoadWal ( char *name ); void LoadJPG ( char *origname, byte **pic, int *width, int *height ); void LoadTGA ( char *origname, byte **pic, int *width, int *height ); -qboolean GetWalInfo ( char *name, int *width, int *height ); -qboolean GetPCXInfo ( char *filename, int *width, int *height ); +void GetWalInfo ( char *name, int *width, int *height ); +void GetPCXInfo ( char *filename, int *width, int *height ); image_t *R_LoadPic ( char *name, byte *pic, int width, int realwidth, int height, int realheight, imagetype_t type, int bits ); image_t *R_FindImage ( char *name, imagetype_t type ); void R_TextureMode ( char *string );