]> icculus.org git repositories - taylor/freespace2.git/blob - include/grsoft.h
Initial revision
[taylor/freespace2.git] / include / grsoft.h
1 /*
2  * $Logfile: /Freespace2/code/Graphics/GrSoft.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Include file for our software renderer
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 3     6/29/99 10:35a Dave
15  * Interface polygon bitmaps! Whee!
16  * 
17  * 2     10/07/98 10:53a Dave
18  * Initial checkin.
19  * 
20  * 1     10/07/98 10:49a Dave
21  * 
22  * 2     3/25/98 8:07p John
23  * Restructured software rendering into two modules; One for windowed
24  * debug mode and one for DirectX fullscreen.   
25  * 
26  * 1     5/12/97 12:14p John
27  *
28  * $NoKeywords: $
29  */
30
31 #ifndef _GRSOFT_H
32 #define _GRSOFT_H
33
34 void gr_soft_init();
35 void gr_soft_cleanup();
36
37
38 // Functions/variables common between grsoft and grdirectdraw
39 extern int Grx_mouse_saved;
40 void grx_save_mouse_area(int x, int y, int w, int h );
41 void grx_restore_mouse_area();
42 void grx_print_screen(char * filename);
43 int gr8_save_screen();
44 void gr8_restore_screen(int id);
45 void gr8_free_screen(int id);
46 void gr8_dump_frame_start(int first_frame, int frames_between_dumps);
47 void gr8_dump_frame();
48 void gr8_dump_frame_stop();
49 void gr8_set_gamma(float gamma);
50
51 // bitmap functions
52 void grx_bitmap(int x, int y);
53 void grx_bitmap_ex(int x, int y, int w, int h, int sx, int sy);
54
55 #endif
56