]> icculus.org git repositories - taylor/freespace2.git/blob - include/colors.h
Initial revision
[taylor/freespace2.git] / include / colors.h
1 /*
2  * $Logfile: /Freespace2/code/Graphics/Colors.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Functions to deal with colors & alphacolors
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 5     1/14/99 12:48a Dave
15  * Todo list bug fixes. Made a pass at putting briefing icons back into
16  * FRED. Sort of works :(
17  * 
18  * 4     11/30/98 5:31p Dave
19  * Fixed up Fred support for software mode.
20  * 
21  * 3     11/30/98 1:07p Dave
22  * 16 bit conversion, first run.
23  * 
24  * 2     10/07/98 10:52a Dave
25  * Initial checkin.
26  * 
27  * 1     10/07/98 10:49a Dave
28  * 
29  * 2     2/07/98 7:50p John
30  * Added code so that we can use the old blending type of alphacolors if
31  * we want to.  Made the stars use them.
32  * 
33  * 1     6/17/97 12:01p John
34  *
35  * $NoKeywords: $
36  */
37
38 #ifndef _COLORS_H
39 #define _COLORS_H
40
41 struct alphacolor_old;
42
43 void grx_init_alphacolors();
44 void grx_init_color( color *clr, int r, int g, int b );
45 void grx_init_alphacolor( color *clr, int r, int g, int b, int alpha, int type );
46 void grx_set_color( int r, int g, int b );
47 void grx_set_color_fast( color *clr );
48 void grx_get_color( int *r, int *g, int *b );
49
50 void calc_alphacolor_old(alphacolor_old *ac);
51
52 #endif
53