]> icculus.org git repositories - taylor/freespace2.git/blob - include/grsoft.h
added copyright header
[taylor/freespace2.git] / include / grsoft.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/GrSoft.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Include file for our software renderer
16  *
17  * $Log$
18  * Revision 1.2  2002/06/09 04:41:13  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  * 3     6/29/99 10:35a Dave
26  * Interface polygon bitmaps! Whee!
27  * 
28  * 2     10/07/98 10:53a Dave
29  * Initial checkin.
30  * 
31  * 1     10/07/98 10:49a Dave
32  * 
33  * 2     3/25/98 8:07p John
34  * Restructured software rendering into two modules; One for windowed
35  * debug mode and one for DirectX fullscreen.   
36  * 
37  * 1     5/12/97 12:14p John
38  *
39  * $NoKeywords: $
40  */
41
42 #ifndef _GRSOFT_H
43 #define _GRSOFT_H
44
45 void gr_soft_init();
46 void gr_soft_cleanup();
47
48
49 // Functions/variables common between grsoft and grdirectdraw
50 extern int Grx_mouse_saved;
51 void grx_save_mouse_area(int x, int y, int w, int h );
52 void grx_restore_mouse_area();
53 void grx_print_screen(char * filename);
54 int gr8_save_screen();
55 void gr8_restore_screen(int id);
56 void gr8_free_screen(int id);
57 void gr8_dump_frame_start(int first_frame, int frames_between_dumps);
58 void gr8_dump_frame();
59 void gr8_dump_frame_stop();
60 void gr8_set_gamma(float gamma);
61
62 // bitmap functions
63 void grx_bitmap(int x, int y);
64 void grx_bitmap_ex(int x, int y, int w, int h, int sx, int sy);
65
66 #endif
67