00001 00002 #ifndef SHADOW_H 00003 #define SHADOW_H 00004 00005 // macros 00006 00007 typedef struct { 00008 VEC Pos; 00009 float tu, tv; 00010 } SHADOW_VERT; 00011 00012 // prototypes 00013 00014 extern void DrawShadow(VEC *p0, VEC *p1, VEC *p2, VEC *p3, REAL tu, REAL tv, REAL twidth, REAL theight, long rgb, REAL yoff, REAL maxy, long semi, long tpage, BOUNDING_BOX *box); 00015 extern void ClipShadowEdge(SHADOW_VERT *sv0, SHADOW_VERT *sv1, float mul, SHADOW_VERT *svout); 00016 00017 #endif