Rename Skin_SetColormap_ to Skin_SetupSkin.

This commit is contained in:
Bill Currie 2012-01-23 21:40:12 +09:00
parent 08990ebb5a
commit 3dbb5724db
5 changed files with 5 additions and 5 deletions

View file

@ -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);

View file

@ -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)
{
}

View file

@ -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];

View file

@ -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;
}

View file

@ -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)
{
}