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/Shade.h $
15 * Header file for Shade.cpp
18 * Revision 1.2 2002/06/09 04:41:14 relnev
19 * added copyright header
21 * Revision 1.1.1.1 2002/05/03 03:28:12 root
25 * 2 10/07/98 10:53a Dave
28 * 1 10/07/98 10:49a Dave
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.
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
43 * 5 11/30/97 12:18p John
44 * added more 24 & 32-bpp primitives
46 * 4 11/18/96 1:48p Allender
47 * added 16 bit version of (very slow) shader
49 * 3 10/26/96 1:40p John
50 * Added some now primitives to the 2d library and
51 * cleaned up some old ones.
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);