Home | History | Annotate | Download | only in jni

Lines Matching defs:base

230 Returns the proper texture for a given time and base texture
233 texture_t *R_TextureAnimation (texture_t *base)
240 if (base->alternate_anims)
241 base = base->alternate_anims;
244 if (!base->anim_total)
245 return base;
247 reletive = (int)(cl.time*10) % base->anim_total;
250 while (base->anim_min > reletive || base->anim_max <= reletive)
252 base = base->anim_next;
253 if (!base)
259 return base;
857 byte *base;
919 base = lightmaps + fa->lightmaptexturenum*lightmap_bytes*BLOCK_WIDTH*BLOCK_HEIGHT;
920 base += fa->light_t * BLOCK_WIDTH * lightmap_bytes + fa->light_s * lightmap_bytes;
921 R_BuildLightMap (fa, base, BLOCK_WIDTH*lightmap_bytes);
935 byte *base;
978 base = lightmaps + fa->lightmaptexturenum*lightmap_bytes*BLOCK_WIDTH*BLOCK_HEIGHT;
979 base += fa->light_t * BLOCK_WIDTH * lightmap_bytes + fa->light_s * lightmap_bytes;
980 R_BuildLightMap (fa, base, BLOCK_WIDTH*lightmap_bytes);
1676 byte *base;
1685 base = lightmaps + surf->lightmaptexturenum*lightmap_bytes*BLOCK_WIDTH*BLOCK_HEIGHT;
1686 base += (surf->light_t * BLOCK_WIDTH + surf->light_s) * lightmap_bytes;
1687 R_BuildLightMap (surf, base, BLOCK_WIDTH*lightmap_bytes);