1.1 --- a/src/pvr2/pvr2.h Fri Mar 28 12:32:25 2008 +0000
1.2 +++ b/src/pvr2/pvr2.h Tue Apr 01 08:03:56 2008 +0000
1.4 #define POLY2_COLOUR_CLAMP_ENABLE(poly2) ((poly2)&0x00200000)
1.5 #define POLY2_ALPHA_ENABLE(poly2) ((poly2)&0x00100000)
1.6 #define POLY2_TEX_ALPHA_ENABLE(poly2) (((poly2)&0x00080000) == 0 )
1.7 +#define POLY2_TEX_MIRROR_U(poly2) ((poly2)&0x00040000)
1.8 +#define POLY2_TEX_MIRROR_V(poly2) ((poly2)&0x00020000)
1.9 #define POLY2_TEX_CLAMP_U(poly2) ((poly2)&0x00010000)
1.10 #define POLY2_TEX_CLAMP_V(poly2) ((poly2)&0x00008000)
1.11 #define POLY2_TEX_WIDTH(poly2) ( 1<< ((((poly2) >> 3) & 0x07 ) + 3) )