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