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.2 2002/06/09 04:41:12 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 5 1/14/99 12:48a Dave
26 * Todo list bug fixes. Made a pass at putting briefing icons back into
27 * FRED. Sort of works :(
29 * 4 11/30/98 5:31p Dave
30 * Fixed up Fred support for software mode.
32 * 3 11/30/98 1:07p Dave
33 * 16 bit conversion, first run.
35 * 2 10/07/98 10:52a Dave
38 * 1 10/07/98 10:49a Dave
40 * 2 2/07/98 7:50p John
41 * Added code so that we can use the old blending type of alphacolors if
42 * we want to. Made the stars use them.
44 * 1 6/17/97 12:01p John
52 struct alphacolor_old;
54 void grx_init_alphacolors();
55 void grx_init_color( color *clr, int r, int g, int b );
56 void grx_init_alphacolor( color *clr, int r, int g, int b, int alpha, int type );
57 void grx_set_color( int r, int g, int b );
58 void grx_set_color_fast( color *clr );
59 void grx_get_color( int *r, int *g, int *b );
61 void calc_alphacolor_old(alphacolor_old *ac);