From 3dbb5724dbb71d5b598eab94ad64c1a34700ea19 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Mon, 23 Jan 2012 21:40:12 +0900 Subject: [PATCH] Rename Skin_SetColormap_ to Skin_SetupSkin. --- include/QF/skin.h | 2 +- libs/models/gl_skin.c | 2 +- libs/models/glsl_skin.c | 2 +- libs/models/skin.c | 2 +- libs/models/sw_skin.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/QF/skin.h b/include/QF/skin.h index 649839c70..ee5f240d1 100644 --- a/include/QF/skin.h +++ b/include/QF/skin.h @@ -57,7 +57,7 @@ typedef struct skin_s { } skin_t; skin_t *Skin_SetColormap (skin_t *skin, int cmap); -void Skin_SetColormap_ (skin_t *skin, int cmap); +void Skin_SetupSkin (skin_t *skin, int cmap); void Skin_SetTranslation (int cmap, int top, int bottom); void Skin_ProcessTranslation (int cmap, const byte *translation); void Skin_InitTranslations (void); diff --git a/libs/models/gl_skin.c b/libs/models/gl_skin.c index e05f254d1..c67bebceb 100644 --- a/libs/models/gl_skin.c +++ b/libs/models/gl_skin.c @@ -60,7 +60,7 @@ Skin_ProcessTranslation (int cmap, const byte *translation) } void -Skin_SetColormap_ (skin_t *skin, int cmap) +Skin_SetupSkin (skin_t *skin, int cmap) { } diff --git a/libs/models/glsl_skin.c b/libs/models/glsl_skin.c index 001e11842..f834180c3 100644 --- a/libs/models/glsl_skin.c +++ b/libs/models/glsl_skin.c @@ -94,7 +94,7 @@ Skin_ProcessTranslation (int cmap, const byte *translation) } void -Skin_SetColormap_ (skin_t *skin, int cmap) +Skin_SetupSkin (skin_t *skin, int cmap) { if (cmap) skin->auxtex = cmap_tex[cmap - 1]; diff --git a/libs/models/skin.c b/libs/models/skin.c index 7198c1eb3..e84ed1228 100644 --- a/libs/models/skin.c +++ b/libs/models/skin.c @@ -109,7 +109,7 @@ Skin_SetColormap (skin_t *skin, int cmap) } if (cmap) skin->colormap = translations[cmap - 1]; - Skin_SetColormap_ (skin, cmap); + Skin_SetupSkin (skin, cmap); return skin; } diff --git a/libs/models/sw_skin.c b/libs/models/sw_skin.c index f0f1d52d8..a4ea2dba9 100644 --- a/libs/models/sw_skin.c +++ b/libs/models/sw_skin.c @@ -41,7 +41,7 @@ Skin_ProcessTranslation (int cmap, const byte *translation) } void -Skin_SetColormap_ (skin_t *skin, int cmap) +Skin_SetupSkin (skin_t *skin, int cmap) { }