]> icculus.org git repositories - taylor/freespace2.git/blob - include/grglideinternal.h
Initial revision
[taylor/freespace2.git] / include / grglideinternal.h
1 /*
2  * $Logfile: /Freespace2/code/Graphics/GrGlideInternal.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * Common include file for Glide modules
8  *
9  * $Log$
10  * Revision 1.1  2002/05/03 03:28:12  root
11  * Initial revision
12  *
13  * 
14  * 4     7/09/99 9:51a Dave
15  * Added thick polyline code.
16  * 
17  * 3     6/29/99 10:35a Dave
18  * Interface polygon bitmaps! Whee!
19  * 
20  * 2     10/07/98 10:53a Dave
21  * Initial checkin.
22  * 
23  * 1     10/07/98 10:49a Dave
24  * 
25  * 4     5/06/98 11:21p John
26  * Fixed a bitmap bug with Direct3D.  Started adding new caching code into
27  * D3D.
28  * 
29  * 3     4/09/98 4:38p John
30  * Made non-darkening and transparent textures work under Glide.  Fixed
31  * bug with Jim's computer not drawing any bitmaps.
32  * 
33  * 2     4/08/98 8:47a John
34  * Moved all texture caching into a new module
35  * 
36  * 1     3/03/98 4:42p John
37  * Added in Leighton's code to do texture caching on Glide.
38  *
39  * $NoKeywords: $
40  */
41
42 #ifndef _GRGLIDEINTERNAL_H
43 #define _GRGLIDEINTERNAL_H
44
45 #include "grinternal.h"
46
47 void glide_tcache_init();
48 void glide_tcache_cleanup();
49 void glide_tcache_flush();
50 void glide_tcache_frame();
51
52 // Bitmap_type see TCACHE_ defines in GrInternal.h
53 int glide_tcache_set(int bitmap_id, int bitmap_type, float *u_ratio, float *v_ratio, int fail_on_full = 0, int sx = -1, int sy = -1, int force = 0);
54
55 extern int Glide_textures_in;
56
57 #endif //_GRGLIDEINTERNAL_H
58