]> icculus.org git repositories - btb/d2x.git/blob - texmap/scanline.h
Changed descriptions
[btb/d2x.git] / texmap / scanline.h
1 /* $Id: scanline.h,v 1.3 2003-02-18 20:15:48 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-1998 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
13 */
14
15 /*
16  *
17  * Prototypes for C versions of texture mapped scanlines.
18  *
19  * Old Log:
20  * Revision 1.2  1995/02/20  18:23:40  john
21  * Added new module for C versions of inner loops.
22  *
23  * Revision 1.1  1995/02/20  17:44:16  john
24  * Initial revision
25  *
26  *
27  */
28
29
30
31 #ifndef _SCANLINE_H
32 #define _SCANLINE_H
33
34 extern void c_tmap_scanline_per();
35 extern void c_tmap_scanline_per_nolight();
36 extern void c_tmap_scanline_lin();
37 extern void c_tmap_scanline_lin_nolight();
38 extern void c_tmap_scanline_flat();
39 extern void c_tmap_scanline_shaded();
40
41 //typedef struct _tmap_scanline_funcs {
42 extern void (*cur_tmap_scanline_per)(void);
43 extern void (*cur_tmap_scanline_per_nolight)(void);
44 extern void (*cur_tmap_scanline_lin)(void);
45 extern void (*cur_tmap_scanline_lin_nolight)(void);
46 extern void (*cur_tmap_scanline_flat)(void);
47 extern void (*cur_tmap_scanline_shaded)(void);
48 //} tmap_scanline_funcs;
49
50 //extern tmap_scanline_funcs tmap_funcs;
51 void select_tmap(char *type);
52
53 #endif
54