diff --git a/source/gl_skin.c b/source/gl_skin.c index 6b17633..50ba1e9 100644 --- a/source/gl_skin.c +++ b/source/gl_skin.c @@ -35,6 +35,7 @@ #include "protocol.h" #include "skin.h" #include "sys.h" +#include "texture.h" byte player_8bit_texels[320 * 200]; static byte translate[256]; @@ -191,3 +192,8 @@ Skin_Init_Translation (void) translate32[i] = d_8to24table[i]; } } + +void +Skin_Process (skin_t *skin, tex_t *tex) +{ +} diff --git a/source/quakefs.c b/source/quakefs.c index d307ec4..1848d8f 100644 --- a/source/quakefs.c +++ b/source/quakefs.c @@ -1055,7 +1055,7 @@ COM_Filesystem_Init (void) COM_CreateGameDirectory (fs_basegame->string); // If we're dealing with id1, use qw too - if (!strequal (fs_basegame->string, fs_skinbase->string) == 0) { + if (!strequal (fs_basegame->string, fs_skinbase->string)) { COM_CreateGameDirectory (fs_skinbase->string); } diff --git a/source/skin.c b/source/skin.c index b25ddde..6ff81e7 100644 --- a/source/skin.c +++ b/source/skin.c @@ -167,6 +167,8 @@ Skin_Cache (skin_t *skin) memcpy (out, tex->data, tex->width * tex->height); + Skin_Process (skin, tex); + skin->failedload = false; return out; diff --git a/source/sw_skin.c b/source/sw_skin.c index 0a05961..5972797 100644 --- a/source/sw_skin.c +++ b/source/sw_skin.c @@ -81,3 +81,8 @@ void Skin_Init_Translation (void) { } + +void +Skin_Process (skin_t *skin, struct tex_s *) +{ +}