cl_visedict re-write. lerping works MUCH better now, and lerping of torches

should be possible. client should also be microscopicly faster.
This commit is contained in:
Bill Currie 2000-12-20 06:18:55 +00:00
parent 3669d78d1b
commit dd3ea544ce
13 changed files with 202 additions and 194 deletions

View file

@ -901,27 +901,27 @@ R_DrawEntitiesOnList (void)
// LordHavoc: split into 3 loops to simplify state changes
for (i = 0; i < cl_numvisedicts; i++) {
if (cl_visedicts[i].model->type != mod_brush)
if (cl_visedicts[i]->model->type != mod_brush)
continue;
currententity = &cl_visedicts[i];
currententity = cl_visedicts[i];
modelalpha = currententity->alpha;
R_DrawBrushModel (currententity);
}
for (i = 0; i < cl_numvisedicts; i++) {
if (cl_visedicts[i].model->type != mod_alias)
if (cl_visedicts[i]->model->type != mod_alias)
continue;
currententity = &cl_visedicts[i];
currententity = cl_visedicts[i];
modelalpha = currententity->alpha;
R_DrawAliasModel (currententity);
}
for (i = 0; i < cl_numvisedicts; i++) {
if (cl_visedicts[i].model->type != mod_sprite)
if (cl_visedicts[i]->model->type != mod_sprite)
continue;
currententity = &cl_visedicts[i];
currententity = cl_visedicts[i];
modelalpha = currententity->alpha;
R_DrawSpriteModel (currententity);