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 * $Logfile: /Freespace2/code/Graphics/Colors.h $
15 * Functions to deal with colors & alphacolors
18 * Revision 1.3 2004/09/20 01:31:44 theoddone33
21 * Revision 1.2 2002/06/09 04:41:12 relnev
22 * added copyright header
24 * Revision 1.1.1.1 2002/05/03 03:28:12 root
28 * 5 1/14/99 12:48a Dave
29 * Todo list bug fixes. Made a pass at putting briefing icons back into
30 * FRED. Sort of works :(
32 * 4 11/30/98 5:31p Dave
33 * Fixed up Fred support for software mode.
35 * 3 11/30/98 1:07p Dave
36 * 16 bit conversion, first run.
38 * 2 10/07/98 10:52a Dave
41 * 1 10/07/98 10:49a Dave
43 * 2 2/07/98 7:50p John
44 * Added code so that we can use the old blending type of alphacolors if
45 * we want to. Made the stars use them.
47 * 1 6/17/97 12:01p John
55 struct alphacolor_old;
57 void grx_init_alphacolors();
58 void grx_init_color( color *clr, int r, int g, int b );
59 void grx_init_alphacolor( color *clr, int r, int g, int b, int alpha, int type=AC_TYPE_HUD );
60 void grx_set_color( int r, int g, int b );
61 void grx_set_color_fast( color *clr );
62 void grx_get_color( int *r, int *g, int *b );
64 void calc_alphacolor_old(alphacolor_old *ac);