From 1c9284fbad9afa80130be3657497a81bb07c437b Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Wed, 12 Aug 2020 20:59:30 -0400 Subject: [PATCH] Remove functions no longer needed with skincolors[] --- src/k_color.h | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/src/k_color.h b/src/k_color.h index f08b249cf..04e59440e 100644 --- a/src/k_color.h +++ b/src/k_color.h @@ -19,21 +19,6 @@ #define DEFAULT_STARTTRANSCOLOR 96 #define NUM_PALETTE_ENTRIES 256 -/*-------------------------------------------------- - INT32 K_SkincolorToTextColor(UINT8 skincolor); - - Gives you the "text" color (V_ constants) from a skincolor (SKINCOLOR_ constants). - Used primarily by the chat system. - - Input Arguments:- - skincolor - SKINCOLOR_ constant - - Return:- - V_ constant for font coloring ---------------------------------------------------*/ -INT32 K_SkincolorToTextColor(UINT8 skincolor); - - /*-------------------------------------------------- UINT8 K_ColorRelativeLuminance(UINT8 r, UINT8 g, UINT8 b); @@ -82,17 +67,4 @@ void K_RainbowColormap(UINT8 *dest_colormap, UINT8 skincolor); --------------------------------------------------*/ void K_GenerateKartColormap(UINT8 *dest_colormap, INT32 skinnum, UINT8 color); -/*-------------------------------------------------- - UINT8 K_GetKartColorByName(const char *name); - - Finds the corresponding SKINCOLOR_ constant to the string provided. - - Input Arguments:- - name - The name of the color desired. - - Return:- - SKINCOLOR_ constant, SKINCOLOR_NONE if invalid ---------------------------------------------------*/ -UINT8 K_GetKartColorByName(const char *name); - #endif