Lines Matching defs:tmax
76 int smax, tmax;
80 tmax = (surf->extents[1]>>4)+1;
109 for (t = 0 ; t<tmax ; t++)
140 int smax, tmax;
151 tmax = (surf->extents[1]>>4)+1;
152 size = smax*tmax;
190 for (i=0 ; i<tmax ; i++, dest += stride)
207 for (i=0 ; i<tmax ; i++, dest += stride)
790 int smax, tmax;
846 tmax = (fa->extents[1]>>4)+1;
849 if ((theRect->h + theRect->t) < (fa->light_t + tmax))
850 theRect->h = (fa->light_t-theRect->t)+tmax;
869 int smax, tmax;
904 tmax = (fa->extents[1]>>4)+1;
907 if ((theRect->h + theRect->t) < (fa->light_t + tmax))
908 theRect->h = (fa->light_t-theRect->t)+tmax;
1600 int smax, tmax;
1607 tmax = (surf->extents[1]>>4)+1;
1609 surf->lightmaptexturenum = AllocBlock (smax, tmax, &surf->light_s, &surf->light_t);