2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 #include "alphacolors.h"
12 // -----------------------------------------------------------------------------------
16 color Color_black, Color_grey, Color_blue, Color_bright_blue, Color_violet_gray;
17 color Color_green, Color_bright_green, Color_bright_white, Color_white;
18 color Color_red, Color_bright_red, Color_yellow, Color_bright_yellow, Color_dim_red;
19 color Color_ui_light_green, Color_ui_green;
20 color Color_ui_light_pink, Color_ui_pink;
23 color *Color_netplayer[12] = {
39 // -----------------------------------------------------------------------------------
43 // initialize all alpha colors (call at startup)
44 void alpha_colors_init()
46 // See the variable declarations above for color usage
47 gr_init_alphacolor( &Color_blue, 93, 93, 128, 255, AC_TYPE_HUD );
48 gr_init_alphacolor( &Color_bright_blue, 185, 185, 255, 255, AC_TYPE_HUD );
50 gr_init_alphacolor( &Color_green, 0, 120, 0, 255, AC_TYPE_HUD );
51 gr_init_alphacolor( &Color_bright_green, 50, 190, 50, 255, AC_TYPE_HUD );
53 gr_init_alphacolor( &Color_black, 0, 0, 0, 255, AC_TYPE_HUD );
54 gr_init_alphacolor( &Color_grey, 50, 50, 50, 255, AC_TYPE_HUD );
56 gr_init_alphacolor( &Color_white, 185, 185, 185, 255, AC_TYPE_HUD );
58 gr_init_alphacolor( &Color_white, 105, 105, 105, 255, AC_TYPE_HUD );
60 gr_init_alphacolor( &Color_bright_white, 255, 255, 255, 255, AC_TYPE_HUD );
62 gr_init_alphacolor( &Color_violet_gray, 160, 144, 160, 255, AC_TYPE_HUD );
64 gr_init_alphacolor( &Color_dim_red, 80, 6, 6, 255, AC_TYPE_HUD );
65 gr_init_alphacolor( &Color_red, 126, 6, 6, 255, AC_TYPE_HUD );
66 gr_init_alphacolor( &Color_bright_red, 200, 0, 0, 255, AC_TYPE_HUD );
68 gr_init_alphacolor( &Color_yellow, 113, 184, 124, 255, AC_TYPE_HUD );
69 gr_init_alphacolor( &Color_bright_yellow, 162, 210, 162, 255, AC_TYPE_HUD );
71 gr_init_alphacolor( &Color_ui_light_green, 161, 184, 161, 255, AC_TYPE_HUD );
72 gr_init_alphacolor( &Color_ui_green, 190, 228, 190, 255, AC_TYPE_HUD );
74 gr_init_alphacolor( &Color_ui_light_pink, 184, 161, 161, 255, AC_TYPE_HUD );
75 gr_init_alphacolor( &Color_ui_pink, 228, 190, 190, 255, AC_TYPE_HUD );