Lines Matching defs:base
229 Returns the proper texture for a given time and base texture
232 texture_t *R_TextureAnimation (texture_t *base)
239 if (base->alternate_anims)
240 base = base->alternate_anims;
243 if (!base->anim_total)
244 return base;
246 reletive = (int)(cl.time*10) % base->anim_total;
249 while (base->anim_min > reletive || base->anim_max <= reletive)
251 base = base->anim_next;
252 if (!base)
258 return base;
787 byte *base;
851 base = lightmaps + fa->lightmaptexturenum*lightmap_bytes*BLOCK_WIDTH*BLOCK_HEIGHT;
852 base += fa->light_t * BLOCK_WIDTH * lightmap_bytes + fa->light_s * lightmap_bytes;
853 R_BuildLightMap (fa, base, BLOCK_WIDTH*lightmap_bytes);
866 byte *base;
909 base = lightmaps + fa->lightmaptexturenum*lightmap_bytes*BLOCK_WIDTH*BLOCK_HEIGHT;
910 base += fa->light_t * BLOCK_WIDTH * lightmap_bytes + fa->light_s * lightmap_bytes;
911 R_BuildLightMap (fa, base, BLOCK_WIDTH*lightmap_bytes);
1601 byte *base;
1610 base = lightmaps + surf->lightmaptexturenum*lightmap_bytes*BLOCK_WIDTH*BLOCK_HEIGHT;
1611 base += (surf->light_t * BLOCK_WIDTH + surf->light_s) * lightmap_bytes;
1612 R_BuildLightMap (surf, base, BLOCK_WIDTH*lightmap_bytes);