2 * $Logfile: /Freespace2/code/Graphics/GrGlideInternal.h $
7 * Common include file for Glide modules
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 4 7/09/99 9:51a Dave
15 * Added thick polyline code.
17 * 3 6/29/99 10:35a Dave
18 * Interface polygon bitmaps! Whee!
20 * 2 10/07/98 10:53a Dave
23 * 1 10/07/98 10:49a Dave
25 * 4 5/06/98 11:21p John
26 * Fixed a bitmap bug with Direct3D. Started adding new caching code into
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.
33 * 2 4/08/98 8:47a John
34 * Moved all texture caching into a new module
36 * 1 3/03/98 4:42p John
37 * Added in Leighton's code to do texture caching on Glide.
42 #ifndef _GRGLIDEINTERNAL_H
43 #define _GRGLIDEINTERNAL_H
45 #include "grinternal.h"
47 void glide_tcache_init();
48 void glide_tcache_cleanup();
49 void glide_tcache_flush();
50 void glide_tcache_frame();
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);
55 extern int Glide_textures_in;
57 #endif //_GRGLIDEINTERNAL_H