75
|
1 #ifndef INCLUDED_SPAN_PACK
|
|
2 #define INCLUDED_SPAN_PACK
|
68
|
3
|
|
4 typedef struct Span {
|
|
5 long *tex_addr, tex_width, tex_height;
|
|
6 int x, y, length_x;
|
|
7 float start_z, end_z;
|
|
8 float tex_x1, tex_x2, tex_y1, tex_y2;
|
|
9 } SPAN, *SPNA_PTR;
|
|
10
|
|
11 typedef struct SpanPack {
|
|
12 struct SPAN_INFO {
|
|
13 int size;
|
|
14 int light_pos[3];
|
|
15 int light_rgb[3];
|
|
16 } info;
|
77
|
17 SPAN span[70];
|
68
|
18 //SPAN *span;
|
|
19 } SPANPACK, *SPANPACK_PTR;
|
|
20
|
84
|
21 /*
|
68
|
22 typedef struct SpanPackList {
|
109
|
23 int size;
|
|
24 SPANPACK dline[60];
|
|
25 //SPANPACK dline[135];
|
|
26 //SPANPACK *dline;
|
68
|
27 } SPANPACKLIST;
|
84
|
28 */
|
68
|
29
|
|
30 #endif
|