]> icculus.org git repositories - btb/d2x.git/blob - main/texmerge.h
use more traditional Alt+Enter for toggling fullscreen
[btb/d2x.git] / main / texmerge.h
1 /* $Id: texmerge.h,v 1.2 2003-10-10 09:36:35 btb Exp $ */
2 /*
3 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
4 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
5 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
6 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
7 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
8 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
9 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
10 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
11 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
12 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
13 */
14
15 /*
16  *
17  * Definitions for texture merging caching stuff.
18  *
19  * Old Log:
20  * Revision 1.1  1995/05/16  16:04:03  allender
21  * Initial revision
22  *
23  * Revision 2.0  1995/02/27  11:28:05  john
24  * New version 2.0, which has no anonymous unions, builds with
25  * Watcom 10.0, and doesn't require parsing BITMAPS.TBL.
26  *
27  * Revision 1.4  1995/01/14  19:16:26  john
28  * First version of new bitmap paging code.
29  *
30  * Revision 1.3  1994/01/21  15:23:26  john
31  * made texmerge_close return void.
32  *
33  *
34  * Revision 1.2  1994/01/21  15:16:01  john
35  * Created new module texmerge, that merges textures together and
36  * caches the results.
37  *
38  * Revision 1.1  1994/01/21  15:03:36  john
39  * Initial revision
40  *
41  *
42  */
43
44
45 #ifndef _TEXMERGE_H
46 #define _TEXMERGE_H
47
48 int texmerge_init(int num_cached_textures);
49 grs_bitmap *texmerge_get_cached_bitmap(int tmap_bottom, int tmap_top);
50 void texmerge_close();
51 void texmerge_flush();
52
53 #endif /* _TEXMERGE_H */