]> icculus.org git repositories - btb/d2x.git/blob - main/textures.h
fixes d1 still textures which are animated in d2, refactorizes d1 texture reading
[btb/d2x.git] / main / textures.h
1 /* $Id: textures.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  * Array of textures, and other stuff
18  *
19  * Old Log:
20  * Revision 1.1  1995/05/16  16:04:20  allender
21  * Initial revision
22  *
23  * Revision 2.0  1995/02/27  11:31:54  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.3  1994/03/15  16:32:56  yuan
28  * Cleaned up bm-loading code.
29  * (Fixed structures too)
30  *
31  * Revision 1.2  1993/12/05  22:49:53  matt
32  * Reworked include files in an attempt to cut down on build times
33  *
34  * Revision 1.1  1993/12/05  20:16:26  matt
35  * Initial revision
36  *
37  *
38  */
39
40
41 #ifndef _TEXTURES_H
42 #define _TEXTURES_H
43
44 #include "bm.h"
45 #include "piggy.h"
46
47 // Texture stuff... in mglobal.c
48
49 extern int NumTextures;
50 extern bitmap_index Textures[MAX_TEXTURES]; // Array of all texture tmaps.
51
52 #endif /* _TEXTURES_H */