]> icculus.org git repositories - taylor/freespace2.git/blob - include/colors.h
added copyright header
[taylor/freespace2.git] / include / colors.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
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
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/Graphics/Colors.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Functions to deal with colors & alphacolors
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:12  relnev
19  * added copyright header
20  *
21  * Revision 1.1.1.1  2002/05/03 03:28:12  root
22  * Initial import.
23  *
24  * 
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 :(
28  * 
29  * 4     11/30/98 5:31p Dave
30  * Fixed up Fred support for software mode.
31  * 
32  * 3     11/30/98 1:07p Dave
33  * 16 bit conversion, first run.
34  * 
35  * 2     10/07/98 10:52a Dave
36  * Initial checkin.
37  * 
38  * 1     10/07/98 10:49a Dave
39  * 
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.
43  * 
44  * 1     6/17/97 12:01p John
45  *
46  * $NoKeywords: $
47  */
48
49 #ifndef _COLORS_H
50 #define _COLORS_H
51
52 struct alphacolor_old;
53
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 );
60
61 void calc_alphacolor_old(alphacolor_old *ac);
62
63 #endif
64