]> icculus.org git repositories - taylor/freespace2.git/blob - include/shade.h
Initial revision
[taylor/freespace2.git] / include / shade.h
1 /*
2  * $Logfile: /Freespace2/code/Graphics/Shade.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Header file for Shade.cpp
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 2     10/07/98 10:53a Dave
15  * Initial checkin.
16  * 
17  * 1     10/07/98 10:49a Dave
18  * 
19  * 7     3/12/98 5:36p John
20  * Took out any unused shaders.  Made shader code take rgbc instead of
21  * matrix and vector since noone used it like a matrix and it would have
22  * been impossible to do in hardware.   Made Glide implement a basic
23  * shader for online help.  
24  * 
25  * 6     3/10/98 4:19p John
26  * Cleaned up graphics lib.  Took out most unused gr functions.   Made D3D
27  * & Glide have popups and print screen.  Took out all >8bpp software
28  * support.  Made Fred zbuffer.  Made zbuffer allocate dynamically to
29  * support Fred.  Made zbuffering key off of functions rather than one
30  * global variable.
31  * 
32  * 5     11/30/97 12:18p John
33  * added more 24 & 32-bpp primitives
34  * 
35  * 4     11/18/96 1:48p Allender
36  * added 16 bit version of (very slow) shader
37  * 
38  * 3     10/26/96 1:40p John
39  * Added some now primitives to the 2d library and
40  * cleaned up some old ones.
41  *
42  * $NoKeywords: $
43  */
44
45 #ifndef _SHADE_H
46 #define _SHADE_H
47
48 extern void grx_create_shader(shader * shade, float r, float g, float b, float c );
49 extern void grx_set_shader( shader * shade );
50 extern void gr8_shade(int x,int y,int w,int h);
51
52 #endif
53