Mercurial > hg > Game > Cerium
diff old/simple_pack/span_pack.h @ 539:3bc98f6d31ff draft
Reorganization..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 12 Oct 2009 09:39:35 +0900 |
parents | TaskManager/Test/simple_pack/span_pack.h@028ffc9c0375 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/old/simple_pack/span_pack.h Mon Oct 12 09:39:35 2009 +0900 @@ -0,0 +1,30 @@ +#ifndef INCLUDED_SPAN_PACK +#define INCLUDED_SPAN_PACK + +typedef struct Span { + long *tex_addr, tex_width, tex_height; + int x, y, length_x; + float start_z, end_z; + float tex_x1, tex_x2, tex_y1, tex_y2; +} SPAN, *SPNA_PTR; + +typedef struct SpanPack { + struct SPAN_INFO { + int size; + int light_pos[3]; + int light_rgb[3]; + } info; + SPAN span[70]; + //SPAN *span; +} SPANPACK, *SPANPACK_PTR; + +/* +typedef struct SpanPackList { + int size; + SPANPACK dline[60]; + //SPANPACK dline[135]; + //SPANPACK *dline; +} SPANPACKLIST; +*/ + +#endif