]> icculus.org git repositories - taylor/freespace2.git/blob - include/grglideinternal.h
added copyright header
[taylor/freespace2.git] / include / grglideinternal.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/GrGlideInternal.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * Common include file for Glide modules
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  * 4     7/09/99 9:51a Dave
26  * Added thick polyline code.
27  * 
28  * 3     6/29/99 10:35a Dave
29  * Interface polygon bitmaps! Whee!
30  * 
31  * 2     10/07/98 10:53a Dave
32  * Initial checkin.
33  * 
34  * 1     10/07/98 10:49a Dave
35  * 
36  * 4     5/06/98 11:21p John
37  * Fixed a bitmap bug with Direct3D.  Started adding new caching code into
38  * D3D.
39  * 
40  * 3     4/09/98 4:38p John
41  * Made non-darkening and transparent textures work under Glide.  Fixed
42  * bug with Jim's computer not drawing any bitmaps.
43  * 
44  * 2     4/08/98 8:47a John
45  * Moved all texture caching into a new module
46  * 
47  * 1     3/03/98 4:42p John
48  * Added in Leighton's code to do texture caching on Glide.
49  *
50  * $NoKeywords: $
51  */
52
53 #ifndef _GRGLIDEINTERNAL_H
54 #define _GRGLIDEINTERNAL_H
55
56 #include "grinternal.h"
57
58 void glide_tcache_init();
59 void glide_tcache_cleanup();
60 void glide_tcache_flush();
61 void glide_tcache_frame();
62
63 // Bitmap_type see TCACHE_ defines in GrInternal.h
64 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);
65
66 extern int Glide_textures_in;
67
68 #endif //_GRGLIDEINTERNAL_H
69